enum Cosmo::Syntax

Defined in:

cosmo/syntax/syntax_type.cr

Enum Members

Identifier = 0
Integer = 1
Float = 2
String = 3
Char = 4
Boolean = 5
None = 6
TypeDef = 7
Public = 8
ClassVisibility = 9
PlusPlus = 10
MinusMinus = 11
Plus = 12
PlusEqual = 13
Minus = 14
MinusEqual = 15
Star = 16
StarEqual = 17
Slash = 18
SlashEqual = 19
SlashSlash = 20
SlashSlashEqual = 21
Carat = 22
CaratEqual = 23
Percent = 24
PercentEqual = 25
Less = 26
LessEqual = 27
Greater = 28
GreaterEqual = 29
Equal = 30
EqualEqual = 31
BangEqual = 32
Ampersand = 33
Pipe = 34
Tilde = 35
RDoubleArrow = 36
LDoubleArrow = 37
Not = 38
And = 39
Or = 40
AndEqual = 41
OrEqual = 42
Question = 43
QuestionColon = 44
QuestionColonEqual = 45
Semicolon = 46
ColonColon = 47
Colon = 48
Dot = 49
DotDot = 50
HyphenArrow = 51
FatArrow = 52
This = 53
LBrace = 54
RBrace = 55
DoubleLBrace = 56
DoubleRBrace = 57
LBracket = 58
RBracket = 59
LParen = 60
RParen = 61
Comma = 62
Hashtag = 63
Class = 64
Mixin = 65
New = 66
Super = 67
Enum = 68
Function = 69
Try = 70
Catch = 71
Finally = 72
If = 73
Unless = 74
In = 75
Of = 76
Is = 77
Else = 78
Every = 79
While = 80
Until = 81
Mut = 82
Throw = 83
Break = 84
Next = 85
Case = 86
When = 87
Return = 88
Use = 89
From = 90
As = 91
EOF = 92

Instance Method Summary

Instance Method Detail

def ampersand? #

[View source]
def and? #

[View source]
def and_equal? #

[View source]
def as? #

[View source]
def bang_equal? #

[View source]
def boolean? #

[View source]
def break? #

[View source]
def carat? #

[View source]
def carat_equal? #

[View source]
def case? #

[View source]
def catch? #

[View source]
def char? #

[View source]
def class? #

[View source]
def class_visibility? #

[View source]
def colon? #

[View source]
def colon_colon? #

[View source]
def comma? #

[View source]
def dot? #

[View source]
def dot_dot? #

[View source]
def double_l_brace? #

[View source]
def double_r_brace? #

[View source]
def else? #

[View source]
def enum? #

[View source]
def eof? #

[View source]
def equal? #

[View source]
def equal_equal? #

[View source]
def every? #

[View source]
def fat_arrow? #

[View source]
def finally? #

[View source]
def float? #

[View source]
def from? #

[View source]
def function? #

[View source]
def greater? #

[View source]
def greater_equal? #

[View source]
def hashtag? #

[View source]
def hyphen_arrow? #

[View source]
def identifier? #

[View source]
def if? #

[View source]
def in? #

[View source]
def integer? #

[View source]
def is? #

[View source]
def l_brace? #

[View source]
def l_bracket? #

[View source]
def l_double_arrow? #

[View source]
def l_paren? #

[View source]
def less? #

[View source]
def less_equal? #

[View source]
def minus? #

[View source]
def minus_equal? #

[View source]
def minus_minus? #

[View source]
def mixin? #

[View source]
def mut? #

[View source]
def new? #

[View source]
def next? #

[View source]
def none? #

[View source]
def not? #

[View source]
def of? #

[View source]
def or? #

[View source]
def or_equal? #

[View source]
def percent? #

[View source]
def percent_equal? #

[View source]
def pipe? #

[View source]
def plus? #

[View source]
def plus_equal? #

[View source]
def plus_plus? #

[View source]
def public? #

[View source]
def question? #

[View source]
def question_colon? #

[View source]
def question_colon_equal? #

[View source]
def r_brace? #

[View source]
def r_bracket? #

[View source]
def r_double_arrow? #

[View source]
def r_paren? #

[View source]
def return? #

[View source]
def semicolon? #

[View source]
def slash? #

[View source]
def slash_equal? #

[View source]
def slash_slash? #

[View source]
def slash_slash_equal? #

[View source]
def star? #

[View source]
def star_equal? #

[View source]
def string? #

[View source]
def super? #

[View source]
def this? #

[View source]
def throw? #

[View source]
def tilde? #

[View source]
def try? #

[View source]
def type_def? #

[View source]
def unless? #

[View source]
def until? #

[View source]
def use? #

[View source]
def when? #

[View source]
def while? #

[View source]