-
Notifications
You must be signed in to change notification settings - Fork 23
/
Issue17.raw.ast.txt
113 lines (113 loc) · 4.77 KB
/
Issue17.raw.ast.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
kotlinFile
DelimitedComment >>>/*\n * multiline comment\n */<<< (COMMENT)
NL >>>\n<<< (DEFAULT_TOKEN_CHANNEL)
packageHeader
PACKAGE >>>package<<< (DEFAULT_TOKEN_CHANNEL)
WS >>> <<< (HIDDEN)
identifier
simpleIdentifier
Identifier >>>example<<< (DEFAULT_TOKEN_CHANNEL)
semi
NL >>>\n<<< (DEFAULT_TOKEN_CHANNEL)
NL >>>\n<<< (DEFAULT_TOKEN_CHANNEL)
DelimitedComment >>>/**\n * A group of *members*.\n *\n * This class has no useful logic; it's just a documentation example.\n *\n * @param T the type of a member in this group.\n * @property name the name of this group.\n * @constructor Creates an empty group.\n */<<< (COMMENT)
NL >>>\n<<< (DEFAULT_TOKEN_CHANNEL)
importList
topLevelObject
declaration
classDeclaration
CLASS >>>class<<< (DEFAULT_TOKEN_CHANNEL)
WS >>> <<< (HIDDEN)
simpleIdentifier
Identifier >>>Group<<< (DEFAULT_TOKEN_CHANNEL)
typeParameters
LANGLE >>><<<< (DEFAULT_TOKEN_CHANNEL)
typeParameter
simpleIdentifier
Identifier >>>T<<< (DEFAULT_TOKEN_CHANNEL)
RANGLE >>>><<< (DEFAULT_TOKEN_CHANNEL)
primaryConstructor
classParameters
LPAREN >>>(<<< (DEFAULT_TOKEN_CHANNEL)
classParameter
VAL >>>val<<< (DEFAULT_TOKEN_CHANNEL)
Inside_WS >>> <<< (HIDDEN)
simpleIdentifier
Identifier >>>name<<< (DEFAULT_TOKEN_CHANNEL)
COLON >>>:<<< (DEFAULT_TOKEN_CHANNEL)
Inside_WS >>> <<< (HIDDEN)
type
typeReference
userType
simpleUserType
simpleIdentifier
Identifier >>>String<<< (DEFAULT_TOKEN_CHANNEL)
RPAREN >>>)<<< (DEFAULT_TOKEN_CHANNEL)
WS >>> <<< (HIDDEN)
classBody
LCURL >>>{<<< (DEFAULT_TOKEN_CHANNEL)
NL >>>\n<<< (DEFAULT_TOKEN_CHANNEL)
WS >>> <<< (HIDDEN)
WS >>> <<< (HIDDEN)
DelimitedComment >>>/**\n * Adds a [member] to this group.\n * @return the new size of the group.\n */<<< (COMMENT)
NL >>>\n<<< (DEFAULT_TOKEN_CHANNEL)
WS >>> <<< (HIDDEN)
WS >>> <<< (HIDDEN)
classMemberDeclarations
classMemberDeclaration
declaration
functionDeclaration
FUN >>>fun<<< (DEFAULT_TOKEN_CHANNEL)
WS >>> <<< (HIDDEN)
simpleIdentifier
Identifier >>>add<<< (DEFAULT_TOKEN_CHANNEL)
functionValueParameters
LPAREN >>>(<<< (DEFAULT_TOKEN_CHANNEL)
functionValueParameter
parameter
simpleIdentifier
Identifier >>>member<<< (DEFAULT_TOKEN_CHANNEL)
COLON >>>:<<< (DEFAULT_TOKEN_CHANNEL)
Inside_WS >>> <<< (HIDDEN)
type
typeReference
userType
simpleUserType
simpleIdentifier
Identifier >>>T<<< (DEFAULT_TOKEN_CHANNEL)
RPAREN >>>)<<< (DEFAULT_TOKEN_CHANNEL)
COLON >>>:<<< (DEFAULT_TOKEN_CHANNEL)
WS >>> <<< (HIDDEN)
type
typeReference
userType
simpleUserType
simpleIdentifier
Identifier >>>Int<<< (DEFAULT_TOKEN_CHANNEL)
WS >>> <<< (HIDDEN)
functionBody
block
LCURL >>>{<<< (DEFAULT_TOKEN_CHANNEL)
NL >>>\n<<< (DEFAULT_TOKEN_CHANNEL)
WS >>> <<< (HIDDEN)
WS >>> <<< (HIDDEN)
WS >>> <<< (HIDDEN)
WS >>> <<< (HIDDEN)
LineComment >>>// single line comments<<< (COMMENT)
NL >>>\n<<< (DEFAULT_TOKEN_CHANNEL)
WS >>> <<< (HIDDEN)
WS >>> <<< (HIDDEN)
WS >>> <<< (HIDDEN)
WS >>> <<< (HIDDEN)
LineComment >>>// ...<<< (COMMENT)
NL >>>\n<<< (DEFAULT_TOKEN_CHANNEL)
WS >>> <<< (HIDDEN)
WS >>> <<< (HIDDEN)
statements
RCURL >>>}<<< (DEFAULT_TOKEN_CHANNEL)
semis
NL >>>\n<<< (DEFAULT_TOKEN_CHANNEL)
RCURL >>>}<<< (DEFAULT_TOKEN_CHANNEL)
semis
NL >>>\n<<< (DEFAULT_TOKEN_CHANNEL)
EOF >>><EOF><<< (DEFAULT_TOKEN_CHANNEL)