enum

Myst::Lexer::Context

Inherits Enum / Comparable / Value / Object

Constants

NORMAL = 0

Normal functioning context of the lexer.

STRING = 1

Context inside of a double quote string.

STRING_INTERP = 2

Context inside of an interpolation within a string.

Instance methods

normal?

Returns true if this enum value equals NORMAL

Source
string?

Returns true if this enum value equals STRING

Source
string_interp?

Returns true if this enum value equals STRING_INTERP

Source