enum Axal::TokenKind

Defined in:

lang/token_kind.cr

Enum Members

TAB = 9
NEW_LINE = 10
CARRIAGE_RETURN = 13
SPACE = 32
EXCLAMATION = 33
DOUBLE_QUOTE = 34
HASH = 35
DOLLAR = 36
PERCENT = 37
AMPERSAND = 38
SINGLE_QUOTE = 39
LEFT_PAREN = 40
RIGHT_PAREN = 41
ASTERISK = 42
PLUS = 43
COMMA = 44
HYPHEN = 45
DOT = 46
FORWARD_SLASH = 47
ZERO = 48
ONE = 49
TWO = 50
THREE = 51
FOUR = 52
FIVE = 53
SIX = 54
SEVEN = 55
EIGHT = 56
NINE = 57
COLON = 58
SEMI_COLOM = 59
LESS_THAN = 60
EQUALS = 61
GREATER_THAN = 62
QUESTION = 63
AT = 64
UPPER_A = 65
UPPER_B = 66
UPPER_C = 67
UPPER_D = 68
UPPER_E = 69
UPPER_F = 70
UPPER_G = 71
UPPER_H = 72
UPPER_I = 73
UPPER_J = 74
UPPER_K = 75
UPPER_L = 76
UPPER_M = 77
UPPER_N = 78
UPPER_O = 79
UPPER_P = 80
UPPER_Q = 81
UPPER_R = 82
UPPER_S = 83
UPPER_T = 84
UPPER_U = 85
UPPER_V = 86
UPPER_W = 87
UPPER_X = 88
UPPER_Y = 89
UPPER_Z = 90
LEFT_BRACKET = 91
BACK_SLASH = 92
RIGHT_BRACKET = 93
CIRCUMFLEX = 94
LOW_LINE = 95
BACK_TICK = 96
LOWER_A = 97
LOWER_B = 98
LOWER_C = 99
LOWER_D = 100
LOWER_E = 101
LOWER_F = 102
LOWER_G = 103
LOWER_H = 104
LOWER_I = 105
LOWER_J = 106
LOWER_K = 107
LOWER_L = 108
LOWER_M = 109
LOWER_N = 110
LOWER_O = 111
LOWER_P = 112
LOWER_Q = 113
LOWER_R = 114
LOWER_S = 115
LOWER_T = 116
LOWER_U = 117
LOWER_V = 118
LOWER_W = 119
LOWER_X = 120
LOWER_Y = 121
LOWER_Z = 122
LEFT_CURLY = 123
BAR = 124
RIGHT_CURLY = 125
TILDE = 126
DOUBLE_EQUALS = 127
NOT_EQUAL = 128
GREATER_THAN_OR_EQUAL = 129
LESS_THAN_OR_EQUAL = 130
TRIANGLE = 131
STRING = 132
NUMBER = 133
IDENTIFIER = 134
EXTERNAL_CODE = 135
AND = 136
ELSE = 137
END = 138
FALSE = 139
FN = 140
MOD = 141
IF = 142
NIL = 143
OR = 144
RETURN = 145
TRUE = 146
WHILE = 147
FGET = 148
DESCRIBE = 149
IT = 150
EOF = 151
UNKNOWN = 152

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.from_double(value) : TokenKind #

[View source]
def self.from_identifier(value) : TokenKind #

ameba:disable Metrics/CyclomaticComplexity


[View source]
def self.from_single(value) : TokenKind #

[View source]

Class Method Detail

def self.letters #

[View source]
def self.numbers #

[View source]

Instance Method Detail

def ampersand? #

[View source]
def and? #

[View source]
def asterisk? #

[View source]
def at? #

[View source]
def back_slash? #

[View source]
def back_tick? #

[View source]
def bar? #

[View source]
def carriage_return? #

[View source]
def circumflex? #

[View source]
def colon? #

[View source]
def comma? #

[View source]
def describe? #

[View source]
def dollar? #

[View source]
def dot? #

[View source]
def double_equals? #

[View source]
def double_quote? #

[View source]
def eight? #

[View source]
def else? #

[View source]
def end? #

[View source]
def eof? #

[View source]
def equals? #

[View source]
def exclamation? #

[View source]
def external_code? #

[View source]
def false? #

[View source]
def fget? #

[View source]
def five? #

[View source]
def fn? #

[View source]
def forward_slash? #

[View source]
def four? #

[View source]
def greater_than? #

[View source]
def greater_than_or_equal? #

[View source]
def hash? #

[View source]
def hyphen? #

[View source]
def identifier? #

[View source]
def if? #

[View source]
def it? #

[View source]
def left_bracket? #

[View source]
def left_curly? #

[View source]
def left_paren? #

[View source]
def less_than? #

[View source]
def less_than_or_equal? #

[View source]
def low_line? #

[View source]
def lower_a? #

[View source]
def lower_b? #

[View source]
def lower_c? #

[View source]
def lower_d? #

[View source]
def lower_e? #

[View source]
def lower_f? #

[View source]
def lower_g? #

[View source]
def lower_h? #

[View source]
def lower_i? #

[View source]
def lower_j? #

[View source]
def lower_k? #

[View source]
def lower_l? #

[View source]
def lower_m? #

[View source]
def lower_n? #

[View source]
def lower_o? #

[View source]
def lower_p? #

[View source]
def lower_q? #

[View source]
def lower_r? #

[View source]
def lower_s? #

[View source]
def lower_t? #

[View source]
def lower_u? #

[View source]
def lower_v? #

[View source]
def lower_w? #

[View source]
def lower_x? #

[View source]
def lower_y? #

[View source]
def lower_z? #

[View source]
def mod? #

[View source]
def new_line? #

[View source]
def nil? #

[View source]
def nine? #

[View source]
def not_equal? #

[View source]
def number? #

[View source]
def one? #

[View source]
def or? #

[View source]
def percent? #

[View source]
def plus? #

[View source]
def question? #

[View source]
def return? #

[View source]
def right_bracket? #

[View source]
def right_curly? #

[View source]
def right_paren? #

[View source]
def semi_colom? #

[View source]
def seven? #

[View source]
def single_quote? #

[View source]
def six? #

[View source]
def space? #

[View source]
def string? #

[View source]
def tab? #

[View source]
def three? #

[View source]
def tilde? #

[View source]
def triangle? #

[View source]
def true? #

[View source]
def two? #

[View source]
def unknown? #

[View source]
def upper_a? #

[View source]
def upper_b? #

[View source]
def upper_c? #

[View source]
def upper_d? #

[View source]
def upper_e? #

[View source]
def upper_f? #

[View source]
def upper_g? #

[View source]
def upper_h? #

[View source]
def upper_i? #

[View source]
def upper_j? #

[View source]
def upper_k? #

[View source]
def upper_l? #

[View source]
def upper_m? #

[View source]
def upper_n? #

[View source]
def upper_o? #

[View source]
def upper_p? #

[View source]
def upper_q? #

[View source]
def upper_r? #

[View source]
def upper_s? #

[View source]
def upper_t? #

[View source]
def upper_u? #

[View source]
def upper_v? #

[View source]
def upper_w? #

[View source]
def upper_x? #

[View source]
def upper_y? #

[View source]
def upper_z? #

[View source]
def while? #

[View source]
def zero? #

[View source]