Enumeration of rule precedence values.
enum
|
RulePrecedence
|
Lowest
|
= 0
|
|
---|---|---|
List
|
= 0
|
A rule that matches a delimited list of elements. See also: Rule.List |
Choice
|
= 1
|
A rule that chooses between alternatives. See also: Rule.Or |
Sequence
|
= 2
|
A sequence of subrules that must be matched in order. See also: Rule.Add |
Trim
|
= 3
|
A whitespace trimming rule. See also: Rule.TrimRule.TrimLeft Rule.TrimRight |
Repeat
|
= 4
|
A rule that repeats a subrule a given number of times. See also: Rule.ZeroOrMoreRule.OneOrMore Rule.Many |
Except
|
= 5
|
A rule that matches a rule only iff the exception rule did not match. See also: Rule.Except |
Terminal
|
= 6
|
A terminal rule. See also: Rule.AstRule.AstIfLeft Rule.AstIfRight Rule.Name Rule.NoneOf Rule.Not Rule.OneOf Rule.Range Rule.Token |
Highest
|
= 6
|