- 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.Compiler.inlineAttrs.setValue env declName kind
Instances For
Equations
- Lean.Compiler.getInlineAttribute? env declName = Lean.Compiler.inlineAttrs.getValue env declName
Instances For
@[reducible, inline]
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
@[reducible, inline]
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]