- impl : Lean.AttributeImpl
Instances For
Equations
- Lean.ParserCompiler.instInhabitedCombinatorAttribute = { default := { impl := default, ext := default } }
def
Lean.ParserCompiler.CombinatorAttribute.getDeclFor?
(attr : Lean.ParserCompiler.CombinatorAttribute)
(env : Lean.Environment)
(parserDecl : Lake.Name)
:
Equations
- Lean.ParserCompiler.CombinatorAttribute.getDeclFor? attr env parserDecl = Lean.NameMap.find? (Lean.SimplePersistentEnvExtension.getState attr.ext env) parserDecl
Instances For
def
Lean.ParserCompiler.CombinatorAttribute.setDeclFor
(attr : Lean.ParserCompiler.CombinatorAttribute)
(env : Lean.Environment)
(parserDecl : Lake.Name)
(decl : Lake.Name)
:
Equations
- Lean.ParserCompiler.CombinatorAttribute.setDeclFor attr 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 : Lake.Name)
:
Equations
- One or more equations did not get rendered due to their size.