- inline: Lean.Compiler.InlineAttributeKind
- noinline: Lean.Compiler.InlineAttributeKind
- macroInline: Lean.Compiler.InlineAttributeKind
- inlineIfReduce: Lean.Compiler.InlineAttributeKind
@[export lean_has_inline_attribute]
@[export lean_has_inline_if_reduce_attribute]
@[export lean_has_noinline_attribute]
@[export lean_has_macro_inline_attribute]
def
Lean.Compiler.setInlineAttribute
(env : Lean.Environment)
(declName : Lean.Name)
(kind : Lean.Compiler.InlineAttributeKind)
:
Equations
- Lean.Compiler.setInlineAttribute env declName kind = Lean.EnumAttributes.setValue Lean.Compiler.inlineAttrs env declName kind