llama_gretype class abstract

grammar element type

Constructors

llama_gretype.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

LLAMA_GRETYPE_ALT → const int
start of alternate definition for rule
LLAMA_GRETYPE_CHAR → const int
terminal element: character (code point)
LLAMA_GRETYPE_CHAR_ALT → const int
modifies a preceding LLAMA_GRETYPE_CHAR or LLAMA_GRETYPE_CHAR_RNG_UPPER to add an alternate char to match (ab, a-zA)
LLAMA_GRETYPE_CHAR_NOT → const int
inverse char(s) (^a, ^a-b ^abc)
LLAMA_GRETYPE_CHAR_RNG_UPPER → const int
modifies a preceding LLAMA_GRETYPE_CHAR or LLAMA_GRETYPE_CHAR_ALT to be an inclusive range (a-z)
LLAMA_GRETYPE_END → const int
end of rule definition
LLAMA_GRETYPE_RULE_REF → const int
non-terminal element: reference to rule