Attributes of the rules.
StartRule– tells the Nitra compiler to create a static method that simplifies the parsing starting from the rule marked by this attribute.
SpanClass– marks the rule with
SpanClasswhich specifies the highlighting class.
SpanClassshould be declared in advance with the
ExplicitSpaces– suppresses whitespace rules auto placement and lets you specify them explicitly.
ImplicitSpaces– opposite of
SuppressTrailingSpaces– suppresses a space followed by the rule marked with this attribute.
AllowTrailingSpaces– opposite of
NoAst– suppresses AST creation for the rule marked with this attribute.
Key– lets you specify
ExtensibleTokenRuleas the rules that determine syntax structure. That impacts error recovery, making the parser create a "broken down" AST if keywords from the recovered rule have been encountered.