- impl : Lean.AttributeImpl
Instances For
Equations
- Lean.ParserCompiler.instInhabitedCombinatorAttribute = { default := { impl := default, ext := default } }
def
Lean.ParserCompiler.registerCombinatorAttribute
(name : Lean.Name)
(descr : String)
(ref : Lean.Name := by exact decl_name%)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
Lean.ParserCompiler.CombinatorAttribute.getDeclFor?
(attr : Lean.ParserCompiler.CombinatorAttribute)
(env : Lean.Environment)
(parserDecl : Lean.Name)
:
Equations
- attr.getDeclFor? env parserDecl = (attr.ext.getState env).find? parserDecl
Instances For
def
Lean.ParserCompiler.CombinatorAttribute.setDeclFor
(attr : Lean.ParserCompiler.CombinatorAttribute)
(env : Lean.Environment)
(parserDecl decl : Lean.Name)
:
Equations
- attr.setDeclFor env parserDecl decl = Lean.PersistentEnvExtension.addEntry attr.ext env (parserDecl, decl)
Instances For
unsafe def
Lean.ParserCompiler.CombinatorAttribute.runDeclFor
{α : Type}
(attr : Lean.ParserCompiler.CombinatorAttribute)
(parserDecl : Lean.Name)
:
Equations
- One or more equations did not get rendered due to their size.