enum Z::Lex::Token::Type

Defined in:

lex/token.cr

Enum Members

EOF = 0
PLUS = 1
MIN = 2
DIV = 3
MUL = 4
MOD = 5
INT = 6
LEFT_PAREN = 7
RIGHT_PAREN = 8
LEFT_BRACE = 9
RIGHT_BRACE = 10
EQ = 11
NE = 12
LT = 13
LE = 14
GT = 15
GE = 16
ASSIGN = 17
IDENT = 18
SEMI = 19
LVAR = 20
RETURN = 21
COMMA = 22
ASM = 23
COLON = 24
IF = 25
ELSE = 26
WHILE = 27
BAR_BAR = 28
BAR = 29
AND_AND = 30
AND = 31
TYPE = 32

Instance Method Summary

Instance Method Detail

def and? #

[View source]
def and_and? #

[View source]
def asm? #

[View source]
def assign? #

[View source]
def bar? #

[View source]
def bar_bar? #

[View source]
def colon? #

[View source]
def comma? #

[View source]
def div? #

[View source]
def else? #

[View source]
def eof? #

[View source]
def eq? #

[View source]
def ge? #

[View source]
def gt? #

[View source]
def ident? #

[View source]
def if? #

[View source]
def int? #

[View source]
def le? #

[View source]
def left_brace? #

[View source]
def left_paren? #

[View source]
def lt? #

[View source]
def lvar? #

[View source]
def min? #

[View source]
def mod? #

[View source]
def mul? #

[View source]
def ne? #

[View source]
def plus? #

[View source]
def return? #

[View source]
def right_brace? #

[View source]
def right_paren? #

[View source]
def semi? #

[View source]
def type? #

[View source]
def while? #

[View source]