155 lines
11 KiB
Plaintext
155 lines
11 KiB
Plaintext
token literal names:
|
|
null
|
|
'public'
|
|
'public static void main(String[] args)'
|
|
null
|
|
null
|
|
null
|
|
null
|
|
'='
|
|
'-'
|
|
'+'
|
|
'*'
|
|
'/'
|
|
'%'
|
|
'>'
|
|
'<'
|
|
'>='
|
|
'<='
|
|
'=='
|
|
'!='
|
|
'!'
|
|
'&&'
|
|
'||'
|
|
'.'
|
|
'('
|
|
')'
|
|
'{'
|
|
'}'
|
|
';'
|
|
','
|
|
'class'
|
|
'this'
|
|
'while'
|
|
'if'
|
|
'else'
|
|
'return'
|
|
'new'
|
|
null
|
|
'void'
|
|
'int'
|
|
'bool'
|
|
'char'
|
|
null
|
|
null
|
|
null
|
|
'null'
|
|
null
|
|
|
|
token symbolic names:
|
|
null
|
|
AccessModifierPublic
|
|
MainMethodDecl
|
|
DotOperator
|
|
LineOperator
|
|
ComparisonOperator
|
|
LogicalOpertor
|
|
Assign
|
|
Minus
|
|
Plus
|
|
Multipilkation
|
|
Division
|
|
Modulo
|
|
Greater
|
|
Less
|
|
GreaterEqual
|
|
LessEqual
|
|
Equal
|
|
NotEqual
|
|
Not
|
|
And
|
|
Or
|
|
Dot
|
|
OpenRoundBracket
|
|
ClosedRoundBracket
|
|
OpenCurlyBracket
|
|
ClosedCurlyBracket
|
|
Semicolon
|
|
Comma
|
|
Class
|
|
This
|
|
While
|
|
If
|
|
Else
|
|
Return
|
|
New
|
|
Identifier
|
|
Void
|
|
Int
|
|
Boolean
|
|
Char
|
|
IntValue
|
|
CharValue
|
|
BooleanValue
|
|
NullValue
|
|
WS
|
|
|
|
rule names:
|
|
AccessModifierPublic
|
|
MainMethodDecl
|
|
DotOperator
|
|
LineOperator
|
|
ComparisonOperator
|
|
LogicalOpertor
|
|
Assign
|
|
Minus
|
|
Plus
|
|
Multipilkation
|
|
Division
|
|
Modulo
|
|
Greater
|
|
Less
|
|
GreaterEqual
|
|
LessEqual
|
|
Equal
|
|
NotEqual
|
|
Not
|
|
And
|
|
Or
|
|
Dot
|
|
OpenRoundBracket
|
|
ClosedRoundBracket
|
|
OpenCurlyBracket
|
|
ClosedCurlyBracket
|
|
Semicolon
|
|
Comma
|
|
Class
|
|
This
|
|
While
|
|
If
|
|
Else
|
|
Return
|
|
New
|
|
Alpabetic
|
|
Numeric
|
|
ValidIdentSymbols
|
|
Identifier
|
|
Void
|
|
Int
|
|
Boolean
|
|
Char
|
|
IntValue
|
|
CharValue
|
|
BooleanValue
|
|
NullValue
|
|
WS
|
|
|
|
channel names:
|
|
DEFAULT_TOKEN_CHANNEL
|
|
HIDDEN
|
|
|
|
mode names:
|
|
DEFAULT_MODE
|
|
|
|
atn:
|
|
[4, 0, 45, 322, 6, -1, 2, 0, 7, 0, 2, 1, 7, 1, 2, 2, 7, 2, 2, 3, 7, 3, 2, 4, 7, 4, 2, 5, 7, 5, 2, 6, 7, 6, 2, 7, 7, 7, 2, 8, 7, 8, 2, 9, 7, 9, 2, 10, 7, 10, 2, 11, 7, 11, 2, 12, 7, 12, 2, 13, 7, 13, 2, 14, 7, 14, 2, 15, 7, 15, 2, 16, 7, 16, 2, 17, 7, 17, 2, 18, 7, 18, 2, 19, 7, 19, 2, 20, 7, 20, 2, 21, 7, 21, 2, 22, 7, 22, 2, 23, 7, 23, 2, 24, 7, 24, 2, 25, 7, 25, 2, 26, 7, 26, 2, 27, 7, 27, 2, 28, 7, 28, 2, 29, 7, 29, 2, 30, 7, 30, 2, 31, 7, 31, 2, 32, 7, 32, 2, 33, 7, 33, 2, 34, 7, 34, 2, 35, 7, 35, 2, 36, 7, 36, 2, 37, 7, 37, 2, 38, 7, 38, 2, 39, 7, 39, 2, 40, 7, 40, 2, 41, 7, 41, 2, 42, 7, 42, 2, 43, 7, 43, 2, 44, 7, 44, 2, 45, 7, 45, 2, 46, 7, 46, 2, 47, 7, 47, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 2, 1, 2, 3, 2, 147, 8, 2, 1, 3, 1, 3, 3, 3, 151, 8, 3, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 1, 4, 3, 4, 159, 8, 4, 1, 5, 1, 5, 3, 5, 163, 8, 5, 1, 6, 1, 6, 1, 7, 1, 7, 1, 8, 1, 8, 1, 9, 1, 9, 1, 10, 1, 10, 1, 11, 1, 11, 1, 12, 1, 12, 1, 13, 1, 13, 1, 14, 1, 14, 1, 14, 1, 15, 1, 15, 1, 15, 1, 16, 1, 16, 1, 16, 1, 17, 1, 17, 1, 17, 1, 18, 1, 18, 1, 19, 1, 19, 1, 19, 1, 20, 1, 20, 1, 20, 1, 21, 1, 21, 1, 22, 1, 22, 1, 23, 1, 23, 1, 24, 1, 24, 1, 25, 1, 25, 1, 26, 1, 26, 1, 27, 1, 27, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 28, 1, 29, 1, 29, 1, 29, 1, 29, 1, 29, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 30, 1, 31, 1, 31, 1, 31, 1, 32, 1, 32, 1, 32, 1, 32, 1, 32, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 33, 1, 34, 1, 34, 1, 34, 1, 34, 1, 35, 1, 35, 1, 36, 1, 36, 1, 37, 1, 37, 1, 37, 3, 37, 258, 8, 37, 1, 38, 1, 38, 5, 38, 262, 8, 38, 10, 38, 12, 38, 265, 9, 38, 1, 39, 1, 39, 1, 39, 1, 39, 1, 39, 1, 40, 1, 40, 1, 40, 1, 40, 1, 41, 1, 41, 1, 41, 1, 41, 1, 41, 1, 42, 1, 42, 1, 42, 1, 42, 1, 42, 1, 43, 5, 43, 287, 8, 43, 10, 43, 12, 43, 290, 9, 43, 1, 43, 4, 43, 293, 8, 43, 11, 43, 12, 43, 294, 1, 44, 1, 44, 3, 44, 299, 8, 44, 1, 44, 1, 44, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 1, 45, 3, 45, 312, 8, 45, 1, 46, 1, 46, 1, 46, 1, 46, 1, 46, 1, 47, 1, 47, 1, 47, 1, 47, 0, 0, 48, 1, 1, 3, 2, 5, 3, 7, 4, 9, 5, 11, 6, 13, 7, 15, 8, 17, 9, 19, 10, 21, 11, 23, 12, 25, 13, 27, 14, 29, 15, 31, 16, 33, 17, 35, 18, 37, 19, 39, 20, 41, 21, 43, 22, 45, 23, 47, 24, 49, 25, 51, 26, 53, 27, 55, 28, 57, 29, 59, 30, 61, 31, 63, 32, 65, 33, 67, 34, 69, 35, 71, 0, 73, 0, 75, 0, 77, 36, 79, 37, 81, 38, 83, 39, 85, 40, 87, 41, 89, 42, 91, 43, 93, 44, 95, 45, 1, 0, 6, 2, 0, 65, 90, 97, 122, 1, 0, 48, 57, 2, 0, 36, 36, 95, 95, 2, 0, 43, 43, 45, 45, 2, 0, 10, 10, 13, 13, 3, 0, 9, 10, 13, 13, 32, 32, 334, 0, 1, 1, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 5, 1, 0, 0, 0, 0, 7, 1, 0, 0, 0, 0, 9, 1, 0, 0, 0, 0, 11, 1, 0, 0, 0, 0, 13, 1, 0, 0, 0, 0, 15, 1, 0, 0, 0, 0, 17, 1, 0, 0, 0, 0, 19, 1, 0, 0, 0, 0, 21, 1, 0, 0, 0, 0, 23, 1, 0, 0, 0, 0, 25, 1, 0, 0, 0, 0, 27, 1, 0, 0, 0, 0, 29, 1, 0, 0, 0, 0, 31, 1, 0, 0, 0, 0, 33, 1, 0, 0, 0, 0, 35, 1, 0, 0, 0, 0, 37, 1, 0, 0, 0, 0, 39, 1, 0, 0, 0, 0, 41, 1, 0, 0, 0, 0, 43, 1, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 47, 1, 0, 0, 0, 0, 49, 1, 0, 0, 0, 0, 51, 1, 0, 0, 0, 0, 53, 1, 0, 0, 0, 0, 55, 1, 0, 0, 0, 0, 57, 1, 0, 0, 0, 0, 59, 1, 0, 0, 0, 0, 61, 1, 0, 0, 0, 0, 63, 1, 0, 0, 0, 0, 65, 1, 0, 0, 0, 0, 67, 1, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 77, 1, 0, 0, 0, 0, 79, 1, 0, 0, 0, 0, 81, 1, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 85, 1, 0, 0, 0, 0, 87, 1, 0, 0, 0, 0, 89, 1, 0, 0, 0, 0, 91, 1, 0, 0, 0, 0, 93, 1, 0, 0, 0, 0, 95, 1, 0, 0, 0, 1, 97, 1, 0, 0, 0, 3, 104, 1, 0, 0, 0, 5, 146, 1, 0, 0, 0, 7, 150, 1, 0, 0, 0, 9, 158, 1, 0, 0, 0, 11, 162, 1, 0, 0, 0, 13, 164, 1, 0, 0, 0, 15, 166, 1, 0, 0, 0, 17, 168, 1, 0, 0, 0, 19, 170, 1, 0, 0, 0, 21, 172, 1, 0, 0, 0, 23, 174, 1, 0, 0, 0, 25, 176, 1, 0, 0, 0, 27, 178, 1, 0, 0, 0, 29, 180, 1, 0, 0, 0, 31, 183, 1, 0, 0, 0, 33, 186, 1, 0, 0, 0, 35, 189, 1, 0, 0, 0, 37, 192, 1, 0, 0, 0, 39, 194, 1, 0, 0, 0, 41, 197, 1, 0, 0, 0, 43, 200, 1, 0, 0, 0, 45, 202, 1, 0, 0, 0, 47, 204, 1, 0, 0, 0, 49, 206, 1, 0, 0, 0, 51, 208, 1, 0, 0, 0, 53, 210, 1, 0, 0, 0, 55, 212, 1, 0, 0, 0, 57, 214, 1, 0, 0, 0, 59, 220, 1, 0, 0, 0, 61, 225, 1, 0, 0, 0, 63, 231, 1, 0, 0, 0, 65, 234, 1, 0, 0, 0, 67, 239, 1, 0, 0, 0, 69, 246, 1, 0, 0, 0, 71, 250, 1, 0, 0, 0, 73, 252, 1, 0, 0, 0, 75, 257, 1, 0, 0, 0, 77, 259, 1, 0, 0, 0, 79, 266, 1, 0, 0, 0, 81, 271, 1, 0, 0, 0, 83, 275, 1, 0, 0, 0, 85, 280, 1, 0, 0, 0, 87, 288, 1, 0, 0, 0, 89, 296, 1, 0, 0, 0, 91, 311, 1, 0, 0, 0, 93, 313, 1, 0, 0, 0, 95, 318, 1, 0, 0, 0, 97, 98, 5, 112, 0, 0, 98, 99, 5, 117, 0, 0, 99, 100, 5, 98, 0, 0, 100, 101, 5, 108, 0, 0, 101, 102, 5, 105, 0, 0, 102, 103, 5, 99, 0, 0, 103, 2, 1, 0, 0, 0, 104, 105, 5, 112, 0, 0, 105, 106, 5, 117, 0, 0, 106, 107, 5, 98, 0, 0, 107, 108, 5, 108, 0, 0, 108, 109, 5, 105, 0, 0, 109, 110, 5, 99, 0, 0, 110, 111, 5, 32, 0, 0, 111, 112, 5, 115, 0, 0, 112, 113, 5, 116, 0, 0, 113, 114, 5, 97, 0, 0, 114, 115, 5, 116, 0, 0, 115, 116, 5, 105, 0, 0, 116, 117, 5, 99, 0, 0, 117, 118, 5, 32, 0, 0, 118, 119, 5, 118, 0, 0, 119, 120, 5, 111, 0, 0, 120, 121, 5, 105, 0, 0, 121, 122, 5, 100, 0, 0, 122, 123, 5, 32, 0, 0, 123, 124, 5, 109, 0, 0, 124, 125, 5, 97, 0, 0, 125, 126, 5, 105, 0, 0, 126, 127, 5, 110, 0, 0, 127, 128, 5, 40, 0, 0, 128, 129, 5, 83, 0, 0, 129, 130, 5, 116, 0, 0, 130, 131, 5, 114, 0, 0, 131, 132, 5, 105, 0, 0, 132, 133, 5, 110, 0, 0, 133, 134, 5, 103, 0, 0, 134, 135, 5, 91, 0, 0, 135, 136, 5, 93, 0, 0, 136, 137, 5, 32, 0, 0, 137, 138, 5, 97, 0, 0, 138, 139, 5, 114, 0, 0, 139, 140, 5, 103, 0, 0, 140, 141, 5, 115, 0, 0, 141, 142, 5, 41, 0, 0, 142, 4, 1, 0, 0, 0, 143, 147, 3, 19, 9, 0, 144, 147, 3, 21, 10, 0, 145, 147, 3, 23, 11, 0, 146, 143, 1, 0, 0, 0, 146, 144, 1, 0, 0, 0, 146, 145, 1, 0, 0, 0, 147, 6, 1, 0, 0, 0, 148, 151, 3, 17, 8, 0, 149, 151, 3, 15, 7, 0, 150, 148, 1, 0, 0, 0, 150, 149, 1, 0, 0, 0, 151, 8, 1, 0, 0, 0, 152, 159, 3, 25, 12, 0, 153, 159, 3, 27, 13, 0, 154, 159, 3, 29, 14, 0, 155, 159, 3, 31, 15, 0, 156, 159, 3, 33, 16, 0, 157, 159, 3, 35, 17, 0, 158, 152, 1, 0, 0, 0, 158, 153, 1, 0, 0, 0, 158, 154, 1, 0, 0, 0, 158, 155, 1, 0, 0, 0, 158, 156, 1, 0, 0, 0, 158, 157, 1, 0, 0, 0, 159, 10, 1, 0, 0, 0, 160, 163, 3, 39, 19, 0, 161, 163, 3, 41, 20, 0, 162, 160, 1, 0, 0, 0, 162, 161, 1, 0, 0, 0, 163, 12, 1, 0, 0, 0, 164, 165, 5, 61, 0, 0, 165, 14, 1, 0, 0, 0, 166, 167, 5, 45, 0, 0, 167, 16, 1, 0, 0, 0, 168, 169, 5, 43, 0, 0, 169, 18, 1, 0, 0, 0, 170, 171, 5, 42, 0, 0, 171, 20, 1, 0, 0, 0, 172, 173, 5, 47, 0, 0, 173, 22, 1, 0, 0, 0, 174, 175, 5, 37, 0, 0, 175, 24, 1, 0, 0, 0, 176, 177, 5, 62, 0, 0, 177, 26, 1, 0, 0, 0, 178, 179, 5, 60, 0, 0, 179, 28, 1, 0, 0, 0, 180, 181, 5, 62, 0, 0, 181, 182, 5, 61, 0, 0, 182, 30, 1, 0, 0, 0, 183, 184, 5, 60, 0, 0, 184, 185, 5, 61, 0, 0, 185, 32, 1, 0, 0, 0, 186, 187, 5, 61, 0, 0, 187, 188, 5, 61, 0, 0, 188, 34, 1, 0, 0, 0, 189, 190, 5, 33, 0, 0, 190, 191, 5, 61, 0, 0, 191, 36, 1, 0, 0, 0, 192, 193, 5, 33, 0, 0, 193, 38, 1, 0, 0, 0, 194, 195, 5, 38, 0, 0, 195, 196, 5, 38, 0, 0, 196, 40, 1, 0, 0, 0, 197, 198, 5, 124, 0, 0, 198, 199, 5, 124, 0, 0, 199, 42, 1, 0, 0, 0, 200, 201, 5, 46, 0, 0, 201, 44, 1, 0, 0, 0, 202, 203, 5, 40, 0, 0, 203, 46, 1, 0, 0, 0, 204, 205, 5, 41, 0, 0, 205, 48, 1, 0, 0, 0, 206, 207, 5, 123, 0, 0, 207, 50, 1, 0, 0, 0, 208, 209, 5, 125, 0, 0, 209, 52, 1, 0, 0, 0, 210, 211, 5, 59, 0, 0, 211, 54, 1, 0, 0, 0, 212, 213, 5, 44, 0, 0, 213, 56, 1, 0, 0, 0, 214, 215, 5, 99, 0, 0, 215, 216, 5, 108, 0, 0, 216, 217, 5, 97, 0, 0, 217, 218, 5, 115, 0, 0, 218, 219, 5, 115, 0, 0, 219, 58, 1, 0, 0, 0, 220, 221, 5, 116, 0, 0, 221, 222, 5, 104, 0, 0, 222, 223, 5, 105, 0, 0, 223, 224, 5, 115, 0, 0, 224, 60, 1, 0, 0, 0, 225, 226, 5, 119, 0, 0, 226, 227, 5, 104, 0, 0, 227, 228, 5, 105, 0, 0, 228, 229, 5, 108, 0, 0, 229, 230, 5, 101, 0, 0, 230, 62, 1, 0, 0, 0, 231, 232, 5, 105, 0, 0, 232, 233, 5, 102, 0, 0, 233, 64, 1, 0, 0, 0, 234, 235, 5, 101, 0, 0, 235, 236, 5, 108, 0, 0, 236, 237, 5, 115, 0, 0, 237, 238, 5, 101, 0, 0, 238, 66, 1, 0, 0, 0, 239, 240, 5, 114, 0, 0, 240, 241, 5, 101, 0, 0, 241, 242, 5, 116, 0, 0, 242, 243, 5, 117, 0, 0, 243, 244, 5, 114, 0, 0, 244, 245, 5, 110, 0, 0, 245, 68, 1, 0, 0, 0, 246, 247, 5, 110, 0, 0, 247, 248, 5, 101, 0, 0, 248, 249, 5, 119, 0, 0, 249, 70, 1, 0, 0, 0, 250, 251, 7, 0, 0, 0, 251, 72, 1, 0, 0, 0, 252, 253, 7, 1, 0, 0, 253, 74, 1, 0, 0, 0, 254, 258, 3, 71, 35, 0, 255, 258, 3, 73, 36, 0, 256, 258, 7, 2, 0, 0, 257, 254, 1, 0, 0, 0, 257, 255, 1, 0, 0, 0, 257, 256, 1, 0, 0, 0, 258, 76, 1, 0, 0, 0, 259, 263, 3, 71, 35, 0, 260, 262, 3, 75, 37, 0, 261, 260, 1, 0, 0, 0, 262, 265, 1, 0, 0, 0, 263, 261, 1, 0, 0, 0, 263, 264, 1, 0, 0, 0, 264, 78, 1, 0, 0, 0, 265, 263, 1, 0, 0, 0, 266, 267, 5, 118, 0, 0, 267, 268, 5, 111, 0, 0, 268, 269, 5, 105, 0, 0, 269, 270, 5, 100, 0, 0, 270, 80, 1, 0, 0, 0, 271, 272, 5, 105, 0, 0, 272, 273, 5, 110, 0, 0, 273, 274, 5, 116, 0, 0, 274, 82, 1, 0, 0, 0, 275, 276, 5, 98, 0, 0, 276, 277, 5, 111, 0, 0, 277, 278, 5, 111, 0, 0, 278, 279, 5, 108, 0, 0, 279, 84, 1, 0, 0, 0, 280, 281, 5, 99, 0, 0, 281, 282, 5, 104, 0, 0, 282, 283, 5, 97, 0, 0, 283, 284, 5, 114, 0, 0, 284, 86, 1, 0, 0, 0, 285, 287, 7, 3, 0, 0, 286, 285, 1, 0, 0, 0, 287, 290, 1, 0, 0, 0, 288, 286, 1, 0, 0, 0, 288, 289, 1, 0, 0, 0, 289, 292, 1, 0, 0, 0, 290, 288, 1, 0, 0, 0, 291, 293, 7, 1, 0, 0, 292, 291, 1, 0, 0, 0, 293, 294, 1, 0, 0, 0, 294, 292, 1, 0, 0, 0, 294, 295, 1, 0, 0, 0, 295, 88, 1, 0, 0, 0, 296, 298, 5, 39, 0, 0, 297, 299, 8, 4, 0, 0, 298, 297, 1, 0, 0, 0, 298, 299, 1, 0, 0, 0, 299, 300, 1, 0, 0, 0, 300, 301, 5, 39, 0, 0, 301, 90, 1, 0, 0, 0, 302, 303, 5, 116, 0, 0, 303, 304, 5, 114, 0, 0, 304, 305, 5, 117, 0, 0, 305, 312, 5, 101, 0, 0, 306, 307, 5, 102, 0, 0, 307, 308, 5, 97, 0, 0, 308, 309, 5, 108, 0, 0, 309, 310, 5, 115, 0, 0, 310, 312, 5, 101, 0, 0, 311, 302, 1, 0, 0, 0, 311, 306, 1, 0, 0, 0, 312, 92, 1, 0, 0, 0, 313, 314, 5, 110, 0, 0, 314, 315, 5, 117, 0, 0, 315, 316, 5, 108, 0, 0, 316, 317, 5, 108, 0, 0, 317, 94, 1, 0, 0, 0, 318, 319, 7, 5, 0, 0, 319, 320, 1, 0, 0, 0, 320, 321, 6, 47, 0, 0, 321, 96, 1, 0, 0, 0, 11, 0, 146, 150, 158, 162, 257, 263, 288, 294, 298, 311, 1, 6, 0, 0] |