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
- Lean.Elab.Command.instDecidableEqStructFieldKind x y = if h : x.toCtorIdx = y.toCtorIdx then isTrue ⋯ else isFalse ⋯
 
Instances For
Equations
- Lean.Elab.Command.instInhabitedStructFieldInfo = { default := { name := default, declName := default, fvar := default, kind := default, value? := default } }
 
Equations
- info.isFromParent = match info.kind with | Lean.Elab.Command.StructFieldKind.fromParent => true | x => false
 
Instances For
Equations
- info.isSubobject = match info.kind with | Lean.Elab.Command.StructFieldKind.subobject => true | x => false
 
Instances For
Equations
- One or more equations did not get rendered due to their size.
 
Instances For
@[reducible, inline]
Equations
Instances For
Equations
- One or more equations did not get rendered due to their size.