File: .lake/packages/lean4/src/lean/Lean/Elab/Tactic/Doc.lean

full_name: Lean.Elab.Tactic.Doc.elabTacticExtension
code: @[builtin_command_elab «tactic_extension»] def elabTacticExtension : CommandElab
  
goal: Lean.Elab.Command.CommandElab

full_name: Lean.Elab.Tactic.Doc.elabRegisterTacticTag
code: @[builtin_command_elab «register_tactic_tag»] def elabRegisterTacticTag : CommandElab
  
goal: Lean.Elab.Command.CommandElab

full_name: _private.«.lake».packages.lean4.src.lean.Lean.Elab.Tactic.Doc.0.Lean.Elab.Tactic.Doc.getFirstTk
code: /--
Gets the first string token in a parser description. For example, for a declaration like
`syntax "squish " term " with " term : tactic`, it returns `some "squish "`, and for a declaration
like `syntax tactic " <;;;> " tactic : tactic`, it returns `some " <;;;> "`.

Returns `none` for syntax declarations that don't contain a string constant.
-/
private partial def getFirstTk (e : Expr) : MetaM (Option String) 
goal: Lean.MetaM (Option String)

full_name: _private.«.lake».packages.lean4.src.lean.Lean.Elab.Tactic.Doc.0.Lean.Elab.Tactic.Doc.showParserName
code: /--
Creates some `MessageData` for a parser name.

If the parser name maps to a description with an
identifiable leading token, then that token is shown. Otherwise, the underlying name is shown
without an `@`. The name includes metadata that makes infoview hovers and the like work. This
only works for global constants, as the local context is not included.
-/
private def showParserName (n : Name) : MetaM MessageData 
goal: Lean.MetaM Lean.MessageData

full_name: Lean.Elab.Tactic.Doc.elabPrintTacTags
code: /--
Displays all available tactic tags, with documentation.
-/
@[builtin_command_elab printTacTags] def elabPrintTacTags : CommandElab 
goal: Lean.Elab.Command.CommandElab

full_name: Lean.Elab.Tactic.Doc.TacticDoc.userName
code: /--
The information needed to display all documentation for a tactic.
-/
structure TacticDoc where
  /-- The name of the canonical parser for the tactic -/
  internalName : Name
  /-- The user-facing name to display (typically the first keyword token) -/
  userName : String
  /-- The tags that have been applied to the tactic -/
  tags : NameSet
  /-- The docstring for the tactic -/
  docString : Option String
  /-- Any docstring extensions that have been specified -/
  extensionDocs : Array String
goal: String

full_name: Lean.Elab.Tactic.Doc.TacticDoc.internalName
code: /--
The information needed to display all documentation for a tactic.
-/
structure TacticDoc where
  /-- The name of the canonical parser for the tactic -/
  internalName : Name
  /-- The user-facing name to display (typically the first keyword token) -/
  userName : String
  /-- The tags that have been applied to the tactic -/
  tags : NameSet
  /-- The docstring for the tactic -/
  docString : Option String
  /-- Any docstring extensions that have been specified -/
  extensionDocs : Array String
goal: Lean.Name

full_name: Lean.Elab.Tactic.Doc.TacticDoc.docString
code: /--
The information needed to display all documentation for a tactic.
-/
structure TacticDoc where
  /-- The name of the canonical parser for the tactic -/
  internalName : Name
  /-- The user-facing name to display (typically the first keyword token) -/
  userName : String
  /-- The tags that have been applied to the tactic -/
  tags : NameSet
  /-- The docstring for the tactic -/
  docString : Option String
  /-- Any docstring extensions that have been specified -/
  extensionDocs : Array String
goal: Option String

full_name: Lean.Elab.Tactic.Doc.TacticDoc
code: /--
The information needed to display all documentation for a tactic.
-/
structure TacticDoc where
  /-- The name of the canonical parser for the tactic -/
  internalName : Name
  /-- The user-facing name to display (typically the first keyword token) -/
  userName : String
  /-- The tags that have been applied to the tactic -/
  tags : NameSet
  /-- The docstring for the tactic -/
  docString : Option String
  /-- Any docstring extensions that have been specified -/
  extensionDocs : Array String
goal: Type

full_name: Lean.Elab.Tactic.Doc.TacticDoc.extensionDocs
code: /--
The information needed to display all documentation for a tactic.
-/
structure TacticDoc where
  /-- The name of the canonical parser for the tactic -/
  internalName : Name
  /-- The user-facing name to display (typically the first keyword token) -/
  userName : String
  /-- The tags that have been applied to the tactic -/
  tags : NameSet
  /-- The docstring for the tactic -/
  docString : Option String
  /-- Any docstring extensions that have been specified -/
  extensionDocs : Array String
goal: Array String

full_name: Lean.Elab.Tactic.Doc.TacticDoc.tags
code: /--
The information needed to display all documentation for a tactic.
-/
structure TacticDoc where
  /-- The name of the canonical parser for the tactic -/
  internalName : Name
  /-- The user-facing name to display (typically the first keyword token) -/
  userName : String
  /-- The tags that have been applied to the tactic -/
  tags : NameSet
  /-- The docstring for the tactic -/
  docString : Option String
  /-- Any docstring extensions that have been specified -/
  extensionDocs : Array String
goal: Lean.NameSet

full_name: Lean.Elab.Tactic.Doc.allTacticDocs
code: def allTacticDocs : MetaM (Array TacticDoc) 
goal: Lean.MetaM (Array Lean.Elab.Tactic.Doc.TacticDoc)