- 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 : Lean.Name)
(kind : Lean.Compiler.InlineAttributeKind)
:
Equations
- Lean.Compiler.setInlineAttribute env declName kind = Lean.Compiler.inlineAttrs.setValue env declName kind
Instances For
Instances For
@[reducible, inline]
Equations
- Lean.Compiler.hasInlineAttribute env declName = Lean.Compiler.hasInlineAttrCore✝ env Lean.Compiler.InlineAttributeKind.inline declName
Instances For
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]
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]
Instances For
@[export lean_has_macro_inline_attribute]