- inline: Lean.Compiler.InlineAttributeKind
- noinline: Lean.Compiler.InlineAttributeKind
- macroInline: Lean.Compiler.InlineAttributeKind
- inlineIfReduce: Lean.Compiler.InlineAttributeKind
- alwaysInline: Lean.Compiler.InlineAttributeKind
Instances For
def
Lean.Compiler.setInlineAttribute
(env : Lean.Environment)
(declName : Lake.Name)
(kind : Lean.Compiler.InlineAttributeKind)
:
Equations
- Lean.Compiler.setInlineAttribute env declName kind = Lean.EnumAttributes.setValue Lean.Compiler.inlineAttrs env declName kind
Instances For
Equations
- Lean.Compiler.getInlineAttribute? env declName = Lean.EnumAttributes.getValue Lean.Compiler.inlineAttrs env declName
Instances For
@[inline, reducible]
Equations
- Lean.Compiler.hasInlineAttribute env declName = Lean.Compiler.hasInlineAttrCore env Lean.Compiler.InlineAttributeKind.inline declName
Instances For
Equations
Instances For
Equations
- Lean.Compiler.hasNoInlineAttribute env declName = Lean.Compiler.hasInlineAttrCore env Lean.Compiler.InlineAttributeKind.noinline declName
Instances For
Equations
- Lean.Compiler.hasMacroInlineAttribute env declName = Lean.Compiler.hasInlineAttrCore env Lean.Compiler.InlineAttributeKind.macroInline declName
Instances For
@[inline, reducible]
Equations
- Lean.Compiler.hasAlwaysInlineAttribute env declName = Lean.Compiler.hasInlineAttrCore env Lean.Compiler.InlineAttributeKind.alwaysInline declName
Instances For
@[export lean_has_inline_attribute]
Equations
Instances For
@[export lean_has_inline_if_reduce_attribute]
Equations
Instances For
@[export lean_has_noinline_attribute]
Equations
Instances For
@[export lean_has_macro_inline_attribute]