Recall that the `structure command syntax is
leading_parser (structureTk <|> classTk) >> declId >> many Term.bracketedBinder >> optional «extends» >> Term.optType >> optional (" := " >> optional structCtor >> structFields)
- ref : Lean.Syntax
- modifiers : Lean.Elab.Modifiers
- name : Lake.Name
- declName : Lake.Name
Instances For
- ref : Lean.Syntax
- modifiers : Lean.Elab.Modifiers
- binderInfo : Lean.BinderInfo
- declName : Lake.Name
- name : Lake.Name
- rawName : Lake.Name
- binders : Lean.Syntax
- type? : Option Lean.Syntax
- value? : Option Lean.Syntax
Instances For
- ref : Lean.Syntax
- modifiers : Lean.Elab.Modifiers
- isClass : Bool
- declName : Lake.Name
- parents : Array Lean.Syntax
- type : Lean.Syntax
- fields : Array Lean.Elab.Command.StructFieldView
Instances For
- newField: Lean.Elab.Command.StructFieldKind
- copiedField: Lean.Elab.Command.StructFieldKind
- fromParent: Lean.Elab.Command.StructFieldKind
- subobject: Lean.Elab.Command.StructFieldKind
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- Lean.Elab.Command.instInhabitedStructFieldInfo = { default := { name := default, declName := default, fvar := default, kind := default, value? := default } }
Equations
- Lean.Elab.Command.StructFieldInfo.isFromParent info = match info.kind with | Lean.Elab.Command.StructFieldKind.fromParent => true | x => false
Instances For
Equations
- Lean.Elab.Command.StructFieldInfo.isSubobject info = match info.kind with | Lean.Elab.Command.StructFieldKind.subobject => true | x => false
Instances For
- decl : Lean.Declaration
- mctx : Lean.MetavarContext
- lctx : Lean.LocalContext
- localInsts : Lean.LocalInstances
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[inline, reducible]
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.