Additional information about a grammar to be built.
Each DesigntimeFarkle has one, but the metadata object that will be taken into consideration when building will be the one belonging to the topmost designtime Farkle, on which a build function was called. An exception is made for the operator scopes, which are found in all designtime Farkles of a grammar.
Record Field | Description |
Full Usage:
AutoWhitespace
Field type: bool
|
Whether to discard any whitespace characters encountered outside of any terminal. Farkle considers whitespace the characters: Space, Horizontal Tab, Carriage Return and Line feed.
|
Full Usage:
CaseSensitive
Field type: bool
|
Whether the grammar is case sensitive.
|
|
The comments this grammar accepts.
|
|
Any other symbols definable by a regular expression that will be discarded if they appear anywhere outside of any terminal.
|
|
An OperatorScope to assist the conflict resolution when building the grammar. This property will be considered when set in any designtime Farkle of a grammar; not only the topmost one.
|
Static member | Description |
|
The default metadata of a grammar. According to them, the grammar is not case sensitive and white space is discarded.
|
|
A stricter set of metadata for a grammar. They specify a case sensitive grammar without any whitespace allowed.
|