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
-
MATCH =
15
-
DO =
16
-
UNLESS =
17
-
ELSE =
18
-
WHILE =
19
-
UNTIL =
20
-
WHEN =
21
-
END =
22
-
RETURN =
23
-
BREAK =
24
-
NEXT =
25
-
RAISE =
26
-
RESCUE =
27
-
ENSURE =
28
-
SELF =
29
-
TRUE =
30
-
FALSE =
31
-
NIL =
32
-
IDENT =
33
-
CONST =
34
-
IVAR =
35
-
MAGIC_FILE =
36
-
MAGIC_LINE =
37
-
MAGIC_DIR =
38
-
PLUS =
39
-
MINUS =
40
-
STAR =
41
-
SLASH =
42
-
MODULO =
43
-
EQUAL =
44
-
MATCH_OP =
45
-
NOT =
46
-
LESS =
47
-
LESSEQUAL =
48
-
GREATEREQUAL =
49
-
GREATER =
50
-
NOTEQUAL =
51
-
EQUALEQUAL =
52
-
ANDAND =
53
-
OROR =
54
-
ANDOP =
55
-
OROP =
56
-
PLUSOP =
57
-
MINUSOP =
58
-
STAROP =
59
-
SLASHOP =
60
-
MODOP =
61
-
AMPERSAND =
62
-
PIPE =
63
-
LPAREN =
64
-
RPAREN =
65
-
LBRACE =
66
-
RBRACE =
67
-
LCURLY =
68
-
RCURLY =
69
-
STAB =
70
-
COMMA =
71
-
POINT =
72
-
COLON =
73
-
SEMI =
74
-
DOC_START =
75
-
DOC_CONTENT =
76
-
COMMENT =
77
-
NEWLINE =
78
-
WHITESPACE =
79
-
EOF =
80
-
UNKNOWN =
81
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?
- #doc_content?
- #doc_start?
- #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?
- #match_op?
- #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?