mirror of
https://github.com/JonathanFleischmann/CompilerULTIMATE.git
synced 2024-12-28 01:38:03 +00:00
generated new Visitor
This commit is contained in:
parent
258819d70f
commit
6f6edbd4b3
@ -12,12 +12,6 @@ import org.antlr.v4.runtime.CommonTokenStream;
|
||||
*/
|
||||
public class Compiler {
|
||||
|
||||
public static void main(String[] args) {
|
||||
generateAST("""
|
||||
class Test {
|
||||
}""");
|
||||
}
|
||||
|
||||
public static Class generateAST(String fromSource) {
|
||||
CharStream input = CharStreams.fromString(fromSource);
|
||||
DecafLexer lexer = new DecafLexer(input);
|
||||
|
File diff suppressed because one or more lines are too long
@ -16,36 +16,35 @@ T__14=15
|
||||
T__15=16
|
||||
T__16=17
|
||||
T__17=18
|
||||
T__18=19
|
||||
PUBLIC=20
|
||||
NEW=21
|
||||
NULL=22
|
||||
THIS=23
|
||||
SUB=24
|
||||
ADD=25
|
||||
MUL=26
|
||||
GT=27
|
||||
LT=28
|
||||
GE=29
|
||||
LE=30
|
||||
EQ=31
|
||||
NE=32
|
||||
AND=33
|
||||
OR=34
|
||||
ASSIGN=35
|
||||
ADD_ASSIGN=36
|
||||
SUB_ASSIGN=37
|
||||
MUL_ASSIGN=38
|
||||
NOT=39
|
||||
INT=40
|
||||
BOOL=41
|
||||
VOID=42
|
||||
CHAR=43
|
||||
BOOLEANLITERAL=44
|
||||
CHARLITERAL=45
|
||||
IDENTIFIER=46
|
||||
NUMBER=47
|
||||
WS=48
|
||||
PUBLIC=19
|
||||
NEW=20
|
||||
NULL=21
|
||||
THIS=22
|
||||
SUB=23
|
||||
ADD=24
|
||||
MUL=25
|
||||
GT=26
|
||||
LT=27
|
||||
GE=28
|
||||
LE=29
|
||||
EQ=30
|
||||
NE=31
|
||||
AND=32
|
||||
OR=33
|
||||
ASSIGN=34
|
||||
ADD_ASSIGN=35
|
||||
SUB_ASSIGN=36
|
||||
MUL_ASSIGN=37
|
||||
NOT=38
|
||||
INT=39
|
||||
BOOL=40
|
||||
VOID=41
|
||||
CHAR=42
|
||||
BOOLEANLITERAL=43
|
||||
CHARLITERAL=44
|
||||
IDENTIFIER=45
|
||||
NUMBER=46
|
||||
WS=47
|
||||
'class'=1
|
||||
'{'=2
|
||||
'}'=3
|
||||
@ -63,29 +62,28 @@ WS=48
|
||||
'do'=15
|
||||
'return'=16
|
||||
'break'=17
|
||||
'continue'=18
|
||||
'.'=19
|
||||
'public'=20
|
||||
'new'=21
|
||||
'null'=22
|
||||
'this'=23
|
||||
'-'=24
|
||||
'+'=25
|
||||
'*'=26
|
||||
'>'=27
|
||||
'<'=28
|
||||
'>='=29
|
||||
'<='=30
|
||||
'=='=31
|
||||
'!='=32
|
||||
'&&'=33
|
||||
'||'=34
|
||||
'='=35
|
||||
'+='=36
|
||||
'-='=37
|
||||
'*='=38
|
||||
'!'=39
|
||||
'int'=40
|
||||
'boolean'=41
|
||||
'void'=42
|
||||
'char'=43
|
||||
'.'=18
|
||||
'public'=19
|
||||
'new'=20
|
||||
'null'=21
|
||||
'this'=22
|
||||
'-'=23
|
||||
'+'=24
|
||||
'*'=25
|
||||
'>'=26
|
||||
'<'=27
|
||||
'>='=28
|
||||
'<='=29
|
||||
'=='=30
|
||||
'!='=31
|
||||
'&&'=32
|
||||
'||'=33
|
||||
'='=34
|
||||
'+='=35
|
||||
'-='=36
|
||||
'*='=37
|
||||
'!'=38
|
||||
'int'=39
|
||||
'boolean'=40
|
||||
'void'=41
|
||||
'char'=42
|
||||
|
@ -240,18 +240,6 @@ public class DecafBaseListener implements DecafListener {
|
||||
* <p>The default implementation does nothing.</p>
|
||||
*/
|
||||
@Override public void exitBreak(DecafParser.BreakContext ctx) { }
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*
|
||||
* <p>The default implementation does nothing.</p>
|
||||
*/
|
||||
@Override public void enterContinue(DecafParser.ContinueContext ctx) { }
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*
|
||||
* <p>The default implementation does nothing.</p>
|
||||
*/
|
||||
@Override public void exitContinue(DecafParser.ContinueContext ctx) { }
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*
|
||||
|
@ -145,13 +145,6 @@ public class DecafBaseVisitor<T> extends AbstractParseTreeVisitor<T> implements
|
||||
* {@link #visitChildren} on {@code ctx}.</p>
|
||||
*/
|
||||
@Override public T visitBreak(DecafParser.BreakContext ctx) { return visitChildren(ctx); }
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*
|
||||
* <p>The default implementation returns the result of calling
|
||||
* {@link #visitChildren} on {@code ctx}.</p>
|
||||
*/
|
||||
@Override public T visitContinue(DecafParser.ContinueContext ctx) { return visitChildren(ctx); }
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*
|
||||
|
File diff suppressed because one or more lines are too long
@ -19,11 +19,10 @@ public class DecafLexer extends Lexer {
|
||||
public static final int
|
||||
T__0=1, T__1=2, T__2=3, T__3=4, T__4=5, T__5=6, T__6=7, T__7=8, T__8=9,
|
||||
T__9=10, T__10=11, T__11=12, T__12=13, T__13=14, T__14=15, T__15=16, T__16=17,
|
||||
T__17=18, T__18=19, PUBLIC=20, NEW=21, NULL=22, THIS=23, SUB=24, ADD=25,
|
||||
MUL=26, GT=27, LT=28, GE=29, LE=30, EQ=31, NE=32, AND=33, OR=34, ASSIGN=35,
|
||||
ADD_ASSIGN=36, SUB_ASSIGN=37, MUL_ASSIGN=38, NOT=39, INT=40, BOOL=41,
|
||||
VOID=42, CHAR=43, BOOLEANLITERAL=44, CHARLITERAL=45, IDENTIFIER=46, NUMBER=47,
|
||||
WS=48;
|
||||
T__17=18, PUBLIC=19, NEW=20, NULL=21, THIS=22, SUB=23, ADD=24, MUL=25,
|
||||
GT=26, LT=27, GE=28, LE=29, EQ=30, NE=31, AND=32, OR=33, ASSIGN=34, ADD_ASSIGN=35,
|
||||
SUB_ASSIGN=36, MUL_ASSIGN=37, NOT=38, INT=39, BOOL=40, VOID=41, CHAR=42,
|
||||
BOOLEANLITERAL=43, CHARLITERAL=44, IDENTIFIER=45, NUMBER=46, WS=47;
|
||||
public static String[] channelNames = {
|
||||
"DEFAULT_TOKEN_CHANNEL", "HIDDEN"
|
||||
};
|
||||
@ -36,9 +35,9 @@ public class DecafLexer extends Lexer {
|
||||
return new String[] {
|
||||
"T__0", "T__1", "T__2", "T__3", "T__4", "T__5", "T__6", "T__7", "T__8",
|
||||
"T__9", "T__10", "T__11", "T__12", "T__13", "T__14", "T__15", "T__16",
|
||||
"T__17", "T__18", "PUBLIC", "NEW", "NULL", "THIS", "SUB", "ADD", "MUL",
|
||||
"GT", "LT", "GE", "LE", "EQ", "NE", "AND", "OR", "ASSIGN", "ADD_ASSIGN",
|
||||
"SUB_ASSIGN", "MUL_ASSIGN", "NOT", "INT", "BOOL", "VOID", "CHAR", "BOOLEANLITERAL",
|
||||
"T__17", "PUBLIC", "NEW", "NULL", "THIS", "SUB", "ADD", "MUL", "GT",
|
||||
"LT", "GE", "LE", "EQ", "NE", "AND", "OR", "ASSIGN", "ADD_ASSIGN", "SUB_ASSIGN",
|
||||
"MUL_ASSIGN", "NOT", "INT", "BOOL", "VOID", "CHAR", "BOOLEANLITERAL",
|
||||
"CHARLITERAL", "IDENTIFIER", "NUMBER", "WS"
|
||||
};
|
||||
}
|
||||
@ -48,21 +47,21 @@ public class DecafLexer extends Lexer {
|
||||
return new String[] {
|
||||
null, "'class'", "'{'", "'}'", "';'", "'('", "')'", "'static'", "'main'",
|
||||
"'String[] args'", "','", "'if'", "'else'", "'for'", "'while'", "'do'",
|
||||
"'return'", "'break'", "'continue'", "'.'", "'public'", "'new'", "'null'",
|
||||
"'this'", "'-'", "'+'", "'*'", "'>'", "'<'", "'>='", "'<='", "'=='",
|
||||
"'!='", "'&&'", "'||'", "'='", "'+='", "'-='", "'*='", "'!'", "'int'",
|
||||
"'boolean'", "'void'", "'char'"
|
||||
"'return'", "'break'", "'.'", "'public'", "'new'", "'null'", "'this'",
|
||||
"'-'", "'+'", "'*'", "'>'", "'<'", "'>='", "'<='", "'=='", "'!='", "'&&'",
|
||||
"'||'", "'='", "'+='", "'-='", "'*='", "'!'", "'int'", "'boolean'", "'void'",
|
||||
"'char'"
|
||||
};
|
||||
}
|
||||
private static final String[] _LITERAL_NAMES = makeLiteralNames();
|
||||
private static String[] makeSymbolicNames() {
|
||||
return new String[] {
|
||||
null, null, null, null, null, null, null, null, null, null, null, null,
|
||||
null, null, null, null, null, null, null, null, "PUBLIC", "NEW", "NULL",
|
||||
"THIS", "SUB", "ADD", "MUL", "GT", "LT", "GE", "LE", "EQ", "NE", "AND",
|
||||
"OR", "ASSIGN", "ADD_ASSIGN", "SUB_ASSIGN", "MUL_ASSIGN", "NOT", "INT",
|
||||
"BOOL", "VOID", "CHAR", "BOOLEANLITERAL", "CHARLITERAL", "IDENTIFIER",
|
||||
"NUMBER", "WS"
|
||||
null, null, null, null, null, null, null, "PUBLIC", "NEW", "NULL", "THIS",
|
||||
"SUB", "ADD", "MUL", "GT", "LT", "GE", "LE", "EQ", "NE", "AND", "OR",
|
||||
"ASSIGN", "ADD_ASSIGN", "SUB_ASSIGN", "MUL_ASSIGN", "NOT", "INT", "BOOL",
|
||||
"VOID", "CHAR", "BOOLEANLITERAL", "CHARLITERAL", "IDENTIFIER", "NUMBER",
|
||||
"WS"
|
||||
};
|
||||
}
|
||||
private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames();
|
||||
@ -124,7 +123,7 @@ public class DecafLexer extends Lexer {
|
||||
public ATN getATN() { return _ATN; }
|
||||
|
||||
public static final String _serializedATN =
|
||||
"\u0004\u00000\u012b\u0006\uffff\uffff\u0002\u0000\u0007\u0000\u0002\u0001"+
|
||||
"\u0004\u0000/\u0120\u0006\uffff\uffff\u0002\u0000\u0007\u0000\u0002\u0001"+
|
||||
"\u0007\u0001\u0002\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002\u0004"+
|
||||
"\u0007\u0004\u0002\u0005\u0007\u0005\u0002\u0006\u0007\u0006\u0002\u0007"+
|
||||
"\u0007\u0007\u0002\b\u0007\b\u0002\t\u0007\t\u0002\n\u0007\n\u0002\u000b"+
|
||||
@ -137,170 +136,164 @@ public class DecafLexer extends Lexer {
|
||||
"\u001e\u0007\u001e\u0002\u001f\u0007\u001f\u0002 \u0007 \u0002!\u0007"+
|
||||
"!\u0002\"\u0007\"\u0002#\u0007#\u0002$\u0007$\u0002%\u0007%\u0002&\u0007"+
|
||||
"&\u0002\'\u0007\'\u0002(\u0007(\u0002)\u0007)\u0002*\u0007*\u0002+\u0007"+
|
||||
"+\u0002,\u0007,\u0002-\u0007-\u0002.\u0007.\u0002/\u0007/\u0001\u0000"+
|
||||
"\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0001"+
|
||||
"\u0001\u0001\u0001\u0002\u0001\u0002\u0001\u0003\u0001\u0003\u0001\u0004"+
|
||||
"\u0001\u0004\u0001\u0005\u0001\u0005\u0001\u0006\u0001\u0006\u0001\u0006"+
|
||||
"\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0007\u0001\u0007"+
|
||||
"\u0001\u0007\u0001\u0007\u0001\u0007\u0001\b\u0001\b\u0001\b\u0001\b\u0001"+
|
||||
"\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001"+
|
||||
"\b\u0001\t\u0001\t\u0001\n\u0001\n\u0001\n\u0001\u000b\u0001\u000b\u0001"+
|
||||
"\u000b\u0001\u000b\u0001\u000b\u0001\f\u0001\f\u0001\f\u0001\f\u0001\r"+
|
||||
"\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0001\u000e\u0001\u000e\u0001"+
|
||||
"\u000e\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001"+
|
||||
"\u000f\u0001\u000f\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001"+
|
||||
"\u0010\u0001\u0010\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001"+
|
||||
"\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0011\u0001\u0012\u0001"+
|
||||
"\u0012\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001\u0013\u0001"+
|
||||
"\u0013\u0001\u0013\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001"+
|
||||
"+\u0002,\u0007,\u0002-\u0007-\u0002.\u0007.\u0001\u0000\u0001\u0000\u0001"+
|
||||
"\u0000\u0001\u0000\u0001\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0001"+
|
||||
"\u0002\u0001\u0002\u0001\u0003\u0001\u0003\u0001\u0004\u0001\u0004\u0001"+
|
||||
"\u0005\u0001\u0005\u0001\u0006\u0001\u0006\u0001\u0006\u0001\u0006\u0001"+
|
||||
"\u0006\u0001\u0006\u0001\u0006\u0001\u0007\u0001\u0007\u0001\u0007\u0001"+
|
||||
"\u0007\u0001\u0007\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001"+
|
||||
"\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\b\u0001\t\u0001"+
|
||||
"\t\u0001\n\u0001\n\u0001\n\u0001\u000b\u0001\u000b\u0001\u000b\u0001\u000b"+
|
||||
"\u0001\u000b\u0001\f\u0001\f\u0001\f\u0001\f\u0001\r\u0001\r\u0001\r\u0001"+
|
||||
"\r\u0001\r\u0001\r\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000f\u0001"+
|
||||
"\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001\u000f\u0001"+
|
||||
"\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001\u0010\u0001"+
|
||||
"\u0011\u0001\u0011\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001"+
|
||||
"\u0012\u0001\u0012\u0001\u0012\u0001\u0013\u0001\u0013\u0001\u0013\u0001"+
|
||||
"\u0013\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001\u0014\u0001"+
|
||||
"\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0015\u0001\u0016\u0001"+
|
||||
"\u0016\u0001\u0016\u0001\u0016\u0001\u0016\u0001\u0017\u0001\u0017\u0001"+
|
||||
"\u0018\u0001\u0018\u0001\u0019\u0001\u0019\u0001\u001a\u0001\u001a\u0001"+
|
||||
"\u001b\u0001\u001b\u0001\u001c\u0001\u001c\u0001\u001c\u0001\u001d\u0001"+
|
||||
"\u001d\u0001\u001d\u0001\u001e\u0001\u001e\u0001\u001e\u0001\u001f\u0001"+
|
||||
"\u001f\u0001\u001f\u0001 \u0001 \u0001 \u0001!\u0001!\u0001!\u0001\"\u0001"+
|
||||
"\"\u0001#\u0001#\u0001#\u0001$\u0001$\u0001$\u0001%\u0001%\u0001%\u0001"+
|
||||
"&\u0001&\u0001\'\u0001\'\u0001\'\u0001\'\u0001(\u0001(\u0001(\u0001(\u0001"+
|
||||
"\u0016\u0001\u0017\u0001\u0017\u0001\u0018\u0001\u0018\u0001\u0019\u0001"+
|
||||
"\u0019\u0001\u001a\u0001\u001a\u0001\u001b\u0001\u001b\u0001\u001b\u0001"+
|
||||
"\u001c\u0001\u001c\u0001\u001c\u0001\u001d\u0001\u001d\u0001\u001d\u0001"+
|
||||
"\u001e\u0001\u001e\u0001\u001e\u0001\u001f\u0001\u001f\u0001\u001f\u0001"+
|
||||
" \u0001 \u0001 \u0001!\u0001!\u0001\"\u0001\"\u0001\"\u0001#\u0001#\u0001"+
|
||||
"#\u0001$\u0001$\u0001$\u0001%\u0001%\u0001&\u0001&\u0001&\u0001&\u0001"+
|
||||
"\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001\'\u0001(\u0001"+
|
||||
"(\u0001(\u0001(\u0001(\u0001)\u0001)\u0001)\u0001)\u0001)\u0001*\u0001"+
|
||||
"*\u0001*\u0001*\u0001*\u0001+\u0001+\u0001+\u0001+\u0001+\u0001+\u0001"+
|
||||
"+\u0001+\u0001+\u0003+\u0118\b+\u0001,\u0001,\u0001,\u0001,\u0001-\u0004"+
|
||||
"-\u011f\b-\u000b-\f-\u0120\u0001.\u0004.\u0124\b.\u000b.\f.\u0125\u0001"+
|
||||
"/\u0001/\u0001/\u0001/\u0000\u00000\u0001\u0001\u0003\u0002\u0005\u0003"+
|
||||
"\u0007\u0004\t\u0005\u000b\u0006\r\u0007\u000f\b\u0011\t\u0013\n\u0015"+
|
||||
"\u000b\u0017\f\u0019\r\u001b\u000e\u001d\u000f\u001f\u0010!\u0011#\u0012"+
|
||||
"%\u0013\'\u0014)\u0015+\u0016-\u0017/\u00181\u00193\u001a5\u001b7\u001c"+
|
||||
"9\u001d;\u001e=\u001f? A!C\"E#G$I%K&M\'O(Q)S*U+W,Y-[.]/_0\u0001\u0000"+
|
||||
"\u0004\u0001\u0000\'\'\u0002\u0000AZaz\u0001\u000009\u0003\u0000\t\n\r"+
|
||||
"\r \u012d\u0000\u0001\u0001\u0000\u0000\u0000\u0000\u0003\u0001\u0000"+
|
||||
"\u0000\u0000\u0000\u0005\u0001\u0000\u0000\u0000\u0000\u0007\u0001\u0000"+
|
||||
"\u0000\u0000\u0000\t\u0001\u0000\u0000\u0000\u0000\u000b\u0001\u0000\u0000"+
|
||||
"\u0000\u0000\r\u0001\u0000\u0000\u0000\u0000\u000f\u0001\u0000\u0000\u0000"+
|
||||
"\u0000\u0011\u0001\u0000\u0000\u0000\u0000\u0013\u0001\u0000\u0000\u0000"+
|
||||
"\u0000\u0015\u0001\u0000\u0000\u0000\u0000\u0017\u0001\u0000\u0000\u0000"+
|
||||
"\u0000\u0019\u0001\u0000\u0000\u0000\u0000\u001b\u0001\u0000\u0000\u0000"+
|
||||
"\u0000\u001d\u0001\u0000\u0000\u0000\u0000\u001f\u0001\u0000\u0000\u0000"+
|
||||
"\u0000!\u0001\u0000\u0000\u0000\u0000#\u0001\u0000\u0000\u0000\u0000%"+
|
||||
"\u0001\u0000\u0000\u0000\u0000\'\u0001\u0000\u0000\u0000\u0000)\u0001"+
|
||||
"\u0000\u0000\u0000\u0000+\u0001\u0000\u0000\u0000\u0000-\u0001\u0000\u0000"+
|
||||
"\u0000\u0000/\u0001\u0000\u0000\u0000\u00001\u0001\u0000\u0000\u0000\u0000"+
|
||||
"3\u0001\u0000\u0000\u0000\u00005\u0001\u0000\u0000\u0000\u00007\u0001"+
|
||||
"\u0000\u0000\u0000\u00009\u0001\u0000\u0000\u0000\u0000;\u0001\u0000\u0000"+
|
||||
"\u0000\u0000=\u0001\u0000\u0000\u0000\u0000?\u0001\u0000\u0000\u0000\u0000"+
|
||||
"A\u0001\u0000\u0000\u0000\u0000C\u0001\u0000\u0000\u0000\u0000E\u0001"+
|
||||
"\u0000\u0000\u0000\u0000G\u0001\u0000\u0000\u0000\u0000I\u0001\u0000\u0000"+
|
||||
"\u0000\u0000K\u0001\u0000\u0000\u0000\u0000M\u0001\u0000\u0000\u0000\u0000"+
|
||||
"O\u0001\u0000\u0000\u0000\u0000Q\u0001\u0000\u0000\u0000\u0000S\u0001"+
|
||||
"\u0000\u0000\u0000\u0000U\u0001\u0000\u0000\u0000\u0000W\u0001\u0000\u0000"+
|
||||
"\u0000\u0000Y\u0001\u0000\u0000\u0000\u0000[\u0001\u0000\u0000\u0000\u0000"+
|
||||
"]\u0001\u0000\u0000\u0000\u0000_\u0001\u0000\u0000\u0000\u0001a\u0001"+
|
||||
"\u0000\u0000\u0000\u0003g\u0001\u0000\u0000\u0000\u0005i\u0001\u0000\u0000"+
|
||||
"\u0000\u0007k\u0001\u0000\u0000\u0000\tm\u0001\u0000\u0000\u0000\u000b"+
|
||||
"o\u0001\u0000\u0000\u0000\rq\u0001\u0000\u0000\u0000\u000fx\u0001\u0000"+
|
||||
"\u0000\u0000\u0011}\u0001\u0000\u0000\u0000\u0013\u008b\u0001\u0000\u0000"+
|
||||
"\u0000\u0015\u008d\u0001\u0000\u0000\u0000\u0017\u0090\u0001\u0000\u0000"+
|
||||
"\u0000\u0019\u0095\u0001\u0000\u0000\u0000\u001b\u0099\u0001\u0000\u0000"+
|
||||
"\u0000\u001d\u009f\u0001\u0000\u0000\u0000\u001f\u00a2\u0001\u0000\u0000"+
|
||||
"\u0000!\u00a9\u0001\u0000\u0000\u0000#\u00af\u0001\u0000\u0000\u0000%"+
|
||||
"\u00b8\u0001\u0000\u0000\u0000\'\u00ba\u0001\u0000\u0000\u0000)\u00c1"+
|
||||
"\u0001\u0000\u0000\u0000+\u00c5\u0001\u0000\u0000\u0000-\u00ca\u0001\u0000"+
|
||||
"\u0000\u0000/\u00cf\u0001\u0000\u0000\u00001\u00d1\u0001\u0000\u0000\u0000"+
|
||||
"3\u00d3\u0001\u0000\u0000\u00005\u00d5\u0001\u0000\u0000\u00007\u00d7"+
|
||||
"\u0001\u0000\u0000\u00009\u00d9\u0001\u0000\u0000\u0000;\u00dc\u0001\u0000"+
|
||||
"\u0000\u0000=\u00df\u0001\u0000\u0000\u0000?\u00e2\u0001\u0000\u0000\u0000"+
|
||||
"A\u00e5\u0001\u0000\u0000\u0000C\u00e8\u0001\u0000\u0000\u0000E\u00eb"+
|
||||
"\u0001\u0000\u0000\u0000G\u00ed\u0001\u0000\u0000\u0000I\u00f0\u0001\u0000"+
|
||||
"\u0000\u0000K\u00f3\u0001\u0000\u0000\u0000M\u00f6\u0001\u0000\u0000\u0000"+
|
||||
"O\u00f8\u0001\u0000\u0000\u0000Q\u00fc\u0001\u0000\u0000\u0000S\u0104"+
|
||||
"\u0001\u0000\u0000\u0000U\u0109\u0001\u0000\u0000\u0000W\u0117\u0001\u0000"+
|
||||
"\u0000\u0000Y\u0119\u0001\u0000\u0000\u0000[\u011e\u0001\u0000\u0000\u0000"+
|
||||
"]\u0123\u0001\u0000\u0000\u0000_\u0127\u0001\u0000\u0000\u0000ab\u0005"+
|
||||
"c\u0000\u0000bc\u0005l\u0000\u0000cd\u0005a\u0000\u0000de\u0005s\u0000"+
|
||||
"\u0000ef\u0005s\u0000\u0000f\u0002\u0001\u0000\u0000\u0000gh\u0005{\u0000"+
|
||||
"\u0000h\u0004\u0001\u0000\u0000\u0000ij\u0005}\u0000\u0000j\u0006\u0001"+
|
||||
"\u0000\u0000\u0000kl\u0005;\u0000\u0000l\b\u0001\u0000\u0000\u0000mn\u0005"+
|
||||
"(\u0000\u0000n\n\u0001\u0000\u0000\u0000op\u0005)\u0000\u0000p\f\u0001"+
|
||||
"\u0000\u0000\u0000qr\u0005s\u0000\u0000rs\u0005t\u0000\u0000st\u0005a"+
|
||||
"\u0000\u0000tu\u0005t\u0000\u0000uv\u0005i\u0000\u0000vw\u0005c\u0000"+
|
||||
"\u0000w\u000e\u0001\u0000\u0000\u0000xy\u0005m\u0000\u0000yz\u0005a\u0000"+
|
||||
"\u0000z{\u0005i\u0000\u0000{|\u0005n\u0000\u0000|\u0010\u0001\u0000\u0000"+
|
||||
"\u0000}~\u0005S\u0000\u0000~\u007f\u0005t\u0000\u0000\u007f\u0080\u0005"+
|
||||
"r\u0000\u0000\u0080\u0081\u0005i\u0000\u0000\u0081\u0082\u0005n\u0000"+
|
||||
"\u0000\u0082\u0083\u0005g\u0000\u0000\u0083\u0084\u0005[\u0000\u0000\u0084"+
|
||||
"\u0085\u0005]\u0000\u0000\u0085\u0086\u0005 \u0000\u0000\u0086\u0087\u0005"+
|
||||
"a\u0000\u0000\u0087\u0088\u0005r\u0000\u0000\u0088\u0089\u0005g\u0000"+
|
||||
"\u0000\u0089\u008a\u0005s\u0000\u0000\u008a\u0012\u0001\u0000\u0000\u0000"+
|
||||
"\u008b\u008c\u0005,\u0000\u0000\u008c\u0014\u0001\u0000\u0000\u0000\u008d"+
|
||||
"\u008e\u0005i\u0000\u0000\u008e\u008f\u0005f\u0000\u0000\u008f\u0016\u0001"+
|
||||
"\u0000\u0000\u0000\u0090\u0091\u0005e\u0000\u0000\u0091\u0092\u0005l\u0000"+
|
||||
"\u0000\u0092\u0093\u0005s\u0000\u0000\u0093\u0094\u0005e\u0000\u0000\u0094"+
|
||||
"\u0018\u0001\u0000\u0000\u0000\u0095\u0096\u0005f\u0000\u0000\u0096\u0097"+
|
||||
"\u0005o\u0000\u0000\u0097\u0098\u0005r\u0000\u0000\u0098\u001a\u0001\u0000"+
|
||||
"\u0000\u0000\u0099\u009a\u0005w\u0000\u0000\u009a\u009b\u0005h\u0000\u0000"+
|
||||
"\u009b\u009c\u0005i\u0000\u0000\u009c\u009d\u0005l\u0000\u0000\u009d\u009e"+
|
||||
"\u0005e\u0000\u0000\u009e\u001c\u0001\u0000\u0000\u0000\u009f\u00a0\u0005"+
|
||||
"d\u0000\u0000\u00a0\u00a1\u0005o\u0000\u0000\u00a1\u001e\u0001\u0000\u0000"+
|
||||
"\u0000\u00a2\u00a3\u0005r\u0000\u0000\u00a3\u00a4\u0005e\u0000\u0000\u00a4"+
|
||||
"\u00a5\u0005t\u0000\u0000\u00a5\u00a6\u0005u\u0000\u0000\u00a6\u00a7\u0005"+
|
||||
"r\u0000\u0000\u00a7\u00a8\u0005n\u0000\u0000\u00a8 \u0001\u0000\u0000"+
|
||||
"\u0000\u00a9\u00aa\u0005b\u0000\u0000\u00aa\u00ab\u0005r\u0000\u0000\u00ab"+
|
||||
"\u00ac\u0005e\u0000\u0000\u00ac\u00ad\u0005a\u0000\u0000\u00ad\u00ae\u0005"+
|
||||
"k\u0000\u0000\u00ae\"\u0001\u0000\u0000\u0000\u00af\u00b0\u0005c\u0000"+
|
||||
"\u0000\u00b0\u00b1\u0005o\u0000\u0000\u00b1\u00b2\u0005n\u0000\u0000\u00b2"+
|
||||
"\u00b3\u0005t\u0000\u0000\u00b3\u00b4\u0005i\u0000\u0000\u00b4\u00b5\u0005"+
|
||||
"n\u0000\u0000\u00b5\u00b6\u0005u\u0000\u0000\u00b6\u00b7\u0005e\u0000"+
|
||||
"\u0000\u00b7$\u0001\u0000\u0000\u0000\u00b8\u00b9\u0005.\u0000\u0000\u00b9"+
|
||||
"&\u0001\u0000\u0000\u0000\u00ba\u00bb\u0005p\u0000\u0000\u00bb\u00bc\u0005"+
|
||||
"u\u0000\u0000\u00bc\u00bd\u0005b\u0000\u0000\u00bd\u00be\u0005l\u0000"+
|
||||
"\u0000\u00be\u00bf\u0005i\u0000\u0000\u00bf\u00c0\u0005c\u0000\u0000\u00c0"+
|
||||
"(\u0001\u0000\u0000\u0000\u00c1\u00c2\u0005n\u0000\u0000\u00c2\u00c3\u0005"+
|
||||
"e\u0000\u0000\u00c3\u00c4\u0005w\u0000\u0000\u00c4*\u0001\u0000\u0000"+
|
||||
"\u0000\u00c5\u00c6\u0005n\u0000\u0000\u00c6\u00c7\u0005u\u0000\u0000\u00c7"+
|
||||
"\u00c8\u0005l\u0000\u0000\u00c8\u00c9\u0005l\u0000\u0000\u00c9,\u0001"+
|
||||
"\u0000\u0000\u0000\u00ca\u00cb\u0005t\u0000\u0000\u00cb\u00cc\u0005h\u0000"+
|
||||
"\u0000\u00cc\u00cd\u0005i\u0000\u0000\u00cd\u00ce\u0005s\u0000\u0000\u00ce"+
|
||||
".\u0001\u0000\u0000\u0000\u00cf\u00d0\u0005-\u0000\u0000\u00d00\u0001"+
|
||||
"\u0000\u0000\u0000\u00d1\u00d2\u0005+\u0000\u0000\u00d22\u0001\u0000\u0000"+
|
||||
"\u0000\u00d3\u00d4\u0005*\u0000\u0000\u00d44\u0001\u0000\u0000\u0000\u00d5"+
|
||||
"\u00d6\u0005>\u0000\u0000\u00d66\u0001\u0000\u0000\u0000\u00d7\u00d8\u0005"+
|
||||
"<\u0000\u0000\u00d88\u0001\u0000\u0000\u0000\u00d9\u00da\u0005>\u0000"+
|
||||
"\u0000\u00da\u00db\u0005=\u0000\u0000\u00db:\u0001\u0000\u0000\u0000\u00dc"+
|
||||
"\u00dd\u0005<\u0000\u0000\u00dd\u00de\u0005=\u0000\u0000\u00de<\u0001"+
|
||||
"\u0000\u0000\u0000\u00df\u00e0\u0005=\u0000\u0000\u00e0\u00e1\u0005=\u0000"+
|
||||
"\u0000\u00e1>\u0001\u0000\u0000\u0000\u00e2\u00e3\u0005!\u0000\u0000\u00e3"+
|
||||
"\u00e4\u0005=\u0000\u0000\u00e4@\u0001\u0000\u0000\u0000\u00e5\u00e6\u0005"+
|
||||
"&\u0000\u0000\u00e6\u00e7\u0005&\u0000\u0000\u00e7B\u0001\u0000\u0000"+
|
||||
"\u0000\u00e8\u00e9\u0005|\u0000\u0000\u00e9\u00ea\u0005|\u0000\u0000\u00ea"+
|
||||
"D\u0001\u0000\u0000\u0000\u00eb\u00ec\u0005=\u0000\u0000\u00ecF\u0001"+
|
||||
"\u0000\u0000\u0000\u00ed\u00ee\u0005+\u0000\u0000\u00ee\u00ef\u0005=\u0000"+
|
||||
"\u0000\u00efH\u0001\u0000\u0000\u0000\u00f0\u00f1\u0005-\u0000\u0000\u00f1"+
|
||||
"\u00f2\u0005=\u0000\u0000\u00f2J\u0001\u0000\u0000\u0000\u00f3\u00f4\u0005"+
|
||||
"*\u0000\u0000\u00f4\u00f5\u0005=\u0000\u0000\u00f5L\u0001\u0000\u0000"+
|
||||
"\u0000\u00f6\u00f7\u0005!\u0000\u0000\u00f7N\u0001\u0000\u0000\u0000\u00f8"+
|
||||
"\u00f9\u0005i\u0000\u0000\u00f9\u00fa\u0005n\u0000\u0000\u00fa\u00fb\u0005"+
|
||||
"t\u0000\u0000\u00fbP\u0001\u0000\u0000\u0000\u00fc\u00fd\u0005b\u0000"+
|
||||
"\u0000\u00fd\u00fe\u0005o\u0000\u0000\u00fe\u00ff\u0005o\u0000\u0000\u00ff"+
|
||||
"\u0100\u0005l\u0000\u0000\u0100\u0101\u0005e\u0000\u0000\u0101\u0102\u0005"+
|
||||
"a\u0000\u0000\u0102\u0103\u0005n\u0000\u0000\u0103R\u0001\u0000\u0000"+
|
||||
"\u0000\u0104\u0105\u0005v\u0000\u0000\u0105\u0106\u0005o\u0000\u0000\u0106"+
|
||||
"\u0107\u0005i\u0000\u0000\u0107\u0108\u0005d\u0000\u0000\u0108T\u0001"+
|
||||
"\u0000\u0000\u0000\u0109\u010a\u0005c\u0000\u0000\u010a\u010b\u0005h\u0000"+
|
||||
"\u0000\u010b\u010c\u0005a\u0000\u0000\u010c\u010d\u0005r\u0000\u0000\u010d"+
|
||||
"V\u0001\u0000\u0000\u0000\u010e\u010f\u0005t\u0000\u0000\u010f\u0110\u0005"+
|
||||
"r\u0000\u0000\u0110\u0111\u0005u\u0000\u0000\u0111\u0118\u0005e\u0000"+
|
||||
"\u0000\u0112\u0113\u0005f\u0000\u0000\u0113\u0114\u0005a\u0000\u0000\u0114"+
|
||||
"\u0115\u0005l\u0000\u0000\u0115\u0116\u0005s\u0000\u0000\u0116\u0118\u0005"+
|
||||
"e\u0000\u0000\u0117\u010e\u0001\u0000\u0000\u0000\u0117\u0112\u0001\u0000"+
|
||||
"\u0000\u0000\u0118X\u0001\u0000\u0000\u0000\u0119\u011a\u0007\u0000\u0000"+
|
||||
"\u0000\u011a\u011b\u0007\u0001\u0000\u0000\u011b\u011c\u0007\u0000\u0000"+
|
||||
"\u0000\u011cZ\u0001\u0000\u0000\u0000\u011d\u011f\u0007\u0001\u0000\u0000"+
|
||||
"\u011e\u011d\u0001\u0000\u0000\u0000\u011f\u0120\u0001\u0000\u0000\u0000"+
|
||||
"\u0120\u011e\u0001\u0000\u0000\u0000\u0120\u0121\u0001\u0000\u0000\u0000"+
|
||||
"\u0121\\\u0001\u0000\u0000\u0000\u0122\u0124\u0007\u0002\u0000\u0000\u0123"+
|
||||
"\u0122\u0001\u0000\u0000\u0000\u0124\u0125\u0001\u0000\u0000\u0000\u0125"+
|
||||
"\u0123\u0001\u0000\u0000\u0000\u0125\u0126\u0001\u0000\u0000\u0000\u0126"+
|
||||
"^\u0001\u0000\u0000\u0000\u0127\u0128\u0007\u0003\u0000\u0000\u0128\u0129"+
|
||||
"\u0001\u0000\u0000\u0000\u0129\u012a\u0006/\u0000\u0000\u012a`\u0001\u0000"+
|
||||
"\u0000\u0000\u0004\u0000\u0117\u0120\u0125\u0001\u0006\u0000\u0000";
|
||||
"*\u0001*\u0001*\u0001*\u0001*\u0001*\u0001*\u0001*\u0003*\u010d\b*\u0001"+
|
||||
"+\u0001+\u0001+\u0001+\u0001,\u0004,\u0114\b,\u000b,\f,\u0115\u0001-\u0004"+
|
||||
"-\u0119\b-\u000b-\f-\u011a\u0001.\u0001.\u0001.\u0001.\u0000\u0000/\u0001"+
|
||||
"\u0001\u0003\u0002\u0005\u0003\u0007\u0004\t\u0005\u000b\u0006\r\u0007"+
|
||||
"\u000f\b\u0011\t\u0013\n\u0015\u000b\u0017\f\u0019\r\u001b\u000e\u001d"+
|
||||
"\u000f\u001f\u0010!\u0011#\u0012%\u0013\'\u0014)\u0015+\u0016-\u0017/"+
|
||||
"\u00181\u00193\u001a5\u001b7\u001c9\u001d;\u001e=\u001f? A!C\"E#G$I%K"+
|
||||
"&M\'O(Q)S*U+W,Y-[.]/\u0001\u0000\u0004\u0001\u0000\'\'\u0002\u0000AZa"+
|
||||
"z\u0001\u000009\u0003\u0000\t\n\r\r \u0122\u0000\u0001\u0001\u0000\u0000"+
|
||||
"\u0000\u0000\u0003\u0001\u0000\u0000\u0000\u0000\u0005\u0001\u0000\u0000"+
|
||||
"\u0000\u0000\u0007\u0001\u0000\u0000\u0000\u0000\t\u0001\u0000\u0000\u0000"+
|
||||
"\u0000\u000b\u0001\u0000\u0000\u0000\u0000\r\u0001\u0000\u0000\u0000\u0000"+
|
||||
"\u000f\u0001\u0000\u0000\u0000\u0000\u0011\u0001\u0000\u0000\u0000\u0000"+
|
||||
"\u0013\u0001\u0000\u0000\u0000\u0000\u0015\u0001\u0000\u0000\u0000\u0000"+
|
||||
"\u0017\u0001\u0000\u0000\u0000\u0000\u0019\u0001\u0000\u0000\u0000\u0000"+
|
||||
"\u001b\u0001\u0000\u0000\u0000\u0000\u001d\u0001\u0000\u0000\u0000\u0000"+
|
||||
"\u001f\u0001\u0000\u0000\u0000\u0000!\u0001\u0000\u0000\u0000\u0000#\u0001"+
|
||||
"\u0000\u0000\u0000\u0000%\u0001\u0000\u0000\u0000\u0000\'\u0001\u0000"+
|
||||
"\u0000\u0000\u0000)\u0001\u0000\u0000\u0000\u0000+\u0001\u0000\u0000\u0000"+
|
||||
"\u0000-\u0001\u0000\u0000\u0000\u0000/\u0001\u0000\u0000\u0000\u00001"+
|
||||
"\u0001\u0000\u0000\u0000\u00003\u0001\u0000\u0000\u0000\u00005\u0001\u0000"+
|
||||
"\u0000\u0000\u00007\u0001\u0000\u0000\u0000\u00009\u0001\u0000\u0000\u0000"+
|
||||
"\u0000;\u0001\u0000\u0000\u0000\u0000=\u0001\u0000\u0000\u0000\u0000?"+
|
||||
"\u0001\u0000\u0000\u0000\u0000A\u0001\u0000\u0000\u0000\u0000C\u0001\u0000"+
|
||||
"\u0000\u0000\u0000E\u0001\u0000\u0000\u0000\u0000G\u0001\u0000\u0000\u0000"+
|
||||
"\u0000I\u0001\u0000\u0000\u0000\u0000K\u0001\u0000\u0000\u0000\u0000M"+
|
||||
"\u0001\u0000\u0000\u0000\u0000O\u0001\u0000\u0000\u0000\u0000Q\u0001\u0000"+
|
||||
"\u0000\u0000\u0000S\u0001\u0000\u0000\u0000\u0000U\u0001\u0000\u0000\u0000"+
|
||||
"\u0000W\u0001\u0000\u0000\u0000\u0000Y\u0001\u0000\u0000\u0000\u0000["+
|
||||
"\u0001\u0000\u0000\u0000\u0000]\u0001\u0000\u0000\u0000\u0001_\u0001\u0000"+
|
||||
"\u0000\u0000\u0003e\u0001\u0000\u0000\u0000\u0005g\u0001\u0000\u0000\u0000"+
|
||||
"\u0007i\u0001\u0000\u0000\u0000\tk\u0001\u0000\u0000\u0000\u000bm\u0001"+
|
||||
"\u0000\u0000\u0000\ro\u0001\u0000\u0000\u0000\u000fv\u0001\u0000\u0000"+
|
||||
"\u0000\u0011{\u0001\u0000\u0000\u0000\u0013\u0089\u0001\u0000\u0000\u0000"+
|
||||
"\u0015\u008b\u0001\u0000\u0000\u0000\u0017\u008e\u0001\u0000\u0000\u0000"+
|
||||
"\u0019\u0093\u0001\u0000\u0000\u0000\u001b\u0097\u0001\u0000\u0000\u0000"+
|
||||
"\u001d\u009d\u0001\u0000\u0000\u0000\u001f\u00a0\u0001\u0000\u0000\u0000"+
|
||||
"!\u00a7\u0001\u0000\u0000\u0000#\u00ad\u0001\u0000\u0000\u0000%\u00af"+
|
||||
"\u0001\u0000\u0000\u0000\'\u00b6\u0001\u0000\u0000\u0000)\u00ba\u0001"+
|
||||
"\u0000\u0000\u0000+\u00bf\u0001\u0000\u0000\u0000-\u00c4\u0001\u0000\u0000"+
|
||||
"\u0000/\u00c6\u0001\u0000\u0000\u00001\u00c8\u0001\u0000\u0000\u00003"+
|
||||
"\u00ca\u0001\u0000\u0000\u00005\u00cc\u0001\u0000\u0000\u00007\u00ce\u0001"+
|
||||
"\u0000\u0000\u00009\u00d1\u0001\u0000\u0000\u0000;\u00d4\u0001\u0000\u0000"+
|
||||
"\u0000=\u00d7\u0001\u0000\u0000\u0000?\u00da\u0001\u0000\u0000\u0000A"+
|
||||
"\u00dd\u0001\u0000\u0000\u0000C\u00e0\u0001\u0000\u0000\u0000E\u00e2\u0001"+
|
||||
"\u0000\u0000\u0000G\u00e5\u0001\u0000\u0000\u0000I\u00e8\u0001\u0000\u0000"+
|
||||
"\u0000K\u00eb\u0001\u0000\u0000\u0000M\u00ed\u0001\u0000\u0000\u0000O"+
|
||||
"\u00f1\u0001\u0000\u0000\u0000Q\u00f9\u0001\u0000\u0000\u0000S\u00fe\u0001"+
|
||||
"\u0000\u0000\u0000U\u010c\u0001\u0000\u0000\u0000W\u010e\u0001\u0000\u0000"+
|
||||
"\u0000Y\u0113\u0001\u0000\u0000\u0000[\u0118\u0001\u0000\u0000\u0000]"+
|
||||
"\u011c\u0001\u0000\u0000\u0000_`\u0005c\u0000\u0000`a\u0005l\u0000\u0000"+
|
||||
"ab\u0005a\u0000\u0000bc\u0005s\u0000\u0000cd\u0005s\u0000\u0000d\u0002"+
|
||||
"\u0001\u0000\u0000\u0000ef\u0005{\u0000\u0000f\u0004\u0001\u0000\u0000"+
|
||||
"\u0000gh\u0005}\u0000\u0000h\u0006\u0001\u0000\u0000\u0000ij\u0005;\u0000"+
|
||||
"\u0000j\b\u0001\u0000\u0000\u0000kl\u0005(\u0000\u0000l\n\u0001\u0000"+
|
||||
"\u0000\u0000mn\u0005)\u0000\u0000n\f\u0001\u0000\u0000\u0000op\u0005s"+
|
||||
"\u0000\u0000pq\u0005t\u0000\u0000qr\u0005a\u0000\u0000rs\u0005t\u0000"+
|
||||
"\u0000st\u0005i\u0000\u0000tu\u0005c\u0000\u0000u\u000e\u0001\u0000\u0000"+
|
||||
"\u0000vw\u0005m\u0000\u0000wx\u0005a\u0000\u0000xy\u0005i\u0000\u0000"+
|
||||
"yz\u0005n\u0000\u0000z\u0010\u0001\u0000\u0000\u0000{|\u0005S\u0000\u0000"+
|
||||
"|}\u0005t\u0000\u0000}~\u0005r\u0000\u0000~\u007f\u0005i\u0000\u0000\u007f"+
|
||||
"\u0080\u0005n\u0000\u0000\u0080\u0081\u0005g\u0000\u0000\u0081\u0082\u0005"+
|
||||
"[\u0000\u0000\u0082\u0083\u0005]\u0000\u0000\u0083\u0084\u0005 \u0000"+
|
||||
"\u0000\u0084\u0085\u0005a\u0000\u0000\u0085\u0086\u0005r\u0000\u0000\u0086"+
|
||||
"\u0087\u0005g\u0000\u0000\u0087\u0088\u0005s\u0000\u0000\u0088\u0012\u0001"+
|
||||
"\u0000\u0000\u0000\u0089\u008a\u0005,\u0000\u0000\u008a\u0014\u0001\u0000"+
|
||||
"\u0000\u0000\u008b\u008c\u0005i\u0000\u0000\u008c\u008d\u0005f\u0000\u0000"+
|
||||
"\u008d\u0016\u0001\u0000\u0000\u0000\u008e\u008f\u0005e\u0000\u0000\u008f"+
|
||||
"\u0090\u0005l\u0000\u0000\u0090\u0091\u0005s\u0000\u0000\u0091\u0092\u0005"+
|
||||
"e\u0000\u0000\u0092\u0018\u0001\u0000\u0000\u0000\u0093\u0094\u0005f\u0000"+
|
||||
"\u0000\u0094\u0095\u0005o\u0000\u0000\u0095\u0096\u0005r\u0000\u0000\u0096"+
|
||||
"\u001a\u0001\u0000\u0000\u0000\u0097\u0098\u0005w\u0000\u0000\u0098\u0099"+
|
||||
"\u0005h\u0000\u0000\u0099\u009a\u0005i\u0000\u0000\u009a\u009b\u0005l"+
|
||||
"\u0000\u0000\u009b\u009c\u0005e\u0000\u0000\u009c\u001c\u0001\u0000\u0000"+
|
||||
"\u0000\u009d\u009e\u0005d\u0000\u0000\u009e\u009f\u0005o\u0000\u0000\u009f"+
|
||||
"\u001e\u0001\u0000\u0000\u0000\u00a0\u00a1\u0005r\u0000\u0000\u00a1\u00a2"+
|
||||
"\u0005e\u0000\u0000\u00a2\u00a3\u0005t\u0000\u0000\u00a3\u00a4\u0005u"+
|
||||
"\u0000\u0000\u00a4\u00a5\u0005r\u0000\u0000\u00a5\u00a6\u0005n\u0000\u0000"+
|
||||
"\u00a6 \u0001\u0000\u0000\u0000\u00a7\u00a8\u0005b\u0000\u0000\u00a8\u00a9"+
|
||||
"\u0005r\u0000\u0000\u00a9\u00aa\u0005e\u0000\u0000\u00aa\u00ab\u0005a"+
|
||||
"\u0000\u0000\u00ab\u00ac\u0005k\u0000\u0000\u00ac\"\u0001\u0000\u0000"+
|
||||
"\u0000\u00ad\u00ae\u0005.\u0000\u0000\u00ae$\u0001\u0000\u0000\u0000\u00af"+
|
||||
"\u00b0\u0005p\u0000\u0000\u00b0\u00b1\u0005u\u0000\u0000\u00b1\u00b2\u0005"+
|
||||
"b\u0000\u0000\u00b2\u00b3\u0005l\u0000\u0000\u00b3\u00b4\u0005i\u0000"+
|
||||
"\u0000\u00b4\u00b5\u0005c\u0000\u0000\u00b5&\u0001\u0000\u0000\u0000\u00b6"+
|
||||
"\u00b7\u0005n\u0000\u0000\u00b7\u00b8\u0005e\u0000\u0000\u00b8\u00b9\u0005"+
|
||||
"w\u0000\u0000\u00b9(\u0001\u0000\u0000\u0000\u00ba\u00bb\u0005n\u0000"+
|
||||
"\u0000\u00bb\u00bc\u0005u\u0000\u0000\u00bc\u00bd\u0005l\u0000\u0000\u00bd"+
|
||||
"\u00be\u0005l\u0000\u0000\u00be*\u0001\u0000\u0000\u0000\u00bf\u00c0\u0005"+
|
||||
"t\u0000\u0000\u00c0\u00c1\u0005h\u0000\u0000\u00c1\u00c2\u0005i\u0000"+
|
||||
"\u0000\u00c2\u00c3\u0005s\u0000\u0000\u00c3,\u0001\u0000\u0000\u0000\u00c4"+
|
||||
"\u00c5\u0005-\u0000\u0000\u00c5.\u0001\u0000\u0000\u0000\u00c6\u00c7\u0005"+
|
||||
"+\u0000\u0000\u00c70\u0001\u0000\u0000\u0000\u00c8\u00c9\u0005*\u0000"+
|
||||
"\u0000\u00c92\u0001\u0000\u0000\u0000\u00ca\u00cb\u0005>\u0000\u0000\u00cb"+
|
||||
"4\u0001\u0000\u0000\u0000\u00cc\u00cd\u0005<\u0000\u0000\u00cd6\u0001"+
|
||||
"\u0000\u0000\u0000\u00ce\u00cf\u0005>\u0000\u0000\u00cf\u00d0\u0005=\u0000"+
|
||||
"\u0000\u00d08\u0001\u0000\u0000\u0000\u00d1\u00d2\u0005<\u0000\u0000\u00d2"+
|
||||
"\u00d3\u0005=\u0000\u0000\u00d3:\u0001\u0000\u0000\u0000\u00d4\u00d5\u0005"+
|
||||
"=\u0000\u0000\u00d5\u00d6\u0005=\u0000\u0000\u00d6<\u0001\u0000\u0000"+
|
||||
"\u0000\u00d7\u00d8\u0005!\u0000\u0000\u00d8\u00d9\u0005=\u0000\u0000\u00d9"+
|
||||
">\u0001\u0000\u0000\u0000\u00da\u00db\u0005&\u0000\u0000\u00db\u00dc\u0005"+
|
||||
"&\u0000\u0000\u00dc@\u0001\u0000\u0000\u0000\u00dd\u00de\u0005|\u0000"+
|
||||
"\u0000\u00de\u00df\u0005|\u0000\u0000\u00dfB\u0001\u0000\u0000\u0000\u00e0"+
|
||||
"\u00e1\u0005=\u0000\u0000\u00e1D\u0001\u0000\u0000\u0000\u00e2\u00e3\u0005"+
|
||||
"+\u0000\u0000\u00e3\u00e4\u0005=\u0000\u0000\u00e4F\u0001\u0000\u0000"+
|
||||
"\u0000\u00e5\u00e6\u0005-\u0000\u0000\u00e6\u00e7\u0005=\u0000\u0000\u00e7"+
|
||||
"H\u0001\u0000\u0000\u0000\u00e8\u00e9\u0005*\u0000\u0000\u00e9\u00ea\u0005"+
|
||||
"=\u0000\u0000\u00eaJ\u0001\u0000\u0000\u0000\u00eb\u00ec\u0005!\u0000"+
|
||||
"\u0000\u00ecL\u0001\u0000\u0000\u0000\u00ed\u00ee\u0005i\u0000\u0000\u00ee"+
|
||||
"\u00ef\u0005n\u0000\u0000\u00ef\u00f0\u0005t\u0000\u0000\u00f0N\u0001"+
|
||||
"\u0000\u0000\u0000\u00f1\u00f2\u0005b\u0000\u0000\u00f2\u00f3\u0005o\u0000"+
|
||||
"\u0000\u00f3\u00f4\u0005o\u0000\u0000\u00f4\u00f5\u0005l\u0000\u0000\u00f5"+
|
||||
"\u00f6\u0005e\u0000\u0000\u00f6\u00f7\u0005a\u0000\u0000\u00f7\u00f8\u0005"+
|
||||
"n\u0000\u0000\u00f8P\u0001\u0000\u0000\u0000\u00f9\u00fa\u0005v\u0000"+
|
||||
"\u0000\u00fa\u00fb\u0005o\u0000\u0000\u00fb\u00fc\u0005i\u0000\u0000\u00fc"+
|
||||
"\u00fd\u0005d\u0000\u0000\u00fdR\u0001\u0000\u0000\u0000\u00fe\u00ff\u0005"+
|
||||
"c\u0000\u0000\u00ff\u0100\u0005h\u0000\u0000\u0100\u0101\u0005a\u0000"+
|
||||
"\u0000\u0101\u0102\u0005r\u0000\u0000\u0102T\u0001\u0000\u0000\u0000\u0103"+
|
||||
"\u0104\u0005t\u0000\u0000\u0104\u0105\u0005r\u0000\u0000\u0105\u0106\u0005"+
|
||||
"u\u0000\u0000\u0106\u010d\u0005e\u0000\u0000\u0107\u0108\u0005f\u0000"+
|
||||
"\u0000\u0108\u0109\u0005a\u0000\u0000\u0109\u010a\u0005l\u0000\u0000\u010a"+
|
||||
"\u010b\u0005s\u0000\u0000\u010b\u010d\u0005e\u0000\u0000\u010c\u0103\u0001"+
|
||||
"\u0000\u0000\u0000\u010c\u0107\u0001\u0000\u0000\u0000\u010dV\u0001\u0000"+
|
||||
"\u0000\u0000\u010e\u010f\u0007\u0000\u0000\u0000\u010f\u0110\u0007\u0001"+
|
||||
"\u0000\u0000\u0110\u0111\u0007\u0000\u0000\u0000\u0111X\u0001\u0000\u0000"+
|
||||
"\u0000\u0112\u0114\u0007\u0001\u0000\u0000\u0113\u0112\u0001\u0000\u0000"+
|
||||
"\u0000\u0114\u0115\u0001\u0000\u0000\u0000\u0115\u0113\u0001\u0000\u0000"+
|
||||
"\u0000\u0115\u0116\u0001\u0000\u0000\u0000\u0116Z\u0001\u0000\u0000\u0000"+
|
||||
"\u0117\u0119\u0007\u0002\u0000\u0000\u0118\u0117\u0001\u0000\u0000\u0000"+
|
||||
"\u0119\u011a\u0001\u0000\u0000\u0000\u011a\u0118\u0001\u0000\u0000\u0000"+
|
||||
"\u011a\u011b\u0001\u0000\u0000\u0000\u011b\\\u0001\u0000\u0000\u0000\u011c"+
|
||||
"\u011d\u0007\u0003\u0000\u0000\u011d\u011e\u0001\u0000\u0000\u0000\u011e"+
|
||||
"\u011f\u0006.\u0000\u0000\u011f^\u0001\u0000\u0000\u0000\u0004\u0000\u010c"+
|
||||
"\u0115\u011a\u0001\u0006\u0000\u0000";
|
||||
public static final ATN _ATN =
|
||||
new ATNDeserializer().deserialize(_serializedATN.toCharArray());
|
||||
static {
|
||||
|
@ -16,36 +16,35 @@ T__14=15
|
||||
T__15=16
|
||||
T__16=17
|
||||
T__17=18
|
||||
T__18=19
|
||||
PUBLIC=20
|
||||
NEW=21
|
||||
NULL=22
|
||||
THIS=23
|
||||
SUB=24
|
||||
ADD=25
|
||||
MUL=26
|
||||
GT=27
|
||||
LT=28
|
||||
GE=29
|
||||
LE=30
|
||||
EQ=31
|
||||
NE=32
|
||||
AND=33
|
||||
OR=34
|
||||
ASSIGN=35
|
||||
ADD_ASSIGN=36
|
||||
SUB_ASSIGN=37
|
||||
MUL_ASSIGN=38
|
||||
NOT=39
|
||||
INT=40
|
||||
BOOL=41
|
||||
VOID=42
|
||||
CHAR=43
|
||||
BOOLEANLITERAL=44
|
||||
CHARLITERAL=45
|
||||
IDENTIFIER=46
|
||||
NUMBER=47
|
||||
WS=48
|
||||
PUBLIC=19
|
||||
NEW=20
|
||||
NULL=21
|
||||
THIS=22
|
||||
SUB=23
|
||||
ADD=24
|
||||
MUL=25
|
||||
GT=26
|
||||
LT=27
|
||||
GE=28
|
||||
LE=29
|
||||
EQ=30
|
||||
NE=31
|
||||
AND=32
|
||||
OR=33
|
||||
ASSIGN=34
|
||||
ADD_ASSIGN=35
|
||||
SUB_ASSIGN=36
|
||||
MUL_ASSIGN=37
|
||||
NOT=38
|
||||
INT=39
|
||||
BOOL=40
|
||||
VOID=41
|
||||
CHAR=42
|
||||
BOOLEANLITERAL=43
|
||||
CHARLITERAL=44
|
||||
IDENTIFIER=45
|
||||
NUMBER=46
|
||||
WS=47
|
||||
'class'=1
|
||||
'{'=2
|
||||
'}'=3
|
||||
@ -63,29 +62,28 @@ WS=48
|
||||
'do'=15
|
||||
'return'=16
|
||||
'break'=17
|
||||
'continue'=18
|
||||
'.'=19
|
||||
'public'=20
|
||||
'new'=21
|
||||
'null'=22
|
||||
'this'=23
|
||||
'-'=24
|
||||
'+'=25
|
||||
'*'=26
|
||||
'>'=27
|
||||
'<'=28
|
||||
'>='=29
|
||||
'<='=30
|
||||
'=='=31
|
||||
'!='=32
|
||||
'&&'=33
|
||||
'||'=34
|
||||
'='=35
|
||||
'+='=36
|
||||
'-='=37
|
||||
'*='=38
|
||||
'!'=39
|
||||
'int'=40
|
||||
'boolean'=41
|
||||
'void'=42
|
||||
'char'=43
|
||||
'.'=18
|
||||
'public'=19
|
||||
'new'=20
|
||||
'null'=21
|
||||
'this'=22
|
||||
'-'=23
|
||||
'+'=24
|
||||
'*'=25
|
||||
'>'=26
|
||||
'<'=27
|
||||
'>='=28
|
||||
'<='=29
|
||||
'=='=30
|
||||
'!='=31
|
||||
'&&'=32
|
||||
'||'=33
|
||||
'='=34
|
||||
'+='=35
|
||||
'-='=36
|
||||
'*='=37
|
||||
'!'=38
|
||||
'int'=39
|
||||
'boolean'=40
|
||||
'void'=41
|
||||
'char'=42
|
||||
|
@ -211,18 +211,6 @@ public interface DecafListener extends ParseTreeListener {
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
void exitBreak(DecafParser.BreakContext ctx);
|
||||
/**
|
||||
* Enter a parse tree produced by the {@code Continue}
|
||||
* labeled alternative in {@link DecafParser#stmt}.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
void enterContinue(DecafParser.ContinueContext ctx);
|
||||
/**
|
||||
* Exit a parse tree produced by the {@code Continue}
|
||||
* labeled alternative in {@link DecafParser#stmt}.
|
||||
* @param ctx the parse tree
|
||||
*/
|
||||
void exitContinue(DecafParser.ContinueContext ctx);
|
||||
/**
|
||||
* Enter a parse tree produced by the {@code Assignment}
|
||||
* labeled alternative in {@link DecafParser#stmt}.
|
||||
|
@ -19,11 +19,10 @@ public class DecafParser extends Parser {
|
||||
public static final int
|
||||
T__0=1, T__1=2, T__2=3, T__3=4, T__4=5, T__5=6, T__6=7, T__7=8, T__8=9,
|
||||
T__9=10, T__10=11, T__11=12, T__12=13, T__13=14, T__14=15, T__15=16, T__16=17,
|
||||
T__17=18, T__18=19, PUBLIC=20, NEW=21, NULL=22, THIS=23, SUB=24, ADD=25,
|
||||
MUL=26, GT=27, LT=28, GE=29, LE=30, EQ=31, NE=32, AND=33, OR=34, ASSIGN=35,
|
||||
ADD_ASSIGN=36, SUB_ASSIGN=37, MUL_ASSIGN=38, NOT=39, INT=40, BOOL=41,
|
||||
VOID=42, CHAR=43, BOOLEANLITERAL=44, CHARLITERAL=45, IDENTIFIER=46, NUMBER=47,
|
||||
WS=48;
|
||||
T__17=18, PUBLIC=19, NEW=20, NULL=21, THIS=22, SUB=23, ADD=24, MUL=25,
|
||||
GT=26, LT=27, GE=28, LE=29, EQ=30, NE=31, AND=32, OR=33, ASSIGN=34, ADD_ASSIGN=35,
|
||||
SUB_ASSIGN=36, MUL_ASSIGN=37, NOT=38, INT=39, BOOL=40, VOID=41, CHAR=42,
|
||||
BOOLEANLITERAL=43, CHARLITERAL=44, IDENTIFIER=45, NUMBER=46, WS=47;
|
||||
public static final int
|
||||
RULE_class = 0, RULE_field = 1, RULE_localVar = 2, RULE_assignSign = 3,
|
||||
RULE_returntype = 4, RULE_type = 5, RULE_meth = 6, RULE_mainmeth = 7,
|
||||
@ -46,21 +45,21 @@ public class DecafParser extends Parser {
|
||||
return new String[] {
|
||||
null, "'class'", "'{'", "'}'", "';'", "'('", "')'", "'static'", "'main'",
|
||||
"'String[] args'", "','", "'if'", "'else'", "'for'", "'while'", "'do'",
|
||||
"'return'", "'break'", "'continue'", "'.'", "'public'", "'new'", "'null'",
|
||||
"'this'", "'-'", "'+'", "'*'", "'>'", "'<'", "'>='", "'<='", "'=='",
|
||||
"'!='", "'&&'", "'||'", "'='", "'+='", "'-='", "'*='", "'!'", "'int'",
|
||||
"'boolean'", "'void'", "'char'"
|
||||
"'return'", "'break'", "'.'", "'public'", "'new'", "'null'", "'this'",
|
||||
"'-'", "'+'", "'*'", "'>'", "'<'", "'>='", "'<='", "'=='", "'!='", "'&&'",
|
||||
"'||'", "'='", "'+='", "'-='", "'*='", "'!'", "'int'", "'boolean'", "'void'",
|
||||
"'char'"
|
||||
};
|
||||
}
|
||||
private static final String[] _LITERAL_NAMES = makeLiteralNames();
|
||||
private static String[] makeSymbolicNames() {
|
||||
return new String[] {
|
||||
null, null, null, null, null, null, null, null, null, null, null, null,
|
||||
null, null, null, null, null, null, null, null, "PUBLIC", "NEW", "NULL",
|
||||
"THIS", "SUB", "ADD", "MUL", "GT", "LT", "GE", "LE", "EQ", "NE", "AND",
|
||||
"OR", "ASSIGN", "ADD_ASSIGN", "SUB_ASSIGN", "MUL_ASSIGN", "NOT", "INT",
|
||||
"BOOL", "VOID", "CHAR", "BOOLEANLITERAL", "CHARLITERAL", "IDENTIFIER",
|
||||
"NUMBER", "WS"
|
||||
null, null, null, null, null, null, null, "PUBLIC", "NEW", "NULL", "THIS",
|
||||
"SUB", "ADD", "MUL", "GT", "LT", "GE", "LE", "EQ", "NE", "AND", "OR",
|
||||
"ASSIGN", "ADD_ASSIGN", "SUB_ASSIGN", "MUL_ASSIGN", "NOT", "INT", "BOOL",
|
||||
"VOID", "CHAR", "BOOLEANLITERAL", "CHARLITERAL", "IDENTIFIER", "NUMBER",
|
||||
"WS"
|
||||
};
|
||||
}
|
||||
private static final String[] _SYMBOLIC_NAMES = makeSymbolicNames();
|
||||
@ -188,7 +187,7 @@ public class DecafParser extends Parser {
|
||||
setState(62);
|
||||
_errHandler.sync(this);
|
||||
_la = _input.LA(1);
|
||||
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 82463373131776L) != 0)) {
|
||||
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 41231686565888L) != 0)) {
|
||||
{
|
||||
setState(60);
|
||||
_errHandler.sync(this);
|
||||
@ -370,7 +369,7 @@ public class DecafParser extends Parser {
|
||||
{
|
||||
setState(75);
|
||||
_la = _input.LA(1);
|
||||
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 515396075520L) != 0)) ) {
|
||||
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 257698037760L) != 0)) ) {
|
||||
_errHandler.recoverInline(this);
|
||||
}
|
||||
else {
|
||||
@ -584,7 +583,7 @@ public class DecafParser extends Parser {
|
||||
setState(92);
|
||||
_errHandler.sync(this);
|
||||
_la = _input.LA(1);
|
||||
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 82463372083200L) != 0)) {
|
||||
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 41231686041600L) != 0)) {
|
||||
{
|
||||
setState(91);
|
||||
params();
|
||||
@ -724,7 +723,7 @@ public class DecafParser extends Parser {
|
||||
setState(112);
|
||||
_errHandler.sync(this);
|
||||
_la = _input.LA(1);
|
||||
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 82463372083200L) != 0)) {
|
||||
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 41231686041600L) != 0)) {
|
||||
{
|
||||
setState(111);
|
||||
params();
|
||||
@ -908,7 +907,7 @@ public class DecafParser extends Parser {
|
||||
setState(133);
|
||||
_errHandler.sync(this);
|
||||
_la = _input.LA(1);
|
||||
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 82463383087104L) != 0)) {
|
||||
while ((((_la) & ~0x3f) == 0 && ((1L << _la) & 41231691540480L) != 0)) {
|
||||
{
|
||||
setState(131);
|
||||
_errHandler.sync(this);
|
||||
@ -1128,23 +1127,6 @@ public class DecafParser extends Parser {
|
||||
}
|
||||
}
|
||||
@SuppressWarnings("CheckReturnValue")
|
||||
public static class ContinueContext extends StmtContext {
|
||||
public ContinueContext(StmtContext ctx) { copyFrom(ctx); }
|
||||
@Override
|
||||
public void enterRule(ParseTreeListener listener) {
|
||||
if ( listener instanceof DecafListener ) ((DecafListener)listener).enterContinue(this);
|
||||
}
|
||||
@Override
|
||||
public void exitRule(ParseTreeListener listener) {
|
||||
if ( listener instanceof DecafListener ) ((DecafListener)listener).exitContinue(this);
|
||||
}
|
||||
@Override
|
||||
public <T> T accept(ParseTreeVisitor<? extends T> visitor) {
|
||||
if ( visitor instanceof DecafVisitor ) return ((DecafVisitor<? extends T>)visitor).visitContinue(this);
|
||||
else return visitor.visitChildren(this);
|
||||
}
|
||||
}
|
||||
@SuppressWarnings("CheckReturnValue")
|
||||
public static class IfContext extends StmtContext {
|
||||
public ExprContext expr() {
|
||||
return getRuleContext(ExprContext.class,0);
|
||||
@ -1176,7 +1158,7 @@ public class DecafParser extends Parser {
|
||||
enterRule(_localctx, 24, RULE_stmt);
|
||||
int _la;
|
||||
try {
|
||||
setState(186);
|
||||
setState(184);
|
||||
_errHandler.sync(this);
|
||||
switch ( getInterpreter().adaptivePredict(_input,12,_ctx) ) {
|
||||
case 1:
|
||||
@ -1298,32 +1280,22 @@ public class DecafParser extends Parser {
|
||||
}
|
||||
break;
|
||||
case 8:
|
||||
_localctx = new ContinueContext(_localctx);
|
||||
_localctx = new AssignmentContext(_localctx);
|
||||
enterOuterAlt(_localctx, 8);
|
||||
{
|
||||
setState(178);
|
||||
match(T__17);
|
||||
assign();
|
||||
setState(179);
|
||||
match(T__3);
|
||||
}
|
||||
break;
|
||||
case 9:
|
||||
_localctx = new AssignmentContext(_localctx);
|
||||
_localctx = new StatementExpressionstmtContext(_localctx);
|
||||
enterOuterAlt(_localctx, 9);
|
||||
{
|
||||
setState(180);
|
||||
assign();
|
||||
setState(181);
|
||||
match(T__3);
|
||||
}
|
||||
break;
|
||||
case 10:
|
||||
_localctx = new StatementExpressionstmtContext(_localctx);
|
||||
enterOuterAlt(_localctx, 10);
|
||||
{
|
||||
setState(183);
|
||||
stmtexpr();
|
||||
setState(184);
|
||||
setState(182);
|
||||
match(T__3);
|
||||
}
|
||||
break;
|
||||
@ -1402,7 +1374,7 @@ public class DecafParser extends Parser {
|
||||
enterRule(_localctx, 26, RULE_stmtexpr);
|
||||
int _la;
|
||||
try {
|
||||
setState(197);
|
||||
setState(195);
|
||||
_errHandler.sync(this);
|
||||
switch (_input.LA(1)) {
|
||||
case THIS:
|
||||
@ -1410,7 +1382,7 @@ public class DecafParser extends Parser {
|
||||
_localctx = new MethodCallContext(_localctx);
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(188);
|
||||
setState(186);
|
||||
methCall();
|
||||
}
|
||||
break;
|
||||
@ -1418,23 +1390,23 @@ public class DecafParser extends Parser {
|
||||
_localctx = new NewContext(_localctx);
|
||||
enterOuterAlt(_localctx, 2);
|
||||
{
|
||||
setState(189);
|
||||
setState(187);
|
||||
match(NEW);
|
||||
setState(190);
|
||||
setState(188);
|
||||
type();
|
||||
setState(191);
|
||||
setState(189);
|
||||
match(T__4);
|
||||
setState(193);
|
||||
setState(191);
|
||||
_errHandler.sync(this);
|
||||
_la = _input.LA(1);
|
||||
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 264432577937440L) != 0)) {
|
||||
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 132216288968736L) != 0)) {
|
||||
{
|
||||
setState(192);
|
||||
setState(190);
|
||||
args();
|
||||
}
|
||||
}
|
||||
|
||||
setState(195);
|
||||
setState(193);
|
||||
match(T__5);
|
||||
}
|
||||
break;
|
||||
@ -1628,7 +1600,7 @@ public class DecafParser extends Parser {
|
||||
int _alt;
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(211);
|
||||
setState(209);
|
||||
_errHandler.sync(this);
|
||||
switch ( getInterpreter().adaptivePredict(_input,15,_ctx) ) {
|
||||
case 1:
|
||||
@ -1637,9 +1609,9 @@ public class DecafParser extends Parser {
|
||||
_ctx = _localctx;
|
||||
_prevctx = _localctx;
|
||||
|
||||
setState(200);
|
||||
setState(198);
|
||||
unaryOp();
|
||||
setState(201);
|
||||
setState(199);
|
||||
expr(6);
|
||||
}
|
||||
break;
|
||||
@ -1648,7 +1620,7 @@ public class DecafParser extends Parser {
|
||||
_localctx = new ConstantContext(_localctx);
|
||||
_ctx = _localctx;
|
||||
_prevctx = _localctx;
|
||||
setState(203);
|
||||
setState(201);
|
||||
literal();
|
||||
}
|
||||
break;
|
||||
@ -1657,11 +1629,11 @@ public class DecafParser extends Parser {
|
||||
_localctx = new ExpressionContext(_localctx);
|
||||
_ctx = _localctx;
|
||||
_prevctx = _localctx;
|
||||
setState(204);
|
||||
setState(202);
|
||||
match(T__4);
|
||||
setState(205);
|
||||
setState(203);
|
||||
expr(0);
|
||||
setState(206);
|
||||
setState(204);
|
||||
match(T__5);
|
||||
}
|
||||
break;
|
||||
@ -1670,7 +1642,7 @@ public class DecafParser extends Parser {
|
||||
_localctx = new IdentifierContext(_localctx);
|
||||
_ctx = _localctx;
|
||||
_prevctx = _localctx;
|
||||
setState(208);
|
||||
setState(206);
|
||||
fieldId();
|
||||
}
|
||||
break;
|
||||
@ -1679,7 +1651,7 @@ public class DecafParser extends Parser {
|
||||
_localctx = new StatementExpressionexprContext(_localctx);
|
||||
_ctx = _localctx;
|
||||
_prevctx = _localctx;
|
||||
setState(209);
|
||||
setState(207);
|
||||
stmtexpr();
|
||||
}
|
||||
break;
|
||||
@ -1688,13 +1660,13 @@ public class DecafParser extends Parser {
|
||||
_localctx = new NullContext(_localctx);
|
||||
_ctx = _localctx;
|
||||
_prevctx = _localctx;
|
||||
setState(210);
|
||||
setState(208);
|
||||
match(NULL);
|
||||
}
|
||||
break;
|
||||
}
|
||||
_ctx.stop = _input.LT(-1);
|
||||
setState(219);
|
||||
setState(217);
|
||||
_errHandler.sync(this);
|
||||
_alt = getInterpreter().adaptivePredict(_input,16,_ctx);
|
||||
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
||||
@ -1705,16 +1677,16 @@ public class DecafParser extends Parser {
|
||||
{
|
||||
_localctx = new BinaryOperationContext(new ExprContext(_parentctx, _parentState));
|
||||
pushNewRecursionContext(_localctx, _startState, RULE_expr);
|
||||
setState(213);
|
||||
setState(211);
|
||||
if (!(precpred(_ctx, 7))) throw new FailedPredicateException(this, "precpred(_ctx, 7)");
|
||||
setState(214);
|
||||
setState(212);
|
||||
binaryOp();
|
||||
setState(215);
|
||||
setState(213);
|
||||
expr(8);
|
||||
}
|
||||
}
|
||||
}
|
||||
setState(221);
|
||||
setState(219);
|
||||
_errHandler.sync(this);
|
||||
_alt = getInterpreter().adaptivePredict(_input,16,_ctx);
|
||||
}
|
||||
@ -1770,9 +1742,9 @@ public class DecafParser extends Parser {
|
||||
try {
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(222);
|
||||
setState(220);
|
||||
_la = _input.LA(1);
|
||||
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 34342961152L) != 0)) ) {
|
||||
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 17171480576L) != 0)) ) {
|
||||
_errHandler.recoverInline(this);
|
||||
}
|
||||
else {
|
||||
@ -1823,7 +1795,7 @@ public class DecafParser extends Parser {
|
||||
try {
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(224);
|
||||
setState(222);
|
||||
_la = _input.LA(1);
|
||||
if ( !(_la==SUB || _la==NOT) ) {
|
||||
_errHandler.recoverInline(this);
|
||||
@ -1885,37 +1857,37 @@ public class DecafParser extends Parser {
|
||||
int _alt;
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(228);
|
||||
setState(226);
|
||||
_errHandler.sync(this);
|
||||
_la = _input.LA(1);
|
||||
if (_la==THIS) {
|
||||
{
|
||||
setState(226);
|
||||
setState(224);
|
||||
match(THIS);
|
||||
setState(227);
|
||||
match(T__18);
|
||||
setState(225);
|
||||
match(T__17);
|
||||
}
|
||||
}
|
||||
|
||||
setState(235);
|
||||
setState(233);
|
||||
_errHandler.sync(this);
|
||||
_alt = getInterpreter().adaptivePredict(_input,18,_ctx);
|
||||
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
||||
if ( _alt==1 ) {
|
||||
{
|
||||
{
|
||||
setState(230);
|
||||
setState(228);
|
||||
recipient();
|
||||
setState(231);
|
||||
match(T__18);
|
||||
setState(229);
|
||||
match(T__17);
|
||||
}
|
||||
}
|
||||
}
|
||||
setState(237);
|
||||
setState(235);
|
||||
_errHandler.sync(this);
|
||||
_alt = getInterpreter().adaptivePredict(_input,18,_ctx);
|
||||
}
|
||||
setState(238);
|
||||
setState(236);
|
||||
id();
|
||||
}
|
||||
}
|
||||
@ -1966,11 +1938,11 @@ public class DecafParser extends Parser {
|
||||
try {
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(240);
|
||||
setState(238);
|
||||
id();
|
||||
setState(241);
|
||||
setState(239);
|
||||
assignSign();
|
||||
setState(242);
|
||||
setState(240);
|
||||
expr(0);
|
||||
}
|
||||
}
|
||||
@ -2024,37 +1996,37 @@ public class DecafParser extends Parser {
|
||||
int _alt;
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(246);
|
||||
setState(244);
|
||||
_errHandler.sync(this);
|
||||
_la = _input.LA(1);
|
||||
if (_la==THIS) {
|
||||
{
|
||||
setState(244);
|
||||
setState(242);
|
||||
match(THIS);
|
||||
setState(245);
|
||||
match(T__18);
|
||||
setState(243);
|
||||
match(T__17);
|
||||
}
|
||||
}
|
||||
|
||||
setState(253);
|
||||
setState(251);
|
||||
_errHandler.sync(this);
|
||||
_alt = getInterpreter().adaptivePredict(_input,20,_ctx);
|
||||
while ( _alt!=2 && _alt!=org.antlr.v4.runtime.atn.ATN.INVALID_ALT_NUMBER ) {
|
||||
if ( _alt==1 ) {
|
||||
{
|
||||
{
|
||||
setState(248);
|
||||
setState(246);
|
||||
recipient();
|
||||
setState(249);
|
||||
match(T__18);
|
||||
setState(247);
|
||||
match(T__17);
|
||||
}
|
||||
}
|
||||
}
|
||||
setState(255);
|
||||
setState(253);
|
||||
_errHandler.sync(this);
|
||||
_alt = getInterpreter().adaptivePredict(_input,20,_ctx);
|
||||
}
|
||||
setState(256);
|
||||
setState(254);
|
||||
methName();
|
||||
}
|
||||
}
|
||||
@ -2100,20 +2072,20 @@ public class DecafParser extends Parser {
|
||||
RecipientContext _localctx = new RecipientContext(_ctx, getState());
|
||||
enterRule(_localctx, 40, RULE_recipient);
|
||||
try {
|
||||
setState(260);
|
||||
setState(258);
|
||||
_errHandler.sync(this);
|
||||
switch ( getInterpreter().adaptivePredict(_input,21,_ctx) ) {
|
||||
case 1:
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(258);
|
||||
setState(256);
|
||||
methName();
|
||||
}
|
||||
break;
|
||||
case 2:
|
||||
enterOuterAlt(_localctx, 2);
|
||||
{
|
||||
setState(259);
|
||||
setState(257);
|
||||
id();
|
||||
}
|
||||
break;
|
||||
@ -2164,21 +2136,21 @@ public class DecafParser extends Parser {
|
||||
try {
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(262);
|
||||
setState(260);
|
||||
id();
|
||||
setState(263);
|
||||
setState(261);
|
||||
match(T__4);
|
||||
setState(265);
|
||||
setState(263);
|
||||
_errHandler.sync(this);
|
||||
_la = _input.LA(1);
|
||||
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 264432577937440L) != 0)) {
|
||||
if ((((_la) & ~0x3f) == 0 && ((1L << _la) & 132216288968736L) != 0)) {
|
||||
{
|
||||
setState(264);
|
||||
setState(262);
|
||||
args();
|
||||
}
|
||||
}
|
||||
|
||||
setState(267);
|
||||
setState(265);
|
||||
match(T__5);
|
||||
}
|
||||
}
|
||||
@ -2227,21 +2199,21 @@ public class DecafParser extends Parser {
|
||||
try {
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(269);
|
||||
setState(267);
|
||||
expr(0);
|
||||
setState(274);
|
||||
setState(272);
|
||||
_errHandler.sync(this);
|
||||
_la = _input.LA(1);
|
||||
while (_la==T__9) {
|
||||
{
|
||||
{
|
||||
setState(270);
|
||||
setState(268);
|
||||
match(T__9);
|
||||
setState(271);
|
||||
setState(269);
|
||||
expr(0);
|
||||
}
|
||||
}
|
||||
setState(276);
|
||||
setState(274);
|
||||
_errHandler.sync(this);
|
||||
_la = _input.LA(1);
|
||||
}
|
||||
@ -2289,9 +2261,9 @@ public class DecafParser extends Parser {
|
||||
try {
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(277);
|
||||
setState(275);
|
||||
_la = _input.LA(1);
|
||||
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 193514046488576L) != 0)) ) {
|
||||
if ( !((((_la) & ~0x3f) == 0 && ((1L << _la) & 96757023244288L) != 0)) ) {
|
||||
_errHandler.recoverInline(this);
|
||||
}
|
||||
else {
|
||||
@ -2340,7 +2312,7 @@ public class DecafParser extends Parser {
|
||||
try {
|
||||
enterOuterAlt(_localctx, 1);
|
||||
{
|
||||
setState(279);
|
||||
setState(277);
|
||||
match(IDENTIFIER);
|
||||
}
|
||||
}
|
||||
@ -2371,7 +2343,7 @@ public class DecafParser extends Parser {
|
||||
}
|
||||
|
||||
public static final String _serializedATN =
|
||||
"\u0004\u00010\u011a\u0002\u0000\u0007\u0000\u0002\u0001\u0007\u0001\u0002"+
|
||||
"\u0004\u0001/\u0118\u0002\u0000\u0007\u0000\u0002\u0001\u0007\u0001\u0002"+
|
||||
"\u0002\u0007\u0002\u0002\u0003\u0007\u0003\u0002\u0004\u0007\u0004\u0002"+
|
||||
"\u0005\u0007\u0005\u0002\u0006\u0007\u0006\u0002\u0007\u0007\u0007\u0002"+
|
||||
"\b\u0007\b\u0002\t\u0007\t\u0002\n\u0007\n\u0002\u000b\u0007\u000b\u0002"+
|
||||
@ -2397,36 +2369,36 @@ public class DecafParser extends Parser {
|
||||
"\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001"+
|
||||
"\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001"+
|
||||
"\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001\f\u0001"+
|
||||
"\f\u0001\f\u0001\f\u0003\f\u00bb\b\f\u0001\r\u0001\r\u0001\r\u0001\r\u0001"+
|
||||
"\r\u0003\r\u00c2\b\r\u0001\r\u0001\r\u0003\r\u00c6\b\r\u0001\u000e\u0001"+
|
||||
"\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001"+
|
||||
"\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0003\u000e\u00d4"+
|
||||
"\b\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0005\u000e\u00da"+
|
||||
"\b\u000e\n\u000e\f\u000e\u00dd\t\u000e\u0001\u000f\u0001\u000f\u0001\u0010"+
|
||||
"\u0001\u0010\u0001\u0011\u0001\u0011\u0003\u0011\u00e5\b\u0011\u0001\u0011"+
|
||||
"\u0001\u0011\u0001\u0011\u0005\u0011\u00ea\b\u0011\n\u0011\f\u0011\u00ed"+
|
||||
"\t\u0011\u0001\u0011\u0001\u0011\u0001\u0012\u0001\u0012\u0001\u0012\u0001"+
|
||||
"\u0012\u0001\u0013\u0001\u0013\u0003\u0013\u00f7\b\u0013\u0001\u0013\u0001"+
|
||||
"\u0013\u0001\u0013\u0005\u0013\u00fc\b\u0013\n\u0013\f\u0013\u00ff\t\u0013"+
|
||||
"\u0001\u0013\u0001\u0013\u0001\u0014\u0001\u0014\u0003\u0014\u0105\b\u0014"+
|
||||
"\u0001\u0015\u0001\u0015\u0001\u0015\u0003\u0015\u010a\b\u0015\u0001\u0015"+
|
||||
"\u0001\u0015\u0001\u0016\u0001\u0016\u0001\u0016\u0005\u0016\u0111\b\u0016"+
|
||||
"\n\u0016\f\u0016\u0114\t\u0016\u0001\u0017\u0001\u0017\u0001\u0018\u0001"+
|
||||
"\u0018\u0001\u0018\u0000\u0001\u001c\u0019\u0000\u0002\u0004\u0006\b\n"+
|
||||
"\f\u000e\u0010\u0012\u0014\u0016\u0018\u001a\u001c\u001e \"$&(*,.0\u0000"+
|
||||
"\u0004\u0001\u0000#&\u0001\u0000\u0018\"\u0002\u0000\u0018\u0018\'\'\u0002"+
|
||||
"\u0000,-//\u0127\u00002\u0001\u0000\u0000\u0000\u0002C\u0001\u0000\u0000"+
|
||||
"\u0000\u0004G\u0001\u0000\u0000\u0000\u0006K\u0001\u0000\u0000\u0000\b"+
|
||||
"O\u0001\u0000\u0000\u0000\nU\u0001\u0000\u0000\u0000\fW\u0001\u0000\u0000"+
|
||||
"\u0000\u000ea\u0001\u0000\u0000\u0000\u0010k\u0001\u0000\u0000\u0000\u0012"+
|
||||
"u\u0001\u0000\u0000\u0000\u0014}\u0001\u0000\u0000\u0000\u0016\u0080\u0001"+
|
||||
"\u0000\u0000\u0000\u0018\u00ba\u0001\u0000\u0000\u0000\u001a\u00c5\u0001"+
|
||||
"\u0000\u0000\u0000\u001c\u00d3\u0001\u0000\u0000\u0000\u001e\u00de\u0001"+
|
||||
"\u0000\u0000\u0000 \u00e0\u0001\u0000\u0000\u0000\"\u00e4\u0001\u0000"+
|
||||
"\u0000\u0000$\u00f0\u0001\u0000\u0000\u0000&\u00f6\u0001\u0000\u0000\u0000"+
|
||||
"(\u0104\u0001\u0000\u0000\u0000*\u0106\u0001\u0000\u0000\u0000,\u010d"+
|
||||
"\u0001\u0000\u0000\u0000.\u0115\u0001\u0000\u0000\u00000\u0117\u0001\u0000"+
|
||||
"\u0000\u000023\u0005\u0014\u0000\u000034\u0005\u0001\u0000\u000045\u0003"+
|
||||
"\f\u0003\f\u00b9\b\f\u0001\r\u0001\r\u0001\r\u0001\r\u0001\r\u0003\r\u00c0"+
|
||||
"\b\r\u0001\r\u0001\r\u0003\r\u00c4\b\r\u0001\u000e\u0001\u000e\u0001\u000e"+
|
||||
"\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e\u0001\u000e"+
|
||||
"\u0001\u000e\u0001\u000e\u0001\u000e\u0003\u000e\u00d2\b\u000e\u0001\u000e"+
|
||||
"\u0001\u000e\u0001\u000e\u0001\u000e\u0005\u000e\u00d8\b\u000e\n\u000e"+
|
||||
"\f\u000e\u00db\t\u000e\u0001\u000f\u0001\u000f\u0001\u0010\u0001\u0010"+
|
||||
"\u0001\u0011\u0001\u0011\u0003\u0011\u00e3\b\u0011\u0001\u0011\u0001\u0011"+
|
||||
"\u0001\u0011\u0005\u0011\u00e8\b\u0011\n\u0011\f\u0011\u00eb\t\u0011\u0001"+
|
||||
"\u0011\u0001\u0011\u0001\u0012\u0001\u0012\u0001\u0012\u0001\u0012\u0001"+
|
||||
"\u0013\u0001\u0013\u0003\u0013\u00f5\b\u0013\u0001\u0013\u0001\u0013\u0001"+
|
||||
"\u0013\u0005\u0013\u00fa\b\u0013\n\u0013\f\u0013\u00fd\t\u0013\u0001\u0013"+
|
||||
"\u0001\u0013\u0001\u0014\u0001\u0014\u0003\u0014\u0103\b\u0014\u0001\u0015"+
|
||||
"\u0001\u0015\u0001\u0015\u0003\u0015\u0108\b\u0015\u0001\u0015\u0001\u0015"+
|
||||
"\u0001\u0016\u0001\u0016\u0001\u0016\u0005\u0016\u010f\b\u0016\n\u0016"+
|
||||
"\f\u0016\u0112\t\u0016\u0001\u0017\u0001\u0017\u0001\u0018\u0001\u0018"+
|
||||
"\u0001\u0018\u0000\u0001\u001c\u0019\u0000\u0002\u0004\u0006\b\n\f\u000e"+
|
||||
"\u0010\u0012\u0014\u0016\u0018\u001a\u001c\u001e \"$&(*,.0\u0000\u0004"+
|
||||
"\u0001\u0000\"%\u0001\u0000\u0017!\u0002\u0000\u0017\u0017&&\u0002\u0000"+
|
||||
"+,..\u0124\u00002\u0001\u0000\u0000\u0000\u0002C\u0001\u0000\u0000\u0000"+
|
||||
"\u0004G\u0001\u0000\u0000\u0000\u0006K\u0001\u0000\u0000\u0000\bO\u0001"+
|
||||
"\u0000\u0000\u0000\nU\u0001\u0000\u0000\u0000\fW\u0001\u0000\u0000\u0000"+
|
||||
"\u000ea\u0001\u0000\u0000\u0000\u0010k\u0001\u0000\u0000\u0000\u0012u"+
|
||||
"\u0001\u0000\u0000\u0000\u0014}\u0001\u0000\u0000\u0000\u0016\u0080\u0001"+
|
||||
"\u0000\u0000\u0000\u0018\u00b8\u0001\u0000\u0000\u0000\u001a\u00c3\u0001"+
|
||||
"\u0000\u0000\u0000\u001c\u00d1\u0001\u0000\u0000\u0000\u001e\u00dc\u0001"+
|
||||
"\u0000\u0000\u0000 \u00de\u0001\u0000\u0000\u0000\"\u00e2\u0001\u0000"+
|
||||
"\u0000\u0000$\u00ee\u0001\u0000\u0000\u0000&\u00f4\u0001\u0000\u0000\u0000"+
|
||||
"(\u0102\u0001\u0000\u0000\u0000*\u0104\u0001\u0000\u0000\u0000,\u010b"+
|
||||
"\u0001\u0000\u0000\u0000.\u0113\u0001\u0000\u0000\u00000\u0115\u0001\u0000"+
|
||||
"\u0000\u000023\u0005\u0013\u0000\u000034\u0005\u0001\u0000\u000045\u0003"+
|
||||
"0\u0018\u000057\u0005\u0002\u0000\u000068\u0003\u000e\u0007\u000076\u0001"+
|
||||
"\u0000\u0000\u000078\u0001\u0000\u0000\u00008>\u0001\u0000\u0000\u0000"+
|
||||
"9=\u0003\u0002\u0001\u0000:=\u0003\f\u0006\u0000;=\u0003\u0010\b\u0000"+
|
||||
@ -2437,19 +2409,19 @@ public class DecafParser extends Parser {
|
||||
"DE\u00030\u0018\u0000EF\u0005\u0004\u0000\u0000F\u0003\u0001\u0000\u0000"+
|
||||
"\u0000GH\u0003\n\u0005\u0000HI\u00030\u0018\u0000IJ\u0005\u0004\u0000"+
|
||||
"\u0000J\u0005\u0001\u0000\u0000\u0000KL\u0007\u0000\u0000\u0000L\u0007"+
|
||||
"\u0001\u0000\u0000\u0000MP\u0003\n\u0005\u0000NP\u0005*\u0000\u0000OM"+
|
||||
"\u0001\u0000\u0000\u0000MP\u0003\n\u0005\u0000NP\u0005)\u0000\u0000OM"+
|
||||
"\u0001\u0000\u0000\u0000ON\u0001\u0000\u0000\u0000P\t\u0001\u0000\u0000"+
|
||||
"\u0000QV\u0005(\u0000\u0000RV\u0005)\u0000\u0000SV\u0005+\u0000\u0000"+
|
||||
"\u0000QV\u0005\'\u0000\u0000RV\u0005(\u0000\u0000SV\u0005*\u0000\u0000"+
|
||||
"TV\u00030\u0018\u0000UQ\u0001\u0000\u0000\u0000UR\u0001\u0000\u0000\u0000"+
|
||||
"US\u0001\u0000\u0000\u0000UT\u0001\u0000\u0000\u0000V\u000b\u0001\u0000"+
|
||||
"\u0000\u0000WX\u0005\u0014\u0000\u0000XY\u0003\b\u0004\u0000YZ\u00030"+
|
||||
"\u0000\u0000WX\u0005\u0013\u0000\u0000XY\u0003\b\u0004\u0000YZ\u00030"+
|
||||
"\u0018\u0000Z\\\u0005\u0005\u0000\u0000[]\u0003\u0012\t\u0000\\[\u0001"+
|
||||
"\u0000\u0000\u0000\\]\u0001\u0000\u0000\u0000]^\u0001\u0000\u0000\u0000"+
|
||||
"^_\u0005\u0006\u0000\u0000_`\u0003\u0016\u000b\u0000`\r\u0001\u0000\u0000"+
|
||||
"\u0000ab\u0005\u0014\u0000\u0000bc\u0005\u0007\u0000\u0000cd\u0005*\u0000"+
|
||||
"\u0000ab\u0005\u0013\u0000\u0000bc\u0005\u0007\u0000\u0000cd\u0005)\u0000"+
|
||||
"\u0000de\u0005\b\u0000\u0000ef\u0005\u0005\u0000\u0000fg\u0005\t\u0000"+
|
||||
"\u0000gh\u0005\u0006\u0000\u0000hi\u0003\u0016\u000b\u0000i\u000f\u0001"+
|
||||
"\u0000\u0000\u0000jl\u0005\u0014\u0000\u0000kj\u0001\u0000\u0000\u0000"+
|
||||
"\u0000\u0000\u0000jl\u0005\u0013\u0000\u0000kj\u0001\u0000\u0000\u0000"+
|
||||
"kl\u0001\u0000\u0000\u0000lm\u0001\u0000\u0000\u0000mn\u00030\u0018\u0000"+
|
||||
"np\u0005\u0005\u0000\u0000oq\u0003\u0012\t\u0000po\u0001\u0000\u0000\u0000"+
|
||||
"pq\u0001\u0000\u0000\u0000qr\u0001\u0000\u0000\u0000rs\u0005\u0006\u0000"+
|
||||
@ -2468,85 +2440,84 @@ public class DecafParser extends Parser {
|
||||
"\u0000\u0000\u008c\u008d\u0003\u001c\u000e\u0000\u008d\u008e\u0005\u0006"+
|
||||
"\u0000\u0000\u008e\u0091\u0003\u0016\u000b\u0000\u008f\u0090\u0005\f\u0000"+
|
||||
"\u0000\u0090\u0092\u0003\u0016\u000b\u0000\u0091\u008f\u0001\u0000\u0000"+
|
||||
"\u0000\u0091\u0092\u0001\u0000\u0000\u0000\u0092\u00bb\u0001\u0000\u0000"+
|
||||
"\u0000\u0091\u0092\u0001\u0000\u0000\u0000\u0092\u00b9\u0001\u0000\u0000"+
|
||||
"\u0000\u0093\u0094\u0005\r\u0000\u0000\u0094\u0095\u0005\u0005\u0000\u0000"+
|
||||
"\u0095\u0096\u0003$\u0012\u0000\u0096\u0097\u0005\u0004\u0000\u0000\u0097"+
|
||||
"\u0098\u0003\u001c\u000e\u0000\u0098\u0099\u0005\u0004\u0000\u0000\u0099"+
|
||||
"\u009a\u0003$\u0012\u0000\u009a\u009b\u0005\u0006\u0000\u0000\u009b\u009c"+
|
||||
"\u0003\u0016\u000b\u0000\u009c\u00bb\u0001\u0000\u0000\u0000\u009d\u009e"+
|
||||
"\u0003\u0016\u000b\u0000\u009c\u00b9\u0001\u0000\u0000\u0000\u009d\u009e"+
|
||||
"\u0005\u000e\u0000\u0000\u009e\u009f\u0005\u0005\u0000\u0000\u009f\u00a0"+
|
||||
"\u0003\u001c\u000e\u0000\u00a0\u00a1\u0005\u0006\u0000\u0000\u00a1\u00a2"+
|
||||
"\u0003\u0016\u000b\u0000\u00a2\u00bb\u0001\u0000\u0000\u0000\u00a3\u00a4"+
|
||||
"\u0003\u0016\u000b\u0000\u00a2\u00b9\u0001\u0000\u0000\u0000\u00a3\u00a4"+
|
||||
"\u0005\u000f\u0000\u0000\u00a4\u00a5\u0003\u0016\u000b\u0000\u00a5\u00a6"+
|
||||
"\u0005\u000e\u0000\u0000\u00a6\u00a7\u0005\u0005\u0000\u0000\u00a7\u00a8"+
|
||||
"\u0003\u001c\u000e\u0000\u00a8\u00a9\u0005\u0006\u0000\u0000\u00a9\u00bb"+
|
||||
"\u0003\u001c\u000e\u0000\u00a8\u00a9\u0005\u0006\u0000\u0000\u00a9\u00b9"+
|
||||
"\u0001\u0000\u0000\u0000\u00aa\u00ab\u0005\u0010\u0000\u0000\u00ab\u00ac"+
|
||||
"\u0003\u001c\u000e\u0000\u00ac\u00ad\u0005\u0004\u0000\u0000\u00ad\u00bb"+
|
||||
"\u0001\u0000\u0000\u0000\u00ae\u00af\u0005\u0010\u0000\u0000\u00af\u00bb"+
|
||||
"\u0005\u0004\u0000\u0000\u00b0\u00b1\u0005\u0011\u0000\u0000\u00b1\u00bb"+
|
||||
"\u0005\u0004\u0000\u0000\u00b2\u00b3\u0005\u0012\u0000\u0000\u00b3\u00bb"+
|
||||
"\u0005\u0004\u0000\u0000\u00b4\u00b5\u0003$\u0012\u0000\u00b5\u00b6\u0005"+
|
||||
"\u0004\u0000\u0000\u00b6\u00bb\u0001\u0000\u0000\u0000\u00b7\u00b8\u0003"+
|
||||
"\u001a\r\u0000\u00b8\u00b9\u0005\u0004\u0000\u0000\u00b9\u00bb\u0001\u0000"+
|
||||
"\u0000\u0000\u00ba\u008a\u0001\u0000\u0000\u0000\u00ba\u0093\u0001\u0000"+
|
||||
"\u0000\u0000\u00ba\u009d\u0001\u0000\u0000\u0000\u00ba\u00a3\u0001\u0000"+
|
||||
"\u0000\u0000\u00ba\u00aa\u0001\u0000\u0000\u0000\u00ba\u00ae\u0001\u0000"+
|
||||
"\u0000\u0000\u00ba\u00b0\u0001\u0000\u0000\u0000\u00ba\u00b2\u0001\u0000"+
|
||||
"\u0000\u0000\u00ba\u00b4\u0001\u0000\u0000\u0000\u00ba\u00b7\u0001\u0000"+
|
||||
"\u0000\u0000\u00bb\u0019\u0001\u0000\u0000\u0000\u00bc\u00c6\u0003&\u0013"+
|
||||
"\u0000\u00bd\u00be\u0005\u0015\u0000\u0000\u00be\u00bf\u0003\n\u0005\u0000"+
|
||||
"\u00bf\u00c1\u0005\u0005\u0000\u0000\u00c0\u00c2\u0003,\u0016\u0000\u00c1"+
|
||||
"\u00c0\u0001\u0000\u0000\u0000\u00c1\u00c2\u0001\u0000\u0000\u0000\u00c2"+
|
||||
"\u00c3\u0001\u0000\u0000\u0000\u00c3\u00c4\u0005\u0006\u0000\u0000\u00c4"+
|
||||
"\u00c6\u0001\u0000\u0000\u0000\u00c5\u00bc\u0001\u0000\u0000\u0000\u00c5"+
|
||||
"\u00bd\u0001\u0000\u0000\u0000\u00c6\u001b\u0001\u0000\u0000\u0000\u00c7"+
|
||||
"\u00c8\u0006\u000e\uffff\uffff\u0000\u00c8\u00c9\u0003 \u0010\u0000\u00c9"+
|
||||
"\u00ca\u0003\u001c\u000e\u0006\u00ca\u00d4\u0001\u0000\u0000\u0000\u00cb"+
|
||||
"\u00d4\u0003.\u0017\u0000\u00cc\u00cd\u0005\u0005\u0000\u0000\u00cd\u00ce"+
|
||||
"\u0003\u001c\u000e\u0000\u00ce\u00cf\u0005\u0006\u0000\u0000\u00cf\u00d4"+
|
||||
"\u0001\u0000\u0000\u0000\u00d0\u00d4\u0003\"\u0011\u0000\u00d1\u00d4\u0003"+
|
||||
"\u001a\r\u0000\u00d2\u00d4\u0005\u0016\u0000\u0000\u00d3\u00c7\u0001\u0000"+
|
||||
"\u0000\u0000\u00d3\u00cb\u0001\u0000\u0000\u0000\u00d3\u00cc\u0001\u0000"+
|
||||
"\u0000\u0000\u00d3\u00d0\u0001\u0000\u0000\u0000\u00d3\u00d1\u0001\u0000"+
|
||||
"\u0000\u0000\u00d3\u00d2\u0001\u0000\u0000\u0000\u00d4\u00db\u0001\u0000"+
|
||||
"\u0000\u0000\u00d5\u00d6\n\u0007\u0000\u0000\u00d6\u00d7\u0003\u001e\u000f"+
|
||||
"\u0000\u00d7\u00d8\u0003\u001c\u000e\b\u00d8\u00da\u0001\u0000\u0000\u0000"+
|
||||
"\u00d9\u00d5\u0001\u0000\u0000\u0000\u00da\u00dd\u0001\u0000\u0000\u0000"+
|
||||
"\u00db\u00d9\u0001\u0000\u0000\u0000\u00db\u00dc\u0001\u0000\u0000\u0000"+
|
||||
"\u00dc\u001d\u0001\u0000\u0000\u0000\u00dd\u00db\u0001\u0000\u0000\u0000"+
|
||||
"\u00de\u00df\u0007\u0001\u0000\u0000\u00df\u001f\u0001\u0000\u0000\u0000"+
|
||||
"\u00e0\u00e1\u0007\u0002\u0000\u0000\u00e1!\u0001\u0000\u0000\u0000\u00e2"+
|
||||
"\u00e3\u0005\u0017\u0000\u0000\u00e3\u00e5\u0005\u0013\u0000\u0000\u00e4"+
|
||||
"\u00e2\u0001\u0000\u0000\u0000\u00e4\u00e5\u0001\u0000\u0000\u0000\u00e5"+
|
||||
"\u00eb\u0001\u0000\u0000\u0000\u00e6\u00e7\u0003(\u0014\u0000\u00e7\u00e8"+
|
||||
"\u0005\u0013\u0000\u0000\u00e8\u00ea\u0001\u0000\u0000\u0000\u00e9\u00e6"+
|
||||
"\u0001\u0000\u0000\u0000\u00ea\u00ed\u0001\u0000\u0000\u0000\u00eb\u00e9"+
|
||||
"\u0001\u0000\u0000\u0000\u00eb\u00ec\u0001\u0000\u0000\u0000\u00ec\u00ee"+
|
||||
"\u0001\u0000\u0000\u0000\u00ed\u00eb\u0001\u0000\u0000\u0000\u00ee\u00ef"+
|
||||
"\u00030\u0018\u0000\u00ef#\u0001\u0000\u0000\u0000\u00f0\u00f1\u00030"+
|
||||
"\u0018\u0000\u00f1\u00f2\u0003\u0006\u0003\u0000\u00f2\u00f3\u0003\u001c"+
|
||||
"\u000e\u0000\u00f3%\u0001\u0000\u0000\u0000\u00f4\u00f5\u0005\u0017\u0000"+
|
||||
"\u0000\u00f5\u00f7\u0005\u0013\u0000\u0000\u00f6\u00f4\u0001\u0000\u0000"+
|
||||
"\u0000\u00f6\u00f7\u0001\u0000\u0000\u0000\u00f7\u00fd\u0001\u0000\u0000"+
|
||||
"\u0000\u00f8\u00f9\u0003(\u0014\u0000\u00f9\u00fa\u0005\u0013\u0000\u0000"+
|
||||
"\u00fa\u00fc\u0001\u0000\u0000\u0000\u00fb\u00f8\u0001\u0000\u0000\u0000"+
|
||||
"\u00fc\u00ff\u0001\u0000\u0000\u0000\u00fd\u00fb\u0001\u0000\u0000\u0000"+
|
||||
"\u00fd\u00fe\u0001\u0000\u0000\u0000\u00fe\u0100\u0001\u0000\u0000\u0000"+
|
||||
"\u00ff\u00fd\u0001\u0000\u0000\u0000\u0100\u0101\u0003*\u0015\u0000\u0101"+
|
||||
"\'\u0001\u0000\u0000\u0000\u0102\u0105\u0003*\u0015\u0000\u0103\u0105"+
|
||||
"\u00030\u0018\u0000\u0104\u0102\u0001\u0000\u0000\u0000\u0104\u0103\u0001"+
|
||||
"\u0000\u0000\u0000\u0105)\u0001\u0000\u0000\u0000\u0106\u0107\u00030\u0018"+
|
||||
"\u0000\u0107\u0109\u0005\u0005\u0000\u0000\u0108\u010a\u0003,\u0016\u0000"+
|
||||
"\u0109\u0108\u0001\u0000\u0000\u0000\u0109\u010a\u0001\u0000\u0000\u0000"+
|
||||
"\u010a\u010b\u0001\u0000\u0000\u0000\u010b\u010c\u0005\u0006\u0000\u0000"+
|
||||
"\u010c+\u0001\u0000\u0000\u0000\u010d\u0112\u0003\u001c\u000e\u0000\u010e"+
|
||||
"\u010f\u0005\n\u0000\u0000\u010f\u0111\u0003\u001c\u000e\u0000\u0110\u010e"+
|
||||
"\u0001\u0000\u0000\u0000\u0111\u0114\u0001\u0000\u0000\u0000\u0112\u0110"+
|
||||
"\u0001\u0000\u0000\u0000\u0112\u0113\u0001\u0000\u0000\u0000\u0113-\u0001"+
|
||||
"\u0000\u0000\u0000\u0114\u0112\u0001\u0000\u0000\u0000\u0115\u0116\u0007"+
|
||||
"\u0003\u0000\u0000\u0116/\u0001\u0000\u0000\u0000\u0117\u0118\u0005.\u0000"+
|
||||
"\u0000\u01181\u0001\u0000\u0000\u0000\u00187<>OU\\kpz\u0083\u0085\u0091"+
|
||||
"\u00ba\u00c1\u00c5\u00d3\u00db\u00e4\u00eb\u00f6\u00fd\u0104\u0109\u0112";
|
||||
"\u0003\u001c\u000e\u0000\u00ac\u00ad\u0005\u0004\u0000\u0000\u00ad\u00b9"+
|
||||
"\u0001\u0000\u0000\u0000\u00ae\u00af\u0005\u0010\u0000\u0000\u00af\u00b9"+
|
||||
"\u0005\u0004\u0000\u0000\u00b0\u00b1\u0005\u0011\u0000\u0000\u00b1\u00b9"+
|
||||
"\u0005\u0004\u0000\u0000\u00b2\u00b3\u0003$\u0012\u0000\u00b3\u00b4\u0005"+
|
||||
"\u0004\u0000\u0000\u00b4\u00b9\u0001\u0000\u0000\u0000\u00b5\u00b6\u0003"+
|
||||
"\u001a\r\u0000\u00b6\u00b7\u0005\u0004\u0000\u0000\u00b7\u00b9\u0001\u0000"+
|
||||
"\u0000\u0000\u00b8\u008a\u0001\u0000\u0000\u0000\u00b8\u0093\u0001\u0000"+
|
||||
"\u0000\u0000\u00b8\u009d\u0001\u0000\u0000\u0000\u00b8\u00a3\u0001\u0000"+
|
||||
"\u0000\u0000\u00b8\u00aa\u0001\u0000\u0000\u0000\u00b8\u00ae\u0001\u0000"+
|
||||
"\u0000\u0000\u00b8\u00b0\u0001\u0000\u0000\u0000\u00b8\u00b2\u0001\u0000"+
|
||||
"\u0000\u0000\u00b8\u00b5\u0001\u0000\u0000\u0000\u00b9\u0019\u0001\u0000"+
|
||||
"\u0000\u0000\u00ba\u00c4\u0003&\u0013\u0000\u00bb\u00bc\u0005\u0014\u0000"+
|
||||
"\u0000\u00bc\u00bd\u0003\n\u0005\u0000\u00bd\u00bf\u0005\u0005\u0000\u0000"+
|
||||
"\u00be\u00c0\u0003,\u0016\u0000\u00bf\u00be\u0001\u0000\u0000\u0000\u00bf"+
|
||||
"\u00c0\u0001\u0000\u0000\u0000\u00c0\u00c1\u0001\u0000\u0000\u0000\u00c1"+
|
||||
"\u00c2\u0005\u0006\u0000\u0000\u00c2\u00c4\u0001\u0000\u0000\u0000\u00c3"+
|
||||
"\u00ba\u0001\u0000\u0000\u0000\u00c3\u00bb\u0001\u0000\u0000\u0000\u00c4"+
|
||||
"\u001b\u0001\u0000\u0000\u0000\u00c5\u00c6\u0006\u000e\uffff\uffff\u0000"+
|
||||
"\u00c6\u00c7\u0003 \u0010\u0000\u00c7\u00c8\u0003\u001c\u000e\u0006\u00c8"+
|
||||
"\u00d2\u0001\u0000\u0000\u0000\u00c9\u00d2\u0003.\u0017\u0000\u00ca\u00cb"+
|
||||
"\u0005\u0005\u0000\u0000\u00cb\u00cc\u0003\u001c\u000e\u0000\u00cc\u00cd"+
|
||||
"\u0005\u0006\u0000\u0000\u00cd\u00d2\u0001\u0000\u0000\u0000\u00ce\u00d2"+
|
||||
"\u0003\"\u0011\u0000\u00cf\u00d2\u0003\u001a\r\u0000\u00d0\u00d2\u0005"+
|
||||
"\u0015\u0000\u0000\u00d1\u00c5\u0001\u0000\u0000\u0000\u00d1\u00c9\u0001"+
|
||||
"\u0000\u0000\u0000\u00d1\u00ca\u0001\u0000\u0000\u0000\u00d1\u00ce\u0001"+
|
||||
"\u0000\u0000\u0000\u00d1\u00cf\u0001\u0000\u0000\u0000\u00d1\u00d0\u0001"+
|
||||
"\u0000\u0000\u0000\u00d2\u00d9\u0001\u0000\u0000\u0000\u00d3\u00d4\n\u0007"+
|
||||
"\u0000\u0000\u00d4\u00d5\u0003\u001e\u000f\u0000\u00d5\u00d6\u0003\u001c"+
|
||||
"\u000e\b\u00d6\u00d8\u0001\u0000\u0000\u0000\u00d7\u00d3\u0001\u0000\u0000"+
|
||||
"\u0000\u00d8\u00db\u0001\u0000\u0000\u0000\u00d9\u00d7\u0001\u0000\u0000"+
|
||||
"\u0000\u00d9\u00da\u0001\u0000\u0000\u0000\u00da\u001d\u0001\u0000\u0000"+
|
||||
"\u0000\u00db\u00d9\u0001\u0000\u0000\u0000\u00dc\u00dd\u0007\u0001\u0000"+
|
||||
"\u0000\u00dd\u001f\u0001\u0000\u0000\u0000\u00de\u00df\u0007\u0002\u0000"+
|
||||
"\u0000\u00df!\u0001\u0000\u0000\u0000\u00e0\u00e1\u0005\u0016\u0000\u0000"+
|
||||
"\u00e1\u00e3\u0005\u0012\u0000\u0000\u00e2\u00e0\u0001\u0000\u0000\u0000"+
|
||||
"\u00e2\u00e3\u0001\u0000\u0000\u0000\u00e3\u00e9\u0001\u0000\u0000\u0000"+
|
||||
"\u00e4\u00e5\u0003(\u0014\u0000\u00e5\u00e6\u0005\u0012\u0000\u0000\u00e6"+
|
||||
"\u00e8\u0001\u0000\u0000\u0000\u00e7\u00e4\u0001\u0000\u0000\u0000\u00e8"+
|
||||
"\u00eb\u0001\u0000\u0000\u0000\u00e9\u00e7\u0001\u0000\u0000\u0000\u00e9"+
|
||||
"\u00ea\u0001\u0000\u0000\u0000\u00ea\u00ec\u0001\u0000\u0000\u0000\u00eb"+
|
||||
"\u00e9\u0001\u0000\u0000\u0000\u00ec\u00ed\u00030\u0018\u0000\u00ed#\u0001"+
|
||||
"\u0000\u0000\u0000\u00ee\u00ef\u00030\u0018\u0000\u00ef\u00f0\u0003\u0006"+
|
||||
"\u0003\u0000\u00f0\u00f1\u0003\u001c\u000e\u0000\u00f1%\u0001\u0000\u0000"+
|
||||
"\u0000\u00f2\u00f3\u0005\u0016\u0000\u0000\u00f3\u00f5\u0005\u0012\u0000"+
|
||||
"\u0000\u00f4\u00f2\u0001\u0000\u0000\u0000\u00f4\u00f5\u0001\u0000\u0000"+
|
||||
"\u0000\u00f5\u00fb\u0001\u0000\u0000\u0000\u00f6\u00f7\u0003(\u0014\u0000"+
|
||||
"\u00f7\u00f8\u0005\u0012\u0000\u0000\u00f8\u00fa\u0001\u0000\u0000\u0000"+
|
||||
"\u00f9\u00f6\u0001\u0000\u0000\u0000\u00fa\u00fd\u0001\u0000\u0000\u0000"+
|
||||
"\u00fb\u00f9\u0001\u0000\u0000\u0000\u00fb\u00fc\u0001\u0000\u0000\u0000"+
|
||||
"\u00fc\u00fe\u0001\u0000\u0000\u0000\u00fd\u00fb\u0001\u0000\u0000\u0000"+
|
||||
"\u00fe\u00ff\u0003*\u0015\u0000\u00ff\'\u0001\u0000\u0000\u0000\u0100"+
|
||||
"\u0103\u0003*\u0015\u0000\u0101\u0103\u00030\u0018\u0000\u0102\u0100\u0001"+
|
||||
"\u0000\u0000\u0000\u0102\u0101\u0001\u0000\u0000\u0000\u0103)\u0001\u0000"+
|
||||
"\u0000\u0000\u0104\u0105\u00030\u0018\u0000\u0105\u0107\u0005\u0005\u0000"+
|
||||
"\u0000\u0106\u0108\u0003,\u0016\u0000\u0107\u0106\u0001\u0000\u0000\u0000"+
|
||||
"\u0107\u0108\u0001\u0000\u0000\u0000\u0108\u0109\u0001\u0000\u0000\u0000"+
|
||||
"\u0109\u010a\u0005\u0006\u0000\u0000\u010a+\u0001\u0000\u0000\u0000\u010b"+
|
||||
"\u0110\u0003\u001c\u000e\u0000\u010c\u010d\u0005\n\u0000\u0000\u010d\u010f"+
|
||||
"\u0003\u001c\u000e\u0000\u010e\u010c\u0001\u0000\u0000\u0000\u010f\u0112"+
|
||||
"\u0001\u0000\u0000\u0000\u0110\u010e\u0001\u0000\u0000\u0000\u0110\u0111"+
|
||||
"\u0001\u0000\u0000\u0000\u0111-\u0001\u0000\u0000\u0000\u0112\u0110\u0001"+
|
||||
"\u0000\u0000\u0000\u0113\u0114\u0007\u0003\u0000\u0000\u0114/\u0001\u0000"+
|
||||
"\u0000\u0000\u0115\u0116\u0005-\u0000\u0000\u01161\u0001\u0000\u0000\u0000"+
|
||||
"\u00187<>OU\\kpz\u0083\u0085\u0091\u00b8\u00bf\u00c3\u00d1\u00d9\u00e2"+
|
||||
"\u00e9\u00f4\u00fb\u0102\u0107\u0110";
|
||||
public static final ATN _ATN =
|
||||
new ATNDeserializer().deserialize(_serializedATN.toCharArray());
|
||||
static {
|
||||
|
@ -131,13 +131,6 @@ public interface DecafVisitor<T> extends ParseTreeVisitor<T> {
|
||||
* @return the visitor result
|
||||
*/
|
||||
T visitBreak(DecafParser.BreakContext ctx);
|
||||
/**
|
||||
* Visit a parse tree produced by the {@code Continue}
|
||||
* labeled alternative in {@link DecafParser#stmt}.
|
||||
* @param ctx the parse tree
|
||||
* @return the visitor result
|
||||
*/
|
||||
T visitContinue(DecafParser.ContinueContext ctx);
|
||||
/**
|
||||
* Visit a parse tree produced by the {@code Assignment}
|
||||
* labeled alternative in {@link DecafParser#stmt}.
|
||||
|
Loading…
Reference in New Issue
Block a user