| Syntax Elements | Source | Preprocessor | Types | Expressions | Backtick Expressions | Statements | Class | Logging |
Explanation of Sytanx
Content of this chapter: |
Rule // name of Rule : Production // how to produce this rule | AlternativeProduction // alternative production ; // end of rule Rule : '[' ']' // ' quoted strings must match in the source text | OtherRule // Identifier reference to other rule | FirstRule SecondRule // FirstRule has to match first, than SecondRule. // Both may consume Characters of the source code ; Rule : [ OptionalRule ] OtherRule // parts bracket with [ ] are optional | (XRule YRule)* // ( ) groups rules, * matches 0 - n times | ZRule+ // + matches 1 - n times ;
TypeName : BasicType | ComponentTypeName
ComponentTypeName : Identifier [ '.' ComponentTypeName ]