RulePrecedence

Description

enum Tinman.Core.Parsing.RulePrecedence

Enumeration of rule precedence values.

Public / Constants

List

public constant List → (0:int32)

A rule that matches a delimited list of elements.

See also

IRule.List

Choice

public constant Choice → (1:int32)

A rule that chooses between alternatives.

See also

IRule.Or

Sequence

public constant Sequence → (2:int32)

A sequence of sub-rules that must be matched in order.

See also

IRule.Add

Trim

public constant Trim → (3:int32)

A whitespace trimming rule.

Repeat

public constant Repeat → (4:int32)

A rule that repeats a sub-rule a given number of times.

Except

public constant Except → (5:int32)

A rule that matches a rule only iff the exception rule did not match.

See also

IRule.Except

Terminal

public constant Terminal → (6:int32)

A terminal rule.