Table of Contents

Enum TokenSymbolAttributes

Namespace
Farkle.Grammars
Assembly
Farkle.dll

Characteristics of a token symbol.

[Flags]
public enum TokenSymbolAttributes : uint

Fields

Generated = 16

The token symbol was not explicitly defined by the grammar author.

GroupStart = 2

The token symbol can start a group.

Hidden = 8

The token symbol should not be displayed by parsers in the expected tokens list in case of a syntax error.

Noise = 4

The token symbol must be skipped by parsers if encountered in an unexpected place in the input.

None = 0

No attributes are defined.

Terminal = 1

The token symbol can exist in the right-hand side of a production.