enum

StopAt

Inherits Enum < Comparable < Value < Object

Defines the types of tokens that can stop an expression parser

Constants

Normal = 0
UcsBranch = 1

BooleanOperator # Stops if the next token is a boolean comparison operator ColonOrAnd # Stops at Colon or an 'and' keyword/operator

UcsEnd = 2
Comma = 3
Newline = 4
ExpressionEnd = 5

Instance methods

comma?

Returns true if this enum value equals Comma

Source
expression_end?

Returns true if this enum value equals ExpressionEnd

Source
newline?

Returns true if this enum value equals Newline

Source
normal?

Returns true if this enum value equals Normal

Source
ucs_branch?

Returns true if this enum value equals UcsBranch

Source
ucs_end?

Returns true if this enum value equals UcsEnd

Source