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