Recall that the `structure command syntax is
leading_parser (structureTk <|> classTk) >> declId >> many Term.bracketedBinder >> optional «extends» >> Term.optType >> optional (" := " >> optional structCtor >> structFields)
- fields : Array StructFieldView
 
Instances For
Equations
- Lean.Elab.Command.instInhabitedStructView = { default := { toInductiveView := default, parents := default, fields := default } }
 
Equations
- One or more equations did not get rendered due to their size.
 
Instances For
- newField : StructFieldKind
 - copiedField : StructFieldKind
 - fromParent : StructFieldKind
 - subobject
(structName : Name)
 : StructFieldKind
The field is an embedded parent.
 
Instances For
Equations
- ref : Syntax
 - name : Name
 - declName : Name
Name of projection function. Remark: for
fromParentfields,declNameis only relevant in the generation of auxiliary "default value" functions. - fvar : Expr
 - kind : StructFieldKind
 
Instances For
Equations
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 structName => true | x => false
 
Instances For
Equations
- One or more equations did not get rendered due to their size.
 
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.