In addition to creating a parser, Nitra automatically generates ParseTree for the syntax and token rules, which imposes additional requirements on the Nitra rules (
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).