enum Myst::Token::Type
Defined in:
myst/syntax/token.crEnum Members
-
INTEGER =
0
-
FLOAT =
1
-
STRING =
2
-
CHAR =
3
-
SYMBOL =
4
-
INTERP_START =
5
-
INTERP_* tokens will only appear within a string.
-
INTERP_END =
6
-
REQUIRE =
7
-
INCLUDE =
8
-
EXTEND =
9
-
DEFMODULE =
10
-
DEFTYPE =
11
-
DEF =
12
-
DEFSTATIC =
13
-
FN =
14
-
DO =
15
-
UNLESS =
16
-
ELSE =
17
-
WHILE =
18
-
UNTIL =
19
-
WHEN =
20
-
END =
21
-
RETURN =
22
-
BREAK =
23
-
NEXT =
24
-
RAISE =
25
-
RESCUE =
26
-
ENSURE =
27
-
SELF =
28
-
TRUE =
29
-
FALSE =
30
-
NIL =
31
-
IDENT =
32
-
CONST =
33
-
IVAR =
34
-
MAGIC_FILE =
35
-
MAGIC_LINE =
36
-
MAGIC_DIR =
37
-
PLUS =
38
-
MINUS =
39
-
STAR =
40
-
SLASH =
41
-
MODULO =
42
-
EQUAL =
43
-
MATCH =
44
-
NOT =
45
-
LESS =
46
-
LESSEQUAL =
47
-
GREATEREQUAL =
48
-
GREATER =
49
-
NOTEQUAL =
50
-
EQUALEQUAL =
51
-
ANDAND =
52
-
OROR =
53
-
ANDOP =
54
-
OROP =
55
-
PLUSOP =
56
-
MINUSOP =
57
-
STAROP =
58
-
SLASHOP =
59
-
MODOP =
60
-
AMPERSAND =
61
-
PIPE =
62
-
LPAREN =
63
-
RPAREN =
64
-
LBRACE =
65
-
RBRACE =
66
-
LCURLY =
67
-
RCURLY =
68
-
STAB =
69
-
COMMA =
70
-
POINT =
71
-
COLON =
72
-
SEMI =
73
-
COMMENT =
74
-
NEWLINE =
75
-
WHITESPACE =
76
-
EOF =
77
-
UNKNOWN =
78
Class Method Summary
- .binary_operators
- .delimiters
- .keyword_map
- .keywords
- .op_assigns
- .overloadable_operators
- .unary_operators
- .whitespace
Instance Method Summary
- #ampersand?
- #andand?
- #andop?
- #binary_operator?
- #block_terminator?
- #break?
- #char?
- #colon?
- #comma?
- #comment?
- #const?
- #def?
- #defmodule?
- #defstatic?
- #deftype?
- #delimiter?
- #do?
- #else?
- #end?
- #ensure?
- #eof?
- #equal?
- #equalequal?
- #extend?
- #false?
- #float?
- #fn?
- #greater?
- #greaterequal?
- #ident?
- #include?
- #integer?
- #interp_end?
- #interp_start?
- #ivar?
- #keyword?
- #lbrace?
- #lcurly?
- #less?
- #lessequal?
- #lparen?
- #magic_dir?
- #magic_file?
- #magic_line?
- #match?
- #minus?
- #minusop?
- #modop?
- #modulo?
- #newline?
- #next?
- #nil?
- #not?
- #notequal?
- #op_assign?
- #operator?
- #orop?
- #oror?
- #overloadable_operator?
- #pipe?
- #plus?
- #plusop?
- #point?
- #raise?
- #rbrace?
- #rcurly?
- #require?
- #rescue?
- #return?
- #rparen?
- #self?
- #semi?
- #slash?
- #slashop?
- #stab?
- #star?
- #starop?
- #string?
- #symbol?
- #true?
- #unary_operator?
- #unknown?
- #unless?
- #until?
- #when?
- #while?
- #whitespace?