Farkle


GrammarProperties Type

Stores additional information about a grammar. The members of this type are purely informative and not used by Farkle's parser in any way. They are mostly used from the templates.

Record fields

Record Field Description

AutoWhitespace

Full Usage: AutoWhitespace

Field type: bool

Whether the grammar was declared to ignore whitespace characters.

Field type: bool

CaseSensitive

Full Usage: CaseSensitive

Field type: bool

Whether the grammar was declared to be case-sensitive.

Field type: bool

GeneratedBy

Full Usage: GeneratedBy

Field type: string

The tool that created this grammar.

Field type: string

GeneratedDate

Full Usage: GeneratedDate

Field type: DateTime

When the grammar was created.

Field type: DateTime

Name

Full Usage: Name

Field type: string

The grammar's name. Usually it is the starting symbol's name.

Field type: string

Source

Full Usage: Source

Field type: GrammarSource

Where the grammar came from.

Field type: GrammarSource