enum Myst::Lexer::Context

Defined in:

myst/syntax/lexer.cr

Enum Members

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 Method Summary

Instance Method Detail

def normal? #

[View source]
def string? #

[View source]
def string_interp? #

[View source]