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
Instances For
Instances For
Instances For
- decl : Lean.Declaration
- mctx : Lean.MetavarContext
- lctx : Lean.LocalContext
- localInsts : Lean.LocalInstances