Enum CaseSensitivity
Specifies the case sensitivity of a grammar to be built.
public enum CaseSensitivity
Fields
CaseInsensitive = 2The entire grammar is case insensitive.
This was the default value in versions of Farkle prior to 7, but was changed to CaseSensitive for performance reasons.
CaseSensitive = 0The entire grammar is case sensitive.
This is the default value since Farkle 7.
LiteralsCaseInsensitive = 1Only the literals of the grammar are case insensitive and the other terminals are case sensitive.
Literals of the grammar are considered the terminals created by Literal(string) as well as the start and end symbols of groups and comments.