enum FayrantLang::TokenType

Defined in:

parser/token.cr

Enum Members

FUNC = 0
CLASS = 1
CONSTRUCTOR = 2
IF = 3
ELSE = 4
WHILE = 5
FOR = 6
VAR = 7
RETURN = 8
BREAK = 9
CONTINUE = 10
IDENTIFIER = 11
L_BRACE = 12
R_BRACE = 13
L_PAREN = 14
R_PAREN = 15
DOT = 16
COMMA = 17
SEMICOLON = 18
QUOTE = 19
EQUAL = 20
EQUAL_PLUS = 21
EQUAL_MINUS = 22
EQUAL_TIMES = 23
EQUAL_DIV = 24
EQUAL_DIV_INV = 25
EQUAL_MOD = 26
EQUAL_EXPT = 27
EQUAL_AND = 28
EQUAL_OR = 29
EQUAL_CONCAT = 30
OP_MINUS = 31
OP_NEG = 32
OP_TO_STR = 33
OP_TO_NUM = 34
OP_PLUS = 35
OP_TIMES = 36
OP_DIV = 37
OP_DIV_INV = 38
OP_MOD = 39
OP_EXPT = 40
OP_AND = 41
OP_OR = 42
OP_GT = 43
OP_LT = 44
OP_GE = 45
OP_LE = 46
OP_EQ = 47
OP_NEQ = 48
OP_CONCAT = 49
STRING_FRAGMENT = 50
NUMBER = 51
TRUE = 52
FALSE = 53
NULL = 54

Instance Method Summary

Instance Method Detail

def break? #

[View source]
def class? #

[View source]
def comma? #

[View source]
def constructor? #

[View source]
def continue? #

[View source]
def dot? #

[View source]
def else? #

[View source]
def equal? #

[View source]
def equal_and? #

[View source]
def equal_concat? #

[View source]
def equal_div? #

[View source]
def equal_div_inv? #

[View source]
def equal_expt? #

[View source]
def equal_minus? #

[View source]
def equal_mod? #

[View source]
def equal_or? #

[View source]
def equal_plus? #

[View source]
def equal_times? #

[View source]
def false? #

[View source]
def for? #

[View source]
def func? #

[View source]
def identifier? #

[View source]
def if? #

[View source]
def l_brace? #

[View source]
def l_paren? #

[View source]
def null? #

[View source]
def number? #

[View source]
def op_and? #

[View source]
def op_concat? #

[View source]
def op_div? #

[View source]
def op_div_inv? #

[View source]
def op_eq? #

[View source]
def op_expt? #

[View source]
def op_ge? #

[View source]
def op_gt? #

[View source]
def op_le? #

[View source]
def op_lt? #

[View source]
def op_minus? #

[View source]
def op_mod? #

[View source]
def op_neg? #

[View source]
def op_neq? #

[View source]
def op_or? #

[View source]
def op_plus? #

[View source]
def op_times? #

[View source]
def op_to_num? #

[View source]
def op_to_str? #

[View source]
def quote? #

[View source]
def r_brace? #

[View source]
def r_paren? #

[View source]
def return? #

[View source]
def semicolon? #

[View source]
def string_fragment? #

[View source]
def true? #

[View source]
def var? #

[View source]
def while? #

[View source]