enum Kaze::TokenType

Overview

Enum consisting of all the possible token types.

Defined in:

token_type.cr

Enum Members

LEFT_PAREN = 0
RIGHT_PAREN = 1
COMMA = 2
COLON = 3
DOT = 4
MINUS = 5
PERCENT = 6
PLUS = 7
QUESTION = 8
SEMICOLON = 9
SLASH = 10
STAR = 11
BANG_EQUAL = 12
EQUAL = 13
EQUAL_EQUAL = 14
GREATER = 15
GREATER_EQUAL = 16
LEFT_ARROW = 17
LESS = 18
LESS_EQUAL = 19
IDENTIFIER = 20
STRING = 21
NUMBER = 22
AND = 23
BEGIN = 24
BREAK = 25
CLASS = 26
DO = 27
ELSE = 28
END = 29
FALSE = 30
FUN = 31
FOR = 32
IF = 33
LAMBDA = 34
NIL = 35
NOT = 36
OR = 37
RETURN = 38
SELF = 39
SUPER = 40
THEN = 41
TRUE = 42
VAR = 43
WHILE = 44
EOF = 45

Instance Method Summary

Instance Method Detail

def and? #

[View source]
def bang_equal? #

[View source]
def begin? #

[View source]
def break? #

[View source]
def class? #

[View source]
def colon? #

[View source]
def comma? #

[View source]
def do? #

[View source]
def dot? #

[View source]
def else? #

[View source]
def end? #

[View source]
def eof? #

[View source]
def equal? #

[View source]
def equal_equal? #

[View source]
def false? #

[View source]
def for? #

[View source]
def fun? #

[View source]
def greater? #

[View source]
def greater_equal? #

[View source]
def identifier? #

[View source]
def if? #

[View source]
def lambda? #

[View source]
def left_arrow? #

[View source]
def left_paren? #

[View source]
def less? #

[View source]
def less_equal? #

[View source]
def minus? #

[View source]
def nil? #

[View source]
def not? #

[View source]
def number? #

[View source]
def or? #

[View source]
def percent? #

[View source]
def plus? #

[View source]
def question? #

[View source]
def return? #

[View source]
def right_paren? #

[View source]
def self? #

[View source]
def semicolon? #

[View source]
def slash? #

[View source]
def star? #

[View source]
def string? #

[View source]
def super? #

[View source]
def then? #

[View source]
def true? #

[View source]
def var? #

[View source]
def while? #

[View source]