class Tesh::Token
- Tesh::Token
- Reference
- Object
Defined in:
tesh/token.crConstant Summary
-
ASSIGN =
"="
-
ASTERISK =
"*"
-
BANG =
"!"
-
COMMA =
","
-
Delimiters
-
ELSE =
"ELSE"
-
EOF =
"EOF"
-
EQ =
"=="
-
Operators
-
EXPORT =
"EXPORT"
-
FALSE =
"FALSE"
-
FUNCTION =
"FUNCTION"
-
Keywords
-
GT =
">"
-
IDENT =
"IDENT"
-
Identifiers + Literals
-
IF =
"IF"
-
ILLEGAL =
"ILLEGAL"
-
INT =
"INT"
-
KEYWORDS =
{"function" => FUNCTION, "export" => EXPORT, "true" => TRUE, "false" => FALSE, "if" => IF, "else" => ELSE, "return" => RETURN}
-
LBRACE =
"{"
-
LPAREN =
"("
-
LT =
"<"
-
MINUS =
"-"
-
NOT_EQ =
"!="
-
PLUS =
"+"
-
RBRACE =
"}"
-
RETURN =
"RETURN"
-
RPAREN =
")"
-
SEMICOLON =
";"
-
SLASH =
"/"
-
TRUE =
"TRUE"