• Preparing search index...
  • The search index is not available
Langium - v3.5.0
  • Langium
  • langium
  • GrammarUtils
  • getEntryRule

Function getEntryRule

  • getEntryRule(grammar): GrammarAST.ParserRule | undefined
  • Returns the entry rule of the given grammar, if any. If the grammar file does not contain an entry rule, the result is undefined.

    Parameters

    • grammar: Grammar

    Returns GrammarAST.ParserRule | undefined

    • Defined in packages/langium/src/utils/grammar-utils.ts:19

Settings

Member Visibility
Langium - v3.5.0
  • Loading...

Generated using TypeDoc