Child pages
  • ParseTree object
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

In addition to creating a parser, Nitra automatically generates ParseTree for the syntax and token rules, which imposes additional requirements on the Nitra rules (SimpleRule, TokenRule, VoidRule, ExtensibleRule, ExtensibleTokenRule), which imposes additional requirements on the Nitra rules. They should not only describe the grammar, but also provide the information for forming ParseTree classes. For each syntax and token rule not marked with the NoParseTree attribute, an ParseTree node with a name that matches the rule name is created (and converted to the Pascal Case format).

See also

ParseTree fields

  • No labels