From 9872d7de461b9889c289ded7722e9f81ebc06f7e Mon Sep 17 00:00:00 2001 From: leo Date: Wed, 22 Apr 2009 13:47:34 +0000 Subject: [PATCH] improved parsing speed of the SilkPullParser. git-svn-id: http://www.xerial.org/svn/project/XerialJ/trunk/xerial-core@3247 ae02f08e-27ec-0310-ae8c-8ba02fe2eafd --- src/main/java/org/xerial/silk/SilkPullParser.java | 114 +- src/main/java/org/xerial/silk/impl/Silk.g | 25 +- src/main/java/org/xerial/silk/impl/Silk.tokens | 80 +- src/main/java/org/xerial/silk/impl/SilkLexer.java | 2887 ++++++++++---------- .../java/org/xerial/silk/impl/SilkLexerState.java | 23 + src/main/java/org/xerial/silk/impl/SilkParser.java | 704 +++-- 6 files changed, 1922 insertions(+), 1911 deletions(-) diff --git a/src/main/java/org/xerial/silk/SilkPullParser.java b/src/main/java/org/xerial/silk/SilkPullParser.java index 658bf71..b70b8d4 100644 --- a/src/main/java/org/xerial/silk/SilkPullParser.java +++ b/src/main/java/org/xerial/silk/SilkPullParser.java @@ -29,6 +29,8 @@ import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.Reader; +import java.util.regex.Matcher; +import java.util.regex.Pattern; import org.antlr.runtime.ANTLRStringStream; import org.antlr.runtime.CommonTokenStream; @@ -136,6 +138,31 @@ public class SilkPullParser eventQueue.addLast(e); } + public static String sanitizeDataLine(String line) + { + if (line.startsWith("\\")) + return removeLineComment(line.substring(1)); + else + return removeLineComment(line); + } + + private static Pattern lineCommentPattern = Pattern.compile("[^\"]*(\\\"[^\"]*\\\")*[^\"]*(#.*)"); + + public static String removeLineComment(String line) + { + if (!line.contains("#")) + return line; + + Matcher m = lineCommentPattern.matcher(line); + if (m.matches()) + { + int lineCommentStart = m.start(2); + if (lineCommentStart != -1) + line = line.substring(0, lineCommentStart); + } + return line; + } + public void fillQueue() throws XerialException { if (foundEOF) @@ -145,6 +172,7 @@ public class SilkPullParser String line = null; try { + // line without newline characters, '\n' and '\r' line = buffer.readLine(); lineCount++; } @@ -168,6 +196,44 @@ public class SilkPullParser return; } + if (line.startsWith("%")) + { + push(new SilkEvent(SilkEventType.PREAMBLE, new SilkPreamble(line))); + return; + } + else if (line.startsWith("--")) + { + push(new SilkEvent(SilkEventType.MULTILINE_SEPARATOR, null)); + return; + } + else if (line.startsWith(">>")) + { + push(new SilkEvent(SilkEventType.MULTILINE_ENTRY_SEPARATOR, null)); + return; + } + + // remove leading and trailing white spaces (' ') + String trimmedLine = line.trim(); + if (trimmedLine.length() <= 0) + { + push(BlankLineEvent); + return; + } + + // comment line + if (trimmedLine.startsWith("#")) + { + // ignore the comment line + return; + } + + if (!(trimmedLine.startsWith("-") || trimmedLine.startsWith("@"))) + { + SilkDataLine dataLine = new SilkDataLine(sanitizeDataLine(trimmedLine)); + push(new SilkEvent(SilkEventType.DATA_LINE, dataLine)); + return; + } + // lexical analysis lexer.resetContext(); lexer.setCharStream(new ANTLRStringStream(line)); @@ -192,29 +258,31 @@ public class SilkPullParser push(new SilkEvent(SilkEventType.NODE, node)); break; } - case SilkParser.BlankLine: - { - push(BlankLineEvent); - break; - } - case SilkParser.DataLine: - { - SilkDataLine dataLine = new SilkDataLine(t.getText()); - push(new SilkEvent(SilkEventType.DATA_LINE, dataLine)); - break; - } - case SilkParser.Preamble: - push(new SilkEvent(SilkEventType.PREAMBLE, new SilkPreamble(t.getText()))); - break; - case SilkParser.MultiLineEntrySeparator: - push(new SilkEvent(SilkEventType.MULTILINE_ENTRY_SEPARATOR, null)); - break; - case SilkParser.MultiLineSeparator: - push(new SilkEvent(SilkEventType.MULTILINE_SEPARATOR, null)); - break; - case SilkParser.LineComment: - // ignore the comment line - break; + /* + case SilkParser.BlankLine: + { + push(BlankLineEvent); + break; + } + case SilkParser.DataLine: + { + SilkDataLine dataLine = new SilkDataLine(t.getText()); + push(new SilkEvent(SilkEventType.DATA_LINE, dataLine)); + break; + } + case SilkParser.Preamble: + push(new SilkEvent(SilkEventType.PREAMBLE, new SilkPreamble(t.getText()))); + break; + case SilkParser.MultiLineEntrySeparator: + push(new SilkEvent(SilkEventType.MULTILINE_ENTRY_SEPARATOR, null)); + break; + case SilkParser.MultiLineSeparator: + push(new SilkEvent(SilkEventType.MULTILINE_SEPARATOR, null)); + break; + case SilkParser.LineComment: + // ignore the comment line + break; + */ default: throw new XerialException(XerialErrorCode.INVALID_INPUT, String.format( "line=%d: invalid data type: %s", lineCount, parser.getTokenNames()[t.getType()])); diff --git a/src/main/java/org/xerial/silk/impl/Silk.g b/src/main/java/org/xerial/silk/impl/Silk.g index 99fdedb..ef4cfe6 100644 --- a/src/main/java/org/xerial/silk/impl/Silk.g +++ b/src/main/java/org/xerial/silk/impl/Silk.g @@ -118,12 +118,11 @@ private static Logger _logger = Logger.getLogger(SilkLexer.class); private SilkLexerState lexerContext = new SilkLexerState(); -private State currentState() { return lexerContext.getCurrentState(); } private void transit(Symbol token) { lexerContext.transit(token); } -private boolean isKey() { return currentState() == State.IN_KEY || currentState() == State.OUT_KEY; } -private boolean isValue() { return currentState() == State.IN_VALUE || currentState() == State.OUT_VALUE; } -private boolean isInValue() { return currentState() == State.IN_VALUE; } -private boolean isOutValue() { return currentState() == State.OUT_VALUE; } +private boolean isKey() { return lexerContext.isInKey(); } +private boolean isValue() { return lexerContext.isValue(); } +private boolean isInValue() { return lexerContext.isInValue(); } +private boolean isOutValue() { return lexerContext.isOutValue(); } private boolean isHead() { return getCharPositionInLine() == 0; } public void resetContext() { lexerContext.reset(); } @@ -148,7 +147,7 @@ private boolean isHead() { return getCharPositionInLine() == 0; } -// lexer rules +// lexer rules for one-line Silk data fragment @@ -163,10 +162,12 @@ Preamble: { isHead() }? => '%' ~(LineBreakChar)* ; // r: n : fragment LineBreakChar: '\n' | '\r'; +/* LineBreak : ('\r' '\n' | '\r' | '\n' ) { $channel=HIDDEN; resetContext(); } ; + */ MultiLineSeparator: { isHead() }? => '--' WhiteSpace*; MultiLineEntrySeparator: { isHead() }? => '>>' WhiteSpace*; @@ -222,15 +223,11 @@ fragment PlainFirst : ~('-' | '+' | '?' | PlainUnsafeChar | WhiteSpace | Indicator ) | { isValue() }? => ('-' | '+' | (':' | '?') NonSpaceChar) ; - -fragment PlainSafe - : { isKey() }? => PlainSafeKey - | { isInValue() }? => PlainSafeIn - | { isOutValue() }? => PlainSafeOut - ; - + PlainOneLine - : PlainFirst (WhiteSpace* PlainSafe)* { transit(Symbol.LeaveValue); } + : { isKey() }? => PlainFirst PlainSafeKey* { transit(Symbol.LeaveValue); } + | { isInValue() }? => PlainFirst PlainSafeIn* { transit(Symbol.LeaveValue); } + | { isOutValue() }? => PlainFirst PlainSafeOut* { transit(Symbol.LeaveValue); } ; diff --git a/src/main/java/org/xerial/silk/impl/Silk.tokens b/src/main/java/org/xerial/silk/impl/Silk.tokens index 60bbecc..dbbe06d 100644 --- a/src/main/java/org/xerial/silk/impl/Silk.tokens +++ b/src/main/java/org/xerial/silk/impl/Silk.tokens @@ -1,56 +1,54 @@ Key=14 -PlainUnsafeChar=50 -PlainSafeKey=51 +PlainUnsafeChar=49 +PlainSafeKey=50 DataType=10 SilkNode=5 SilkLine=6 -LBracket=36 -NodeIndent=22 -Digit=39 -HexDigit=41 -PlainOneLine=57 -Plus=35 +LBracket=35 +NodeIndent=21 +Digit=38 +HexDigit=40 +PlainOneLine=55 +Plus=34 Occurrence=9 Argument=12 -Separation=59 -FlowIndicator=48 -Letter=40 -PlainSafeIn=52 -Comma=29 -TabSeq=32 -NonSpaceChar=54 -EscapeSequence=43 -DataLine=26 -PlainFirst=55 +Separation=57 +FlowIndicator=47 +Letter=39 +PlainSafeIn=51 +Comma=28 +TabSeq=31 +NonSpaceChar=53 +EscapeSequence=42 +DataLine=25 +PlainFirst=54 WhiteSpace=15 -MultiLineEntrySeparator=21 -PlainSafeOut=53 -JSON=58 -Question=38 +MultiLineEntrySeparator=20 +PlainSafeOut=52 +JSON=56 +Question=37 LineComment=17 -Colon=30 -At=34 -DataLineBody=25 +Colon=29 +At=33 +DataLineBody=24 KeyValuePair=13 -Star=33 +Star=32 Preamble=18 -Seq=31 -FunctionIndent=23 -Indicator=49 -RParen=28 -UnicodeChar=42 -StringChar=44 +Seq=30 +FunctionIndent=22 +Indicator=48 +RParen=27 +UnicodeChar=41 +MultiLineSeparator=19 Silk=4 -MultiLineSeparator=20 -BlankLine=24 -LineBreak=19 +BlankLine=23 +StringChar=43 Function=11 Name=7 -LParen=27 -String=46 +LParen=26 +String=45 LineBreakChar=16 -ScopeIndicator=47 -StringChar_s=45 +ScopeIndicator=46 +StringChar_s=44 Value=8 -RBracket=37 -PlainSafe=56 +RBracket=36 diff --git a/src/main/java/org/xerial/silk/impl/SilkLexer.java b/src/main/java/org/xerial/silk/impl/SilkLexer.java index 55271a4..2e315df 100644 --- a/src/main/java/org/xerial/silk/impl/SilkLexer.java +++ b/src/main/java/org/xerial/silk/impl/SilkLexer.java @@ -1,4 +1,4 @@ -// $ANTLR 3.1.1 F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g 2009-04-22 16:57:26 +// $ANTLR 3.1.1 c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g 2009-04-22 20:18:51 /*-------------------------------------------------------------------------- * Copyright 2009 Taro L. Saito @@ -39,74 +39,71 @@ import java.util.ArrayList; public class SilkLexer extends Lexer { public static final int Key=14; - public static final int PlainUnsafeChar=50; - public static final int PlainSafeKey=51; + public static final int PlainUnsafeChar=49; + public static final int PlainSafeKey=50; public static final int DataType=10; public static final int SilkNode=5; public static final int SilkLine=6; - public static final int LBracket=36; - public static final int Digit=39; - public static final int NodeIndent=22; - public static final int HexDigit=41; - public static final int PlainOneLine=57; - public static final int Plus=35; + public static final int LBracket=35; + public static final int Digit=38; + public static final int NodeIndent=21; + public static final int HexDigit=40; + public static final int PlainOneLine=55; + public static final int Plus=34; public static final int Occurrence=9; public static final int Argument=12; - public static final int FlowIndicator=48; - public static final int Separation=59; - public static final int Letter=40; - public static final int PlainSafeIn=52; - public static final int Comma=29; - public static final int TabSeq=32; - public static final int NonSpaceChar=54; - public static final int EscapeSequence=43; - public static final int DataLine=26; - public static final int PlainFirst=55; + public static final int FlowIndicator=47; + public static final int Separation=57; + public static final int Letter=39; + public static final int PlainSafeIn=51; + public static final int Comma=28; + public static final int TabSeq=31; + public static final int NonSpaceChar=53; + public static final int EscapeSequence=42; + public static final int DataLine=25; + public static final int PlainFirst=54; public static final int WhiteSpace=15; - public static final int MultiLineEntrySeparator=21; - public static final int PlainSafeOut=53; - public static final int JSON=58; - public static final int Question=38; + public static final int MultiLineEntrySeparator=20; + public static final int PlainSafeOut=52; + public static final int JSON=56; + public static final int Question=37; public static final int LineComment=17; - public static final int Colon=30; - public static final int At=34; - public static final int DataLineBody=25; + public static final int Colon=29; + public static final int At=33; + public static final int DataLineBody=24; public static final int KeyValuePair=13; - public static final int Star=33; + public static final int Star=32; public static final int Preamble=18; - public static final int Seq=31; - public static final int FunctionIndent=23; - public static final int Indicator=49; - public static final int RParen=28; - public static final int UnicodeChar=42; - public static final int BlankLine=24; - public static final int MultiLineSeparator=20; + public static final int Seq=30; + public static final int FunctionIndent=22; + public static final int Indicator=48; + public static final int RParen=27; + public static final int UnicodeChar=41; + public static final int StringChar=43; + public static final int BlankLine=23; public static final int Silk=4; - public static final int StringChar=44; - public static final int LineBreak=19; + public static final int MultiLineSeparator=19; public static final int Name=7; public static final int Function=11; - public static final int LParen=27; - public static final int String=46; + public static final int LParen=26; + public static final int String=45; public static final int LineBreakChar=16; - public static final int ScopeIndicator=47; + public static final int ScopeIndicator=46; public static final int EOF=-1; - public static final int StringChar_s=45; + public static final int StringChar_s=44; public static final int Value=8; - public static final int RBracket=37; - public static final int PlainSafe=56; + public static final int RBracket=36; private static Logger _logger = Logger.getLogger(SilkLexer.class); private SilkLexerState lexerContext = new SilkLexerState(); - private State currentState() { return lexerContext.getCurrentState(); } private void transit(Symbol token) { lexerContext.transit(token); } - private boolean isKey() { return currentState() == State.IN_KEY || currentState() == State.OUT_KEY; } - private boolean isValue() { return currentState() == State.IN_VALUE || currentState() == State.OUT_VALUE; } - private boolean isInValue() { return currentState() == State.IN_VALUE; } - private boolean isOutValue() { return currentState() == State.OUT_VALUE; } + private boolean isKey() { return lexerContext.isInKey(); } + private boolean isValue() { return lexerContext.isValue(); } + private boolean isInValue() { return lexerContext.isInValue(); } + private boolean isOutValue() { return lexerContext.isOutValue(); } private boolean isHead() { return getCharPositionInLine() == 0; } public void resetContext() { lexerContext.reset(); } @@ -140,13 +137,13 @@ public class SilkLexer extends Lexer { super(input,state); } - public String getGrammarFileName() { return "F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g"; } + public String getGrammarFileName() { return "c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g"; } // $ANTLR start "WhiteSpace" public final void mWhiteSpace() throws RecognitionException { try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:156:2: ( ( ' ' | '\\t' ) ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:156:4: ( ' ' | '\\t' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:155:2: ( ( ' ' | '\\t' ) ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:155:4: ( ' ' | '\\t' ) { if ( input.LA(1)=='\t'||input.LA(1)==' ' ) { input.consume(); @@ -171,11 +168,11 @@ public class SilkLexer extends Lexer { try { int _type = LineComment; int _channel = DEFAULT_TOKEN_CHANNEL; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:160:12: ( '#' (~ ( LineBreakChar ) )* ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:160:14: '#' (~ ( LineBreakChar ) )* + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:159:12: ( '#' (~ ( LineBreakChar ) )* ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:159:14: '#' (~ ( LineBreakChar ) )* { match('#'); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:160:18: (~ ( LineBreakChar ) )* + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:159:18: (~ ( LineBreakChar ) )* loop1: do { int alt1=2; @@ -188,7 +185,7 @@ public class SilkLexer extends Lexer { switch (alt1) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:160:18: ~ ( LineBreakChar ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:159:18: ~ ( LineBreakChar ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -224,14 +221,14 @@ public class SilkLexer extends Lexer { try { int _type = Preamble; int _channel = DEFAULT_TOKEN_CHANNEL; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:161:9: ({...}? => '%' (~ ( LineBreakChar ) )* ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:161:11: {...}? => '%' (~ ( LineBreakChar ) )* + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:160:9: ({...}? => '%' (~ ( LineBreakChar ) )* ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:160:11: {...}? => '%' (~ ( LineBreakChar ) )* { if ( !(( isHead() )) ) { throw new FailedPredicateException(input, "Preamble", " isHead() "); } match('%'); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:161:32: (~ ( LineBreakChar ) )* + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:160:32: (~ ( LineBreakChar ) )* loop2: do { int alt2=2; @@ -244,7 +241,7 @@ public class SilkLexer extends Lexer { switch (alt2) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:161:32: ~ ( LineBreakChar ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:160:32: ~ ( LineBreakChar ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -278,8 +275,8 @@ public class SilkLexer extends Lexer { // $ANTLR start "LineBreakChar" public final void mLineBreakChar() throws RecognitionException { try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:164:23: ( '\\n' | '\\r' ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g: + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:163:23: ( '\\n' | '\\r' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g: { if ( input.LA(1)=='\n'||input.LA(1)=='\r' ) { input.consume(); @@ -299,101 +296,33 @@ public class SilkLexer extends Lexer { } // $ANTLR end "LineBreakChar" - // $ANTLR start "LineBreak" - public final void mLineBreak() throws RecognitionException { - try { - int _type = LineBreak; - int _channel = DEFAULT_TOKEN_CHANNEL; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:167:2: ( ( '\\r' '\\n' | '\\r' | '\\n' ) ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:167:4: ( '\\r' '\\n' | '\\r' | '\\n' ) - { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:167:4: ( '\\r' '\\n' | '\\r' | '\\n' ) - int alt3=3; - int LA3_0 = input.LA(1); - - if ( (LA3_0=='\r') ) { - int LA3_1 = input.LA(2); - - if ( (LA3_1=='\n') ) { - alt3=1; - } - else { - alt3=2;} - } - else if ( (LA3_0=='\n') ) { - alt3=3; - } - else { - NoViableAltException nvae = - new NoViableAltException("", 3, 0, input); - - throw nvae; - } - switch (alt3) { - case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:167:5: '\\r' '\\n' - { - match('\r'); - match('\n'); - - } - break; - case 2 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:167:17: '\\r' - { - match('\r'); - - } - break; - case 3 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:167:24: '\\n' - { - match('\n'); - - } - break; - - } - - _channel=HIDDEN; resetContext(); - - } - - state.type = _type; - state.channel = _channel; - } - finally { - } - } - // $ANTLR end "LineBreak" - // $ANTLR start "MultiLineSeparator" public final void mMultiLineSeparator() throws RecognitionException { try { int _type = MultiLineSeparator; int _channel = DEFAULT_TOKEN_CHANNEL; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:171:19: ({...}? => '--' ( WhiteSpace )* ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:171:21: {...}? => '--' ( WhiteSpace )* + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:172:19: ({...}? => '--' ( WhiteSpace )* ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:172:21: {...}? => '--' ( WhiteSpace )* { if ( !(( isHead() )) ) { throw new FailedPredicateException(input, "MultiLineSeparator", " isHead() "); } match("--"); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:171:43: ( WhiteSpace )* - loop4: + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:172:43: ( WhiteSpace )* + loop3: do { - int alt4=2; - int LA4_0 = input.LA(1); + int alt3=2; + int LA3_0 = input.LA(1); - if ( (LA4_0=='\t'||LA4_0==' ') ) { - alt4=1; + if ( (LA3_0=='\t'||LA3_0==' ') ) { + alt3=1; } - switch (alt4) { + switch (alt3) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:171:43: WhiteSpace + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:172:43: WhiteSpace { mWhiteSpace(); @@ -401,7 +330,7 @@ public class SilkLexer extends Lexer { break; default : - break loop4; + break loop3; } } while (true); @@ -421,28 +350,28 @@ public class SilkLexer extends Lexer { try { int _type = MultiLineEntrySeparator; int _channel = DEFAULT_TOKEN_CHANNEL; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:172:24: ({...}? => '>>' ( WhiteSpace )* ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:172:26: {...}? => '>>' ( WhiteSpace )* + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:173:24: ({...}? => '>>' ( WhiteSpace )* ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:173:26: {...}? => '>>' ( WhiteSpace )* { if ( !(( isHead() )) ) { throw new FailedPredicateException(input, "MultiLineEntrySeparator", " isHead() "); } match(">>"); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:172:48: ( WhiteSpace )* - loop5: + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:173:48: ( WhiteSpace )* + loop4: do { - int alt5=2; - int LA5_0 = input.LA(1); + int alt4=2; + int LA4_0 = input.LA(1); - if ( (LA5_0=='\t'||LA5_0==' ') ) { - alt5=1; + if ( (LA4_0=='\t'||LA4_0==' ') ) { + alt4=1; } - switch (alt5) { + switch (alt4) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:172:48: WhiteSpace + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:173:48: WhiteSpace { mWhiteSpace(); @@ -450,7 +379,7 @@ public class SilkLexer extends Lexer { break; default : - break loop5; + break loop4; } } while (true); @@ -470,26 +399,26 @@ public class SilkLexer extends Lexer { try { int _type = NodeIndent; int _channel = DEFAULT_TOKEN_CHANNEL; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:174:11: ({...}? => ( ' ' )* '-' ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:174:13: {...}? => ( ' ' )* '-' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:175:11: ({...}? => ( ' ' )* '-' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:175:13: {...}? => ( ' ' )* '-' { if ( !(( isHead() )) ) { throw new FailedPredicateException(input, "NodeIndent", " isHead() "); } - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:174:30: ( ' ' )* - loop6: + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:175:30: ( ' ' )* + loop5: do { - int alt6=2; - int LA6_0 = input.LA(1); + int alt5=2; + int LA5_0 = input.LA(1); - if ( (LA6_0==' ') ) { - alt6=1; + if ( (LA5_0==' ') ) { + alt5=1; } - switch (alt6) { + switch (alt5) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:174:31: ' ' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:175:31: ' ' { match(' '); @@ -497,7 +426,7 @@ public class SilkLexer extends Lexer { break; default : - break loop6; + break loop5; } } while (true); @@ -519,26 +448,26 @@ public class SilkLexer extends Lexer { try { int _type = FunctionIndent; int _channel = DEFAULT_TOKEN_CHANNEL; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:175:15: ({...}? => ( ' ' )* '@' ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:175:17: {...}? => ( ' ' )* '@' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:176:15: ({...}? => ( ' ' )* '@' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:176:17: {...}? => ( ' ' )* '@' { if ( !(( isHead() )) ) { throw new FailedPredicateException(input, "FunctionIndent", " isHead() "); } - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:175:34: ( ' ' )* - loop7: + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:176:34: ( ' ' )* + loop6: do { - int alt7=2; - int LA7_0 = input.LA(1); + int alt6=2; + int LA6_0 = input.LA(1); - if ( (LA7_0==' ') ) { - alt7=1; + if ( (LA6_0==' ') ) { + alt6=1; } - switch (alt7) { + switch (alt6) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:175:35: ' ' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:176:35: ' ' { match(' '); @@ -546,7 +475,7 @@ public class SilkLexer extends Lexer { break; default : - break loop7; + break loop6; } } while (true); @@ -568,26 +497,26 @@ public class SilkLexer extends Lexer { try { int _type = BlankLine; int _channel = DEFAULT_TOKEN_CHANNEL; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:176:10: ({...}? => ( WhiteSpace )* ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:176:12: {...}? => ( WhiteSpace )* + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:177:10: ({...}? => ( WhiteSpace )* ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:177:12: {...}? => ( WhiteSpace )* { if ( !(( isHead() )) ) { throw new FailedPredicateException(input, "BlankLine", " isHead() "); } - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:176:29: ( WhiteSpace )* - loop8: + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:177:29: ( WhiteSpace )* + loop7: do { - int alt8=2; - int LA8_0 = input.LA(1); + int alt7=2; + int LA7_0 = input.LA(1); - if ( (LA8_0=='\t'||LA8_0==' ') ) { - alt8=1; + if ( (LA7_0=='\t'||LA7_0==' ') ) { + alt7=1; } - switch (alt8) { + switch (alt7) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:176:29: WhiteSpace + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:177:29: WhiteSpace { mWhiteSpace(); @@ -595,7 +524,7 @@ public class SilkLexer extends Lexer { break; default : - break loop8; + break loop7; } } while (true); @@ -613,8 +542,8 @@ public class SilkLexer extends Lexer { // $ANTLR start "DataLineBody" public final void mDataLineBody() throws RecognitionException { try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:178:22: (~ ( '-' | '%' | '#' | '@' | WhiteSpace ) (~ ( '#' | LineBreakChar ) )* ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:178:24: ~ ( '-' | '%' | '#' | '@' | WhiteSpace ) (~ ( '#' | LineBreakChar ) )* + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:179:22: (~ ( '-' | '%' | '#' | '@' | WhiteSpace ) (~ ( '#' | LineBreakChar ) )* ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:179:24: ~ ( '-' | '%' | '#' | '@' | WhiteSpace ) (~ ( '#' | LineBreakChar ) )* { if ( (input.LA(1)>='\u0000' && input.LA(1)<='\b')||(input.LA(1)>='\n' && input.LA(1)<='\u001F')||(input.LA(1)>='!' && input.LA(1)<='\"')||input.LA(1)=='$'||(input.LA(1)>='&' && input.LA(1)<=',')||(input.LA(1)>='.' && input.LA(1)<='?')||(input.LA(1)>='A' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -625,20 +554,20 @@ public class SilkLexer extends Lexer { recover(mse); throw mse;} - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:178:62: (~ ( '#' | LineBreakChar ) )* - loop9: + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:179:62: (~ ( '#' | LineBreakChar ) )* + loop8: do { - int alt9=2; - int LA9_0 = input.LA(1); + int alt8=2; + int LA8_0 = input.LA(1); - if ( ((LA9_0>='\u0000' && LA9_0<='\t')||(LA9_0>='\u000B' && LA9_0<='\f')||(LA9_0>='\u000E' && LA9_0<='\"')||(LA9_0>='$' && LA9_0<='\uFFFF')) ) { - alt9=1; + if ( ((LA8_0>='\u0000' && LA8_0<='\t')||(LA8_0>='\u000B' && LA8_0<='\f')||(LA8_0>='\u000E' && LA8_0<='\"')||(LA8_0>='$' && LA8_0<='\uFFFF')) ) { + alt8=1; } - switch (alt9) { + switch (alt8) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:178:62: ~ ( '#' | LineBreakChar ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:179:62: ~ ( '#' | LineBreakChar ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='\t')||(input.LA(1)>='\u000B' && input.LA(1)<='\f')||(input.LA(1)>='\u000E' && input.LA(1)<='\"')||(input.LA(1)>='$' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -654,7 +583,7 @@ public class SilkLexer extends Lexer { break; default : - break loop9; + break loop8; } } while (true); @@ -674,26 +603,26 @@ public class SilkLexer extends Lexer { int _channel = DEFAULT_TOKEN_CHANNEL; Token DataLineBody1=null; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:179:9: ({...}? => ( WhiteSpace )* DataLineBody ( LineComment )? ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:179:11: {...}? => ( WhiteSpace )* DataLineBody ( LineComment )? + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:180:9: ({...}? => ( WhiteSpace )* DataLineBody ( LineComment )? ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:180:11: {...}? => ( WhiteSpace )* DataLineBody ( LineComment )? { if ( !(( isHead() )) ) { throw new FailedPredicateException(input, "DataLine", " isHead() "); } - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:180:5: ( WhiteSpace )* - loop10: + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:181:5: ( WhiteSpace )* + loop9: do { - int alt10=2; - int LA10_0 = input.LA(1); + int alt9=2; + int LA9_0 = input.LA(1); - if ( (LA10_0=='\t'||LA10_0==' ') ) { - alt10=1; + if ( (LA9_0=='\t'||LA9_0==' ') ) { + alt9=1; } - switch (alt10) { + switch (alt9) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:180:5: WhiteSpace + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:181:5: WhiteSpace { mWhiteSpace(); @@ -701,23 +630,23 @@ public class SilkLexer extends Lexer { break; default : - break loop10; + break loop9; } } while (true); - int DataLineBody1Start267 = getCharIndex(); + int DataLineBody1Start241 = getCharIndex(); mDataLineBody(); - DataLineBody1 = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, DataLineBody1Start267, getCharIndex()-1); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:180:30: ( LineComment )? - int alt11=2; - int LA11_0 = input.LA(1); + DataLineBody1 = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, DataLineBody1Start241, getCharIndex()-1); + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:181:30: ( LineComment )? + int alt10=2; + int LA10_0 = input.LA(1); - if ( (LA11_0=='#') ) { - alt11=1; + if ( (LA10_0=='#') ) { + alt10=1; } - switch (alt11) { + switch (alt10) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:180:30: LineComment + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:181:30: LineComment { mLineComment(); @@ -743,8 +672,8 @@ public class SilkLexer extends Lexer { try { int _type = LParen; int _channel = DEFAULT_TOKEN_CHANNEL; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:182:7: ( '(' ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:182:9: '(' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:183:7: ( '(' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:183:9: '(' { match('('); transit(Symbol.EnterParen); @@ -764,8 +693,8 @@ public class SilkLexer extends Lexer { try { int _type = RParen; int _channel = DEFAULT_TOKEN_CHANNEL; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:183:7: ( ')' ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:183:9: ')' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:184:7: ( ')' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:184:9: ')' { match(')'); transit(Symbol.LeaveParen); @@ -785,8 +714,8 @@ public class SilkLexer extends Lexer { try { int _type = Comma; int _channel = DEFAULT_TOKEN_CHANNEL; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:184:6: ( ',' ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:184:9: ',' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:185:6: ( ',' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:185:9: ',' { match(','); @@ -805,8 +734,8 @@ public class SilkLexer extends Lexer { try { int _type = Colon; int _channel = DEFAULT_TOKEN_CHANNEL; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:185:6: ( ':' ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:185:8: ':' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:186:6: ( ':' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:186:8: ':' { match(':'); transit(Symbol.Colon); @@ -826,8 +755,8 @@ public class SilkLexer extends Lexer { try { int _type = Seq; int _channel = DEFAULT_TOKEN_CHANNEL; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:188:4: ( '>' ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:188:7: '>' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:189:4: ( '>' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:189:7: '>' { match('>'); @@ -846,8 +775,8 @@ public class SilkLexer extends Lexer { try { int _type = TabSeq; int _channel = DEFAULT_TOKEN_CHANNEL; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:189:7: ( '|' ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:189:9: '|' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:190:7: ( '|' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:190:9: '|' { match('|'); @@ -866,8 +795,8 @@ public class SilkLexer extends Lexer { try { int _type = Star; int _channel = DEFAULT_TOKEN_CHANNEL; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:190:5: ( '*' ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:190:8: '*' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:191:5: ( '*' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:191:8: '*' { match('*'); @@ -886,8 +815,8 @@ public class SilkLexer extends Lexer { try { int _type = At; int _channel = DEFAULT_TOKEN_CHANNEL; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:191:3: ( '@' ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:191:6: '@' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:192:3: ( '@' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:192:6: '@' { match('@'); transit(Symbol.At); @@ -907,8 +836,8 @@ public class SilkLexer extends Lexer { try { int _type = Plus; int _channel = DEFAULT_TOKEN_CHANNEL; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:192:5: ( '+' ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:192:7: '+' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:193:5: ( '+' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:193:7: '+' { match('+'); @@ -927,8 +856,8 @@ public class SilkLexer extends Lexer { try { int _type = LBracket; int _channel = DEFAULT_TOKEN_CHANNEL; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:193:9: ( '[' ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:193:11: '[' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:194:9: ( '[' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:194:11: '[' { match('['); transit(Symbol.EnterParen); @@ -948,8 +877,8 @@ public class SilkLexer extends Lexer { try { int _type = RBracket; int _channel = DEFAULT_TOKEN_CHANNEL; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:194:9: ( ']' ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:194:11: ']' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:195:9: ( ']' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:195:11: ']' { match(']'); @@ -968,8 +897,8 @@ public class SilkLexer extends Lexer { try { int _type = Question; int _channel = DEFAULT_TOKEN_CHANNEL; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:195:9: ( '?' ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:195:11: '?' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:196:9: ( '?' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:196:11: '?' { match('?'); @@ -986,8 +915,8 @@ public class SilkLexer extends Lexer { // $ANTLR start "Digit" public final void mDigit() throws RecognitionException { try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:197:15: ( '0' .. '9' ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:197:17: '0' .. '9' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:198:15: ( '0' .. '9' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:198:17: '0' .. '9' { matchRange('0','9'); @@ -1002,8 +931,8 @@ public class SilkLexer extends Lexer { // $ANTLR start "Letter" public final void mLetter() throws RecognitionException { try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:198:16: ( 'A' .. 'F' | 'a' .. 'f' ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g: + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:199:16: ( 'A' .. 'F' | 'a' .. 'f' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g: { if ( (input.LA(1)>='A' && input.LA(1)<='F')||(input.LA(1)>='a' && input.LA(1)<='f') ) { input.consume(); @@ -1026,8 +955,8 @@ public class SilkLexer extends Lexer { // $ANTLR start "HexDigit" public final void mHexDigit() throws RecognitionException { try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:199:18: ( Digit | Letter ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g: + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:200:18: ( Digit | Letter ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g: { if ( (input.LA(1)>='0' && input.LA(1)<='9')||(input.LA(1)>='A' && input.LA(1)<='F')||(input.LA(1)>='a' && input.LA(1)<='f') ) { input.consume(); @@ -1050,8 +979,8 @@ public class SilkLexer extends Lexer { // $ANTLR start "UnicodeChar" public final void mUnicodeChar() throws RecognitionException { try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:200:21: (~ ( '\"' | '\\\\' ) ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:200:23: ~ ( '\"' | '\\\\' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:201:21: (~ ( '\"' | '\\\\' ) ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:201:23: ~ ( '\"' | '\\\\' ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1074,124 +1003,124 @@ public class SilkLexer extends Lexer { // $ANTLR start "EscapeSequence" public final void mEscapeSequence() throws RecognitionException { try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:202:2: ( '\\\\' ( '\\\"' | '\\\\' | '/' | 'b' | 'f' | 'n' | 'r' | 't' | 'u' HexDigit HexDigit HexDigit HexDigit ) ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:202:4: '\\\\' ( '\\\"' | '\\\\' | '/' | 'b' | 'f' | 'n' | 'r' | 't' | 'u' HexDigit HexDigit HexDigit HexDigit ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:203:2: ( '\\\\' ( '\\\"' | '\\\\' | '/' | 'b' | 'f' | 'n' | 'r' | 't' | 'u' HexDigit HexDigit HexDigit HexDigit ) ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:203:4: '\\\\' ( '\\\"' | '\\\\' | '/' | 'b' | 'f' | 'n' | 'r' | 't' | 'u' HexDigit HexDigit HexDigit HexDigit ) { match('\\'); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:202:9: ( '\\\"' | '\\\\' | '/' | 'b' | 'f' | 'n' | 'r' | 't' | 'u' HexDigit HexDigit HexDigit HexDigit ) - int alt12=9; + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:203:9: ( '\\\"' | '\\\\' | '/' | 'b' | 'f' | 'n' | 'r' | 't' | 'u' HexDigit HexDigit HexDigit HexDigit ) + int alt11=9; switch ( input.LA(1) ) { case '\"': { - alt12=1; + alt11=1; } break; case '\\': { - alt12=2; + alt11=2; } break; case '/': { - alt12=3; + alt11=3; } break; case 'b': { - alt12=4; + alt11=4; } break; case 'f': { - alt12=5; + alt11=5; } break; case 'n': { - alt12=6; + alt11=6; } break; case 'r': { - alt12=7; + alt11=7; } break; case 't': { - alt12=8; + alt11=8; } break; case 'u': { - alt12=9; + alt11=9; } break; default: NoViableAltException nvae = - new NoViableAltException("", 12, 0, input); + new NoViableAltException("", 11, 0, input); throw nvae; } - switch (alt12) { + switch (alt11) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:202:10: '\\\"' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:203:10: '\\\"' { match('\"'); } break; case 2 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:202:17: '\\\\' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:203:17: '\\\\' { match('\\'); } break; case 3 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:202:24: '/' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:203:24: '/' { match('/'); } break; case 4 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:202:30: 'b' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:203:30: 'b' { match('b'); } break; case 5 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:202:36: 'f' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:203:36: 'f' { match('f'); } break; case 6 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:202:42: 'n' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:203:42: 'n' { match('n'); } break; case 7 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:202:48: 'r' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:203:48: 'r' { match('r'); } break; case 8 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:202:54: 't' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:203:54: 't' { match('t'); } break; case 9 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:202:60: 'u' HexDigit HexDigit HexDigit HexDigit + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:203:60: 'u' HexDigit HexDigit HexDigit HexDigit { match('u'); mHexDigit(); @@ -1216,32 +1145,32 @@ public class SilkLexer extends Lexer { // $ANTLR start "StringChar" public final void mStringChar() throws RecognitionException { try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:204:21: ( UnicodeChar | EscapeSequence ) - int alt13=2; - int LA13_0 = input.LA(1); + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:205:21: ( UnicodeChar | EscapeSequence ) + int alt12=2; + int LA12_0 = input.LA(1); - if ( ((LA13_0>='\u0000' && LA13_0<='!')||(LA13_0>='#' && LA13_0<='[')||(LA13_0>=']' && LA13_0<='\uFFFF')) ) { - alt13=1; + if ( ((LA12_0>='\u0000' && LA12_0<='!')||(LA12_0>='#' && LA12_0<='[')||(LA12_0>=']' && LA12_0<='\uFFFF')) ) { + alt12=1; } - else if ( (LA13_0=='\\') ) { - alt13=2; + else if ( (LA12_0=='\\') ) { + alt12=2; } else { NoViableAltException nvae = - new NoViableAltException("", 13, 0, input); + new NoViableAltException("", 12, 0, input); throw nvae; } - switch (alt13) { + switch (alt12) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:204:24: UnicodeChar + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:205:24: UnicodeChar { mUnicodeChar(); } break; case 2 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:204:38: EscapeSequence + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:205:38: EscapeSequence { mEscapeSequence(); @@ -1258,23 +1187,23 @@ public class SilkLexer extends Lexer { // $ANTLR start "StringChar_s" public final void mStringChar_s() throws RecognitionException { try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:205:22: ( ( StringChar )* ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:205:24: ( StringChar )* + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:206:22: ( ( StringChar )* ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:206:24: ( StringChar )* { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:205:24: ( StringChar )* - loop14: + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:206:24: ( StringChar )* + loop13: do { - int alt14=2; - int LA14_0 = input.LA(1); + int alt13=2; + int LA13_0 = input.LA(1); - if ( ((LA14_0>='\u0000' && LA14_0<='!')||(LA14_0>='#' && LA14_0<='\uFFFF')) ) { - alt14=1; + if ( ((LA13_0>='\u0000' && LA13_0<='!')||(LA13_0>='#' && LA13_0<='\uFFFF')) ) { + alt13=1; } - switch (alt14) { + switch (alt13) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:205:24: StringChar + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:206:24: StringChar { mStringChar(); @@ -1282,7 +1211,7 @@ public class SilkLexer extends Lexer { break; default : - break loop14; + break loop13; } } while (true); @@ -1302,13 +1231,13 @@ public class SilkLexer extends Lexer { int _channel = DEFAULT_TOKEN_CHANNEL; Token s=null; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:206:7: ( '\"' s= StringChar_s '\"' ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:206:9: '\"' s= StringChar_s '\"' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:207:7: ( '\"' s= StringChar_s '\"' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:207:9: '\"' s= StringChar_s '\"' { match('\"'); - int sStart534 = getCharIndex(); + int sStart508 = getCharIndex(); mStringChar_s(); - s = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, sStart534, getCharIndex()-1); + s = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, sStart508, getCharIndex()-1); match('\"'); setText((s!=null?s.getText():null)); @@ -1325,8 +1254,8 @@ public class SilkLexer extends Lexer { // $ANTLR start "ScopeIndicator" public final void mScopeIndicator() throws RecognitionException { try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:209:24: ( '(' | ')' ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g: + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:210:24: ( '(' | ')' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g: { if ( (input.LA(1)>='(' && input.LA(1)<=')') ) { input.consume(); @@ -1349,8 +1278,8 @@ public class SilkLexer extends Lexer { // $ANTLR start "FlowIndicator" public final void mFlowIndicator() throws RecognitionException { try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:210:23: ( '[' | ']' | '{' | '}' ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g: + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:211:23: ( '[' | ']' | '{' | '}' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g: { if ( input.LA(1)=='['||input.LA(1)==']'||input.LA(1)=='{'||input.LA(1)=='}' ) { input.consume(); @@ -1373,8 +1302,8 @@ public class SilkLexer extends Lexer { // $ANTLR start "Indicator" public final void mIndicator() throws RecognitionException { try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:211:19: ( FlowIndicator | ScopeIndicator | ',' | ':' | '#' | '>' | '|' | '*' | '\\'' | '\"' | '@' | '%' | '\\\\' ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g: + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:212:19: ( FlowIndicator | ScopeIndicator | ',' | ':' | '#' | '>' | '|' | '*' | '\\'' | '\"' | '@' | '%' | '\\\\' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g: { if ( (input.LA(1)>='\"' && input.LA(1)<='#')||input.LA(1)=='%'||(input.LA(1)>='\'' && input.LA(1)<='*')||input.LA(1)==','||input.LA(1)==':'||input.LA(1)=='>'||input.LA(1)=='@'||(input.LA(1)>='[' && input.LA(1)<=']')||(input.LA(1)>='{' && input.LA(1)<='}') ) { input.consume(); @@ -1397,8 +1326,8 @@ public class SilkLexer extends Lexer { // $ANTLR start "PlainUnsafeChar" public final void mPlainUnsafeChar() throws RecognitionException { try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:214:25: ( '\"' | '\\\\' | '#' ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g: + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:215:25: ( '\"' | '\\\\' | '#' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g: { if ( (input.LA(1)>='\"' && input.LA(1)<='#')||input.LA(1)=='\\' ) { input.consume(); @@ -1421,8 +1350,8 @@ public class SilkLexer extends Lexer { // $ANTLR start "PlainSafeKey" public final void mPlainSafeKey() throws RecognitionException { try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:216:22: (~ ( PlainUnsafeChar | ScopeIndicator | FlowIndicator | ',' | ':' | '>' | '*' | '|' ) ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:216:24: ~ ( PlainUnsafeChar | ScopeIndicator | FlowIndicator | ',' | ':' | '>' | '*' | '|' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:217:22: (~ ( PlainUnsafeChar | ScopeIndicator | FlowIndicator | ',' | ':' | '>' | '*' | '|' ) ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:217:24: ~ ( PlainUnsafeChar | ScopeIndicator | FlowIndicator | ',' | ':' | '>' | '*' | '|' ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='$' && input.LA(1)<='\'')||input.LA(1)=='+'||(input.LA(1)>='-' && input.LA(1)<='9')||(input.LA(1)>=';' && input.LA(1)<='=')||(input.LA(1)>='?' && input.LA(1)<='Z')||(input.LA(1)>='^' && input.LA(1)<='z')||(input.LA(1)>='~' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1445,8 +1374,8 @@ public class SilkLexer extends Lexer { // $ANTLR start "PlainSafeIn" public final void mPlainSafeIn() throws RecognitionException { try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:217:21: (~ ( PlainUnsafeChar | ScopeIndicator | ',' ) ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:217:23: ~ ( PlainUnsafeChar | ScopeIndicator | ',' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:218:21: (~ ( PlainUnsafeChar | ScopeIndicator | ',' ) ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:218:23: ~ ( PlainUnsafeChar | ScopeIndicator | ',' ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='$' && input.LA(1)<='\'')||(input.LA(1)>='*' && input.LA(1)<='+')||(input.LA(1)>='-' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1469,8 +1398,8 @@ public class SilkLexer extends Lexer { // $ANTLR start "PlainSafeOut" public final void mPlainSafeOut() throws RecognitionException { try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:218:22: (~ ( PlainUnsafeChar ) ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:218:24: ~ ( PlainUnsafeChar ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:219:22: (~ ( PlainUnsafeChar ) ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:219:24: ~ ( PlainUnsafeChar ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='!')||(input.LA(1)>='$' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1493,8 +1422,8 @@ public class SilkLexer extends Lexer { // $ANTLR start "NonSpaceChar" public final void mNonSpaceChar() throws RecognitionException { try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:220:22: (~ ( '\"' | '\\\\' | WhiteSpace ) ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:220:24: ~ ( '\"' | '\\\\' | WhiteSpace ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:221:22: (~ ( '\"' | '\\\\' | WhiteSpace ) ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:221:24: ~ ( '\"' | '\\\\' | WhiteSpace ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='\b')||(input.LA(1)>='\n' && input.LA(1)<='\u001F')||input.LA(1)=='!'||(input.LA(1)>='#' && input.LA(1)<='[')||(input.LA(1)>=']' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1517,25 +1446,25 @@ public class SilkLexer extends Lexer { // $ANTLR start "PlainFirst" public final void mPlainFirst() throws RecognitionException { try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:222:2: (~ ( '-' | '+' | '?' | PlainUnsafeChar | WhiteSpace | Indicator ) | {...}? => ( '-' | '+' | ( ':' | '?' ) NonSpaceChar ) ) - int alt16=2; - int LA16_0 = input.LA(1); + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:223:2: (~ ( '-' | '+' | '?' | PlainUnsafeChar | WhiteSpace | Indicator ) | {...}? => ( '-' | '+' | ( ':' | '?' ) NonSpaceChar ) ) + int alt15=2; + int LA15_0 = input.LA(1); - if ( ((LA16_0>='\u0000' && LA16_0<='\b')||(LA16_0>='\n' && LA16_0<='\u001F')||LA16_0=='!'||LA16_0=='$'||LA16_0=='&'||(LA16_0>='.' && LA16_0<='9')||(LA16_0>=';' && LA16_0<='=')||(LA16_0>='A' && LA16_0<='Z')||(LA16_0>='^' && LA16_0<='z')||(LA16_0>='~' && LA16_0<='\uFFFF')) ) { - alt16=1; + if ( ((LA15_0>='\u0000' && LA15_0<='\b')||(LA15_0>='\n' && LA15_0<='\u001F')||LA15_0=='!'||LA15_0=='$'||LA15_0=='&'||(LA15_0>='.' && LA15_0<='9')||(LA15_0>=';' && LA15_0<='=')||(LA15_0>='A' && LA15_0<='Z')||(LA15_0>='^' && LA15_0<='z')||(LA15_0>='~' && LA15_0<='\uFFFF')) ) { + alt15=1; } - else if ( (LA16_0=='+'||LA16_0=='-'||LA16_0==':'||LA16_0=='?') && (( isValue() ))) { - alt16=2; + else if ( (LA15_0=='+'||LA15_0=='-'||LA15_0==':'||LA15_0=='?') && (( isValue() ))) { + alt15=2; } else { NoViableAltException nvae = - new NoViableAltException("", 16, 0, input); + new NoViableAltException("", 15, 0, input); throw nvae; } - switch (alt16) { + switch (alt15) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:222:5: ~ ( '-' | '+' | '?' | PlainUnsafeChar | WhiteSpace | Indicator ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:223:5: ~ ( '-' | '+' | '?' | PlainUnsafeChar | WhiteSpace | Indicator ) { if ( (input.LA(1)>='\u0000' && input.LA(1)<='\b')||(input.LA(1)>='\n' && input.LA(1)<='\u001F')||input.LA(1)=='!'||input.LA(1)=='$'||input.LA(1)=='&'||(input.LA(1)>='.' && input.LA(1)<='9')||(input.LA(1)>=';' && input.LA(1)<='=')||(input.LA(1)>='A' && input.LA(1)<='Z')||(input.LA(1)>='^' && input.LA(1)<='z')||(input.LA(1)>='~' && input.LA(1)<='\uFFFF') ) { input.consume(); @@ -1550,54 +1479,54 @@ public class SilkLexer extends Lexer { } break; case 2 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:223:4: {...}? => ( '-' | '+' | ( ':' | '?' ) NonSpaceChar ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:224:4: {...}? => ( '-' | '+' | ( ':' | '?' ) NonSpaceChar ) { if ( !(( isValue() )) ) { throw new FailedPredicateException(input, "PlainFirst", " isValue() "); } - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:223:22: ( '-' | '+' | ( ':' | '?' ) NonSpaceChar ) - int alt15=3; + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:224:22: ( '-' | '+' | ( ':' | '?' ) NonSpaceChar ) + int alt14=3; switch ( input.LA(1) ) { case '-': { - alt15=1; + alt14=1; } break; case '+': { - alt15=2; + alt14=2; } break; case ':': case '?': { - alt15=3; + alt14=3; } break; default: NoViableAltException nvae = - new NoViableAltException("", 15, 0, input); + new NoViableAltException("", 14, 0, input); throw nvae; } - switch (alt15) { + switch (alt14) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:223:23: '-' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:224:23: '-' { match('-'); } break; case 2 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:223:29: '+' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:224:29: '+' { match('+'); } break; case 3 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:223:35: ( ':' | '?' ) NonSpaceChar + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:224:35: ( ':' | '?' ) NonSpaceChar { if ( input.LA(1)==':'||input.LA(1)=='?' ) { input.consume(); @@ -1626,174 +1555,218 @@ public class SilkLexer extends Lexer { } // $ANTLR end "PlainFirst" - // $ANTLR start "PlainSafe" - public final void mPlainSafe() throws RecognitionException { + // $ANTLR start "PlainOneLine" + public final void mPlainOneLine() throws RecognitionException { try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:227:2: ({...}? => PlainSafeKey | {...}? => PlainSafeIn | {...}? => PlainSafeOut ) - int alt17=3; - int LA17_0 = input.LA(1); + int _type = PlainOneLine; + int _channel = DEFAULT_TOKEN_CHANNEL; + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:228:2: ({...}? => PlainFirst ( PlainSafeKey )* | {...}? => PlainFirst ( PlainSafeIn )* | {...}? => PlainFirst ( PlainSafeOut )* ) + int alt19=3; + int LA19_0 = input.LA(1); - if ( ((LA17_0>='\u0000' && LA17_0<='!')||(LA17_0>='$' && LA17_0<='\'')||LA17_0=='+'||(LA17_0>='-' && LA17_0<='9')||(LA17_0>=';' && LA17_0<='=')||(LA17_0>='?' && LA17_0<='Z')||(LA17_0>='^' && LA17_0<='z')||(LA17_0>='~' && LA17_0<='\uFFFF')) && ((( isInValue() )||( isOutValue() )||( isKey() )))) { - int LA17_1 = input.LA(2); + if ( ((LA19_0>='\u0000' && LA19_0<='\b')||(LA19_0>='\n' && LA19_0<='\u001F')||LA19_0=='!'||LA19_0=='$'||LA19_0=='&'||(LA19_0>='.' && LA19_0<='9')||(LA19_0>=';' && LA19_0<='=')||(LA19_0>='A' && LA19_0<='Z')||(LA19_0>='^' && LA19_0<='z')||(LA19_0>='~' && LA19_0<='\uFFFF')) && ((( isInValue() )||( isOutValue() )||( isKey() )))) { + int LA19_1 = input.LA(2); if ( (( isKey() )) ) { - alt17=1; + alt19=1; } else if ( (( isInValue() )) ) { - alt17=2; + alt19=2; } else if ( (( isOutValue() )) ) { - alt17=3; + alt19=3; } else { NoViableAltException nvae = - new NoViableAltException("", 17, 1, input); + new NoViableAltException("", 19, 1, input); throw nvae; } } - else if ( (LA17_0=='*'||LA17_0==':'||LA17_0=='>'||LA17_0=='['||LA17_0==']'||(LA17_0>='{' && LA17_0<='}')) && ((( isInValue() )||( isOutValue() )))) { - int LA17_2 = input.LA(2); + else if ( (LA19_0=='-') && (((( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))))) { + int LA19_2 = input.LA(2); - if ( (( isInValue() )) ) { - alt17=2; + if ( ((( isKey() )&&( isValue() ))) ) { + alt19=1; } - else if ( (( isOutValue() )) ) { - alt17=3; + else if ( ((( isInValue() )&&( isValue() ))) ) { + alt19=2; + } + else if ( ((( isOutValue() )&&( isValue() ))) ) { + alt19=3; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 19, 2, input); + + throw nvae; + } + } + else if ( (LA19_0=='+') && (((( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))))) { + int LA19_3 = input.LA(2); + + if ( ((( isKey() )&&( isValue() ))) ) { + alt19=1; + } + else if ( ((( isInValue() )&&( isValue() ))) ) { + alt19=2; + } + else if ( ((( isOutValue() )&&( isValue() ))) ) { + alt19=3; } else { NoViableAltException nvae = - new NoViableAltException("", 17, 2, input); + new NoViableAltException("", 19, 3, input); throw nvae; } } - else if ( ((LA17_0>='(' && LA17_0<=')')||LA17_0==',') && (( isOutValue() ))) { - alt17=3; + else if ( (LA19_0==':'||LA19_0=='?') && (((( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))))) { + int LA19_4 = input.LA(2); + + if ( ((LA19_4>='\u0000' && LA19_4<='\b')||(LA19_4>='\n' && LA19_4<='\u001F')||LA19_4=='!'||(LA19_4>='#' && LA19_4<='[')||(LA19_4>=']' && LA19_4<='\uFFFF')) && (((( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))))) { + int LA19_8 = input.LA(3); + + if ( ((( isKey() )&&( isValue() ))) ) { + alt19=1; + } + else if ( ((( isInValue() )&&( isValue() ))) ) { + alt19=2; + } + else if ( ((( isOutValue() )&&( isValue() ))) ) { + alt19=3; + } + else { + NoViableAltException nvae = + new NoViableAltException("", 19, 8, input); + + throw nvae; + } + } + else { + NoViableAltException nvae = + new NoViableAltException("", 19, 4, input); + + throw nvae; + } } else { NoViableAltException nvae = - new NoViableAltException("", 17, 0, input); + new NoViableAltException("", 19, 0, input); throw nvae; } - switch (alt17) { + switch (alt19) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:227:4: {...}? => PlainSafeKey + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:228:4: {...}? => PlainFirst ( PlainSafeKey )* { if ( !(( isKey() )) ) { - throw new FailedPredicateException(input, "PlainSafe", " isKey() "); + throw new FailedPredicateException(input, "PlainOneLine", " isKey() "); } - mPlainSafeKey(); + mPlainFirst(); + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:228:32: ( PlainSafeKey )* + loop16: + do { + int alt16=2; + int LA16_0 = input.LA(1); + + if ( ((LA16_0>='\u0000' && LA16_0<='!')||(LA16_0>='$' && LA16_0<='\'')||LA16_0=='+'||(LA16_0>='-' && LA16_0<='9')||(LA16_0>=';' && LA16_0<='=')||(LA16_0>='?' && LA16_0<='Z')||(LA16_0>='^' && LA16_0<='z')||(LA16_0>='~' && LA16_0<='\uFFFF')) ) { + alt16=1; + } + + + switch (alt16) { + case 1 : + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:228:32: PlainSafeKey + { + mPlainSafeKey(); + + } + break; + + default : + break loop16; + } + } while (true); + + transit(Symbol.LeaveValue); } break; case 2 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:228:4: {...}? => PlainSafeIn + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:229:5: {...}? => PlainFirst ( PlainSafeIn )* { if ( !(( isInValue() )) ) { - throw new FailedPredicateException(input, "PlainSafe", " isInValue() "); + throw new FailedPredicateException(input, "PlainOneLine", " isInValue() "); } - mPlainSafeIn(); + mPlainFirst(); + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:229:37: ( PlainSafeIn )* + loop17: + do { + int alt17=2; + int LA17_0 = input.LA(1); + + if ( ((LA17_0>='\u0000' && LA17_0<='!')||(LA17_0>='$' && LA17_0<='\'')||(LA17_0>='*' && LA17_0<='+')||(LA17_0>='-' && LA17_0<='[')||(LA17_0>=']' && LA17_0<='\uFFFF')) ) { + alt17=1; + } + + + switch (alt17) { + case 1 : + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:229:37: PlainSafeIn + { + mPlainSafeIn(); + + } + break; + + default : + break loop17; + } + } while (true); + + transit(Symbol.LeaveValue); } break; case 3 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:229:4: {...}? => PlainSafeOut + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:230:5: {...}? => PlainFirst ( PlainSafeOut )* { if ( !(( isOutValue() )) ) { - throw new FailedPredicateException(input, "PlainSafe", " isOutValue() "); - } - mPlainSafeOut(); - + throw new FailedPredicateException(input, "PlainOneLine", " isOutValue() "); } - break; - - } - } - finally { - } - } - // $ANTLR end "PlainSafe" - - // $ANTLR start "PlainOneLine" - public final void mPlainOneLine() throws RecognitionException { - try { - int _type = PlainOneLine; - int _channel = DEFAULT_TOKEN_CHANNEL; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:233:2: ( PlainFirst ( ( WhiteSpace )* PlainSafe )* ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:233:4: PlainFirst ( ( WhiteSpace )* PlainSafe )* - { - mPlainFirst(); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:233:15: ( ( WhiteSpace )* PlainSafe )* - loop19: - do { - int alt19=2; - int LA19_0 = input.LA(1); - - if ( (LA19_0=='\t'||LA19_0==' ') ) { - alt19=1; - } - else if ( ((LA19_0>='\u0000' && LA19_0<='\b')||(LA19_0>='\n' && LA19_0<='\u001F')||LA19_0=='!'||(LA19_0>='$' && LA19_0<='\'')||LA19_0=='+'||(LA19_0>='-' && LA19_0<='9')||(LA19_0>=';' && LA19_0<='=')||(LA19_0>='?' && LA19_0<='Z')||(LA19_0>='^' && LA19_0<='z')||(LA19_0>='~' && LA19_0<='\uFFFF')) && ((( isInValue() )||( isOutValue() )||( isKey() )))) { - alt19=1; - } - else if ( (LA19_0=='*'||LA19_0==':'||LA19_0=='>'||LA19_0=='['||LA19_0==']'||(LA19_0>='{' && LA19_0<='}')) && ((( isInValue() )||( isOutValue() )))) { - alt19=1; - } - else if ( ((LA19_0>='(' && LA19_0<=')')||LA19_0==',') && (( isOutValue() ))) { - alt19=1; - } - - - switch (alt19) { - case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:233:16: ( WhiteSpace )* PlainSafe - { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:233:16: ( WhiteSpace )* - loop18: - do { - int alt18=2; - int LA18_0 = input.LA(1); - - if ( (LA18_0=='\t'||LA18_0==' ') && ((!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||( isOutValue() )||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||( isInValue() )||!(((( isInValue() )||( isOutValue() )||( isKey() ))))||( isKey() )||!(((( isInValue() )||( isOutValue() )||( isKey() ))))))) { - int LA18_1 = input.LA(2); - - if ( (!(((( isInValue() )||( isOutValue() )||( isKey() ))))) ) { - alt18=1; - } - - - } - - - switch (alt18) { - case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:233:16: WhiteSpace - { - mWhiteSpace(); + mPlainFirst(); + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:230:38: ( PlainSafeOut )* + loop18: + do { + int alt18=2; + int LA18_0 = input.LA(1); + + if ( ((LA18_0>='\u0000' && LA18_0<='!')||(LA18_0>='$' && LA18_0<='[')||(LA18_0>=']' && LA18_0<='\uFFFF')) ) { + alt18=1; + } - } - break; - default : - break loop18; - } - } while (true); + switch (alt18) { + case 1 : + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:230:38: PlainSafeOut + { + mPlainSafeOut(); - mPlainSafe(); + } + break; - } - break; + default : + break loop18; + } + } while (true); - default : - break loop19; - } - } while (true); + transit(Symbol.LeaveValue); - transit(Symbol.LeaveValue); + } + break; } - state.type = _type; state.channel = _channel; } @@ -1807,7 +1780,7 @@ public class SilkLexer extends Lexer { try { int _type = JSON; int _channel = DEFAULT_TOKEN_CHANNEL; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:238:2: ({...}? => '{' | {...}? => '[' ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:235:2: ({...}? => '{' | {...}? => '[' ) int alt20=2; int LA20_0 = input.LA(1); @@ -1825,7 +1798,7 @@ public class SilkLexer extends Lexer { } switch (alt20) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:238:4: {...}? => '{' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:235:4: {...}? => '{' { if ( !(( isValue() )) ) { throw new FailedPredicateException(input, "JSON", " isValue() "); @@ -1845,7 +1818,7 @@ public class SilkLexer extends Lexer { } break; case 2 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:249:4: {...}? => '[' + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:246:4: {...}? => '[' { if ( !(( isValue() )) ) { throw new FailedPredicateException(input, "JSON", " isValue() "); @@ -1879,13 +1852,13 @@ public class SilkLexer extends Lexer { try { int _type = Separation; int _channel = DEFAULT_TOKEN_CHANNEL; - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:262:11: ({...}? => ( WhiteSpace )+ ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:262:13: {...}? => ( WhiteSpace )+ + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:259:11: ({...}? => ( WhiteSpace )+ ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:259:13: {...}? => ( WhiteSpace )+ { if ( !(( !isHead() )) ) { throw new FailedPredicateException(input, "Separation", " !isHead() "); } - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:262:31: ( WhiteSpace )+ + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:259:31: ( WhiteSpace )+ int cnt21=0; loop21: do { @@ -1899,7 +1872,7 @@ public class SilkLexer extends Lexer { switch (alt21) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:262:31: WhiteSpace + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:259:31: WhiteSpace { mWhiteSpace(); @@ -1928,180 +1901,173 @@ public class SilkLexer extends Lexer { // $ANTLR end "Separation" public void mTokens() throws RecognitionException { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:8: ( LineComment | Preamble | LineBreak | MultiLineSeparator | MultiLineEntrySeparator | NodeIndent | FunctionIndent | BlankLine | DataLine | LParen | RParen | Comma | Colon | Seq | TabSeq | Star | At | Plus | LBracket | RBracket | Question | String | PlainOneLine | JSON | Separation ) - int alt22=25; + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:8: ( LineComment | Preamble | MultiLineSeparator | MultiLineEntrySeparator | NodeIndent | FunctionIndent | BlankLine | DataLine | LParen | RParen | Comma | Colon | Seq | TabSeq | Star | At | Plus | LBracket | RBracket | Question | String | PlainOneLine | JSON | Separation ) + int alt22=24; alt22 = dfa22.predict(input); switch (alt22) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:10: LineComment + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:10: LineComment { mLineComment(); } break; case 2 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:22: Preamble + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:22: Preamble { mPreamble(); } break; case 3 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:31: LineBreak + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:31: MultiLineSeparator { - mLineBreak(); + mMultiLineSeparator(); } break; case 4 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:41: MultiLineSeparator + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:50: MultiLineEntrySeparator { - mMultiLineSeparator(); + mMultiLineEntrySeparator(); } break; case 5 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:60: MultiLineEntrySeparator + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:74: NodeIndent { - mMultiLineEntrySeparator(); + mNodeIndent(); } break; case 6 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:84: NodeIndent + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:85: FunctionIndent { - mNodeIndent(); + mFunctionIndent(); } break; case 7 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:95: FunctionIndent + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:100: BlankLine { - mFunctionIndent(); + mBlankLine(); } break; case 8 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:110: BlankLine + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:110: DataLine { - mBlankLine(); + mDataLine(); } break; case 9 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:120: DataLine + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:119: LParen { - mDataLine(); + mLParen(); } break; case 10 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:129: LParen + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:126: RParen { - mLParen(); + mRParen(); } break; case 11 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:136: RParen + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:133: Comma { - mRParen(); + mComma(); } break; case 12 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:143: Comma + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:139: Colon { - mComma(); + mColon(); } break; case 13 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:149: Colon + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:145: Seq { - mColon(); + mSeq(); } break; case 14 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:155: Seq + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:149: TabSeq { - mSeq(); + mTabSeq(); } break; case 15 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:159: TabSeq + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:156: Star { - mTabSeq(); + mStar(); } break; case 16 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:166: Star + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:161: At { - mStar(); + mAt(); } break; case 17 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:171: At + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:164: Plus { - mAt(); + mPlus(); } break; case 18 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:174: Plus - { - mPlus(); - - } - break; - case 19 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:179: LBracket + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:169: LBracket { mLBracket(); } break; - case 20 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:188: RBracket + case 19 : + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:178: RBracket { mRBracket(); } break; - case 21 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:197: Question + case 20 : + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:187: Question { mQuestion(); } break; - case 22 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:206: String + case 21 : + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:196: String { mString(); } break; - case 23 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:213: PlainOneLine + case 22 : + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:203: PlainOneLine { mPlainOneLine(); } break; - case 24 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:226: JSON + case 23 : + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:216: JSON { mJSON(); } break; - case 25 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:231: Separation + case 24 : + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:1:221: Separation { mSeparation(); @@ -2115,104 +2081,86 @@ public class SilkLexer extends Lexer { protected DFA22 dfa22 = new DFA22(this); static final String DFA22_eotS = - "\1\12\2\uffff\2\33\1\41\1\44\1\47\1\50\1\47\1\uffff\1\51\1\52\1"+ - "\53\1\55\1\57\1\60\1\62\1\66\1\67\1\70\1\30\1\76\1\77\1\uffff\1"+ - "\33\1\76\1\uffff\2\76\1\uffff\1\76\1\101\2\uffff\1\104\10\uffff"+ - "\1\114\1\uffff\1\114\2\uffff\1\114\1\uffff\3\114\3\uffff\3\30\1"+ - "\uffff\1\145\4\uffff\1\101\2\uffff\1\104\10\uffff\4\114\7\uffff"+ - "\1\145\13\30\3\uffff\21\30"; + "\1\10\2\uffff\1\30\1\35\1\36\1\41\1\36\1\uffff\1\42\1\43\1\44\1"+ + "\47\1\51\1\52\1\53\1\57\1\60\1\61\1\26\1\67\1\74\1\uffff\1\75\4"+ + "\uffff\1\100\10\uffff\1\107\1\110\5\uffff\1\120\1\121\1\122\3\uffff"+ + "\2\26\1\140\1\26\2\uffff\1\144\1\uffff\1\145\1\147\2\uffff\1\152"+ + "\1\100\11\uffff\1\154\1\155\1\121\13\uffff\11\26\1\uffff\1\140\2"+ + "\26\12\uffff\21\26"; static final String DFA22_eofS = - "\171\uffff"; + "\177\uffff"; static final String DFA22_minS = - "\1\0\2\uffff\7\0\1\uffff\15\0\1\uffff\2\0\1\uffff\2\0\1\uffff\3"+ - "\0\1\uffff\2\0\2\uffff\24\0\1\42\1\uffff\3\0\1\uffff\2\0\1\uffff"+ - "\2\0\6\uffff\1\0\1\uffff\4\0\7\uffff\2\0\1\42\10\0\1\60\1\0\2\uffff"+ - "\10\0\7\60\2\0"; + "\1\0\2\uffff\5\0\1\uffff\15\0\1\uffff\2\0\3\uffff\3\0\2\uffff\7"+ + "\0\1\uffff\12\0\1\42\2\0\1\uffff\2\0\1\uffff\7\0\6\uffff\5\0\4\uffff"+ + "\3\0\4\uffff\10\0\1\60\3\0\1\42\2\0\1\uffff\1\0\2\uffff\1\0\1\uffff"+ + "\2\0\1\60\10\0\5\60\1\0\1\60\1\0"; static final String DFA22_maxS = - "\1\uffff\2\uffff\5\uffff\1\0\1\uffff\1\uffff\15\uffff\1\uffff\2"+ - "\uffff\1\uffff\2\uffff\1\uffff\2\uffff\1\0\1\uffff\1\uffff\1\0\2"+ - "\uffff\5\0\1\uffff\1\0\1\uffff\2\0\1\uffff\1\0\3\uffff\3\0\2\uffff"+ - "\1\165\1\uffff\1\uffff\2\0\1\uffff\1\0\1\uffff\1\uffff\1\0\1\uffff"+ - "\6\uffff\1\0\1\uffff\4\uffff\7\uffff\2\uffff\1\165\10\uffff\1\146"+ - "\1\0\2\uffff\10\uffff\7\146\2\uffff"; + "\1\uffff\2\uffff\3\uffff\1\0\1\uffff\1\uffff\15\uffff\1\uffff\1"+ + "\uffff\1\0\3\uffff\1\uffff\2\0\2\uffff\4\0\2\uffff\1\0\1\uffff\3"+ + "\0\3\uffff\3\0\1\uffff\1\165\2\uffff\1\uffff\1\0\1\uffff\1\uffff"+ + "\2\uffff\2\0\2\uffff\1\0\6\uffff\2\0\3\uffff\4\uffff\3\0\4\uffff"+ + "\10\uffff\1\146\1\0\2\uffff\1\165\2\0\1\uffff\1\0\2\uffff\1\0\1"+ + "\uffff\2\0\1\146\10\uffff\5\146\1\uffff\1\146\1\uffff"; static final String DFA22_acceptS = - "\1\uffff\1\1\1\2\7\uffff\1\10\15\uffff\1\11\2\uffff\1\3\2\uffff"+ - "\1\27\3\uffff\1\27\2\uffff\1\7\1\6\25\uffff\1\26\3\uffff\1\27\2"+ - "\uffff\1\27\2\uffff\1\16\1\31\1\21\1\12\1\13\1\14\1\uffff\1\15\4"+ - "\uffff\1\17\1\20\1\22\1\23\1\30\1\24\1\25\15\uffff\1\4\1\5\21\uffff"; + "\1\uffff\1\1\1\2\5\uffff\1\7\15\uffff\1\10\2\uffff\3\26\3\uffff"+ + "\1\5\1\6\7\uffff\1\26\15\uffff\1\25\2\uffff\1\26\7\uffff\1\15\1"+ + "\30\1\20\1\11\1\12\1\13\5\uffff\1\14\1\16\1\17\1\21\3\uffff\1\22"+ + "\1\27\1\23\1\24\17\uffff\1\26\1\uffff\1\26\1\3\1\uffff\1\4\23\uffff"; static final String DFA22_specialS = - "\1\101\2\uffff\1\41\1\6\1\40\1\114\1\26\1\uffff\1\31\1\uffff\1"+ - "\76\1\65\1\35\1\70\1\111\1\23\1\45\1\44\1\32\1\27\1\47\1\16\1\64"+ - "\1\uffff\1\50\1\125\1\uffff\1\17\1\120\1\uffff\1\33\1\54\1\74\1"+ - "\uffff\1\52\1\42\2\uffff\1\100\1\60\1\113\1\77\1\2\1\14\1\106\1"+ - "\122\1\57\1\130\1\126\1\105\1\20\1\121\1\34\1\116\1\75\1\107\1\12"+ - "\1\133\1\110\1\uffff\1\15\1\24\1\102\1\uffff\1\13\1\124\1\uffff"+ - "\1\55\1\22\6\uffff\1\25\1\uffff\1\112\1\10\1\103\1\37\7\uffff\1"+ - "\21\1\71\1\61\1\4\1\11\1\63\1\43\1\73\1\132\1\36\1\67\1\0\1\30\2"+ - "\uffff\1\1\1\7\1\117\1\66\1\123\1\51\1\3\1\5\1\104\1\115\1\46\1"+ - "\56\1\72\1\131\1\62\1\53\1\127}>"; + "\1\36\2\uffff\1\24\1\62\1\113\1\uffff\1\100\1\uffff\1\61\1\105"+ + "\1\56\1\65\1\52\1\13\1\51\1\103\1\26\1\114\1\137\1\135\1\72\1\uffff"+ + "\1\45\1\0\3\uffff\1\30\1\2\1\133\2\uffff\1\15\1\132\1\73\1\106\1"+ + "\131\1\25\1\71\1\uffff\1\14\1\23\1\121\1\117\1\66\1\41\1\31\1\136"+ + "\1\130\1\63\1\16\1\76\1\126\1\uffff\1\6\1\120\1\uffff\1\67\1\42"+ + "\1\134\1\20\1\37\1\77\1\1\6\uffff\1\7\1\10\1\102\1\112\1\54\4\uffff"+ + "\1\11\1\124\1\35\4\uffff\1\50\1\74\1\57\1\3\1\21\1\101\1\44\1\125"+ + "\1\122\1\107\1\116\1\70\1\32\1\5\1\123\1\uffff\1\34\2\uffff\1\17"+ + "\1\uffff\1\4\1\33\1\104\1\115\1\40\1\27\1\53\1\55\1\43\1\22\1\47"+ + "\1\111\1\64\1\12\1\46\1\60\1\110\1\75\1\127}>"; static final String[] DFA22_transitionS = { - "\11\26\1\11\1\4\2\26\1\3\22\26\1\7\1\26\1\25\1\1\1\26\1\2\1"+ - "\26\1\30\1\13\1\14\1\20\1\21\1\15\1\5\14\26\1\16\3\26\1\6\1"+ - "\24\1\10\32\26\1\22\1\30\1\23\35\26\1\27\1\17\1\30\uff82\26", + "\11\24\1\7\26\24\1\5\1\24\1\23\1\1\1\24\1\2\1\24\1\26\1\11"+ + "\1\12\1\16\1\17\1\13\1\3\14\24\1\14\3\24\1\4\1\22\1\6\32\24"+ + "\1\20\1\26\1\21\35\24\1\25\1\15\1\26\uff82\24", "", "", - "\11\34\1\32\1\31\2\34\1\36\22\34\1\32\1\34\2\30\4\34\2\37"+ - "\1\35\1\34\1\37\15\34\1\35\3\34\1\35\34\34\1\35\1\30\1\35\35"+ - "\34\3\35\uff82\34", - "\11\34\1\32\1\36\2\34\1\36\22\34\1\32\1\34\2\30\4\34\2\37"+ - "\1\35\1\34\1\37\15\34\1\35\3\34\1\35\34\34\1\35\1\30\1\35\35"+ - "\34\3\35\uff82\34", - "\42\42\2\uffff\11\42\1\40\56\42\1\uffff\uffa3\42", - "\12\30\1\uffff\2\30\1\uffff\60\30\1\43\uffc1\30", - "\11\30\1\11\26\30\1\7\2\30\1\uffff\1\30\1\uffff\7\30\1\46"+ - "\22\30\1\45\uffbf\30", + "\42\31\2\uffff\4\31\2\33\1\32\1\31\1\33\1\27\14\31\1\32\3"+ + "\31\1\32\34\31\1\32\1\uffff\1\32\35\31\3\32\uff82\31", + "\12\26\1\uffff\2\26\1\uffff\60\26\1\34\uffc1\26", + "\11\26\1\7\26\26\1\5\2\26\1\uffff\1\26\1\uffff\7\26\1\37\22"+ + "\26\1\40\uffbf\26", "\1\uffff", - "\11\30\1\11\26\30\1\11\2\30\1\uffff\1\30\1\uffff\7\30\1\uffff"+ - "\22\30\1\uffff\uffbf\30", + "\11\26\1\7\26\26\1\7\2\26\1\uffff\1\26\1\uffff\7\26\1\uffff"+ + "\22\26\1\uffff\uffbf\26", + "", + "\12\26\1\uffff\2\26\1\uffff\ufff2\26", + "\12\26\1\uffff\2\26\1\uffff\ufff2\26", + "\12\26\1\uffff\2\26\1\uffff\ufff2\26", + "\11\45\1\26\1\50\2\45\1\50\22\45\1\26\1\45\1\26\1\46\70\45"+ + "\1\26\uffa3\45", + "\12\26\1\uffff\2\26\1\uffff\ufff2\26", + "\12\26\1\uffff\2\26\1\uffff\ufff2\26", + "\12\54\1\31\2\54\1\31\24\54\2\26\4\54\2\55\1\56\1\54\1\55"+ + "\15\54\1\56\3\54\1\56\34\54\1\56\1\26\1\56\35\54\3\56\uff82"+ + "\54", + "\12\26\1\uffff\2\26\1\uffff\ufff2\26", + "\12\26\1\uffff\2\26\1\uffff\ufff2\26", + "\11\45\1\26\1\50\2\45\1\50\22\45\1\26\1\45\1\26\1\46\70\45"+ + "\1\26\uffa3\45", + "\12\62\1\66\2\62\1\66\24\62\1\64\1\65\70\62\1\63\uffa3\62", + "\12\70\1\71\2\70\1\71\24\70\2\26\4\70\2\72\1\73\1\70\1\72"+ + "\15\70\1\73\3\70\1\73\34\70\1\73\1\26\1\73\35\70\3\73\uff82"+ + "\70", + "\12\26\1\uffff\2\26\1\uffff\ufff2\26", "", - "\12\30\1\uffff\2\30\1\uffff\ufff2\30", - "\12\30\1\uffff\2\30\1\uffff\ufff2\30", - "\12\30\1\uffff\2\30\1\uffff\ufff2\30", - "\11\54\1\30\1\42\2\54\1\42\22\54\1\30\1\54\1\30\1\56\70\54"+ - "\1\30\uffa3\54", - "\12\30\1\uffff\2\30\1\uffff\ufff2\30", - "\12\30\1\uffff\2\30\1\uffff\ufff2\30", - "\11\63\1\61\1\42\2\63\1\42\22\63\1\61\1\63\2\30\4\63\2\65"+ - "\1\64\1\63\1\65\15\63\1\64\3\63\1\64\34\63\1\64\1\30\1\64\35"+ - "\63\3\64\uff82\63", - "\12\30\1\uffff\2\30\1\uffff\ufff2\30", - "\12\30\1\uffff\2\30\1\uffff\ufff2\30", - "\11\54\1\30\1\42\2\54\1\42\22\54\1\30\1\54\1\30\1\56\70\54"+ - "\1\30\uffa3\54", - "\12\71\1\74\2\71\1\74\24\71\1\75\1\72\70\71\1\73\uffa3\71", - "\11\34\1\32\1\36\2\34\1\36\22\34\1\32\1\34\2\30\4\34\2\37"+ - "\1\35\1\34\1\37\15\34\1\35\3\34\1\35\34\34\1\35\1\30\1\35\35"+ - "\34\3\35\uff82\34", - "\12\30\1\uffff\2\30\1\uffff\ufff2\30", + "\11\31\1\76\26\31\1\76\1\31\2\uffff\4\31\2\33\1\32\1\31\1"+ + "\33\15\31\1\32\3\31\1\32\34\31\1\32\1\uffff\1\32\35\31\3\32"+ + "\uff82\31", + "\1\uffff", "", - "\11\36\1\100\26\36\1\100\1\36\2\uffff\4\36\3\100\1\36\1\100"+ - "\15\36\1\100\3\36\1\100\34\36\1\100\1\uffff\1\100\35\36\3\100"+ - "\uff82\36", - "\11\34\1\32\1\36\2\34\1\36\22\34\1\32\1\34\2\30\4\34\2\37"+ - "\1\35\1\34\1\37\15\34\1\35\3\34\1\35\34\34\1\35\1\30\1\35\35"+ - "\34\3\35\uff82\34", "", - "\11\34\1\32\1\36\2\34\1\36\22\34\1\32\1\34\2\30\4\34\2\37"+ - "\1\35\1\34\1\37\15\34\1\35\3\34\1\35\34\34\1\35\1\30\1\35\35"+ - "\34\3\35\uff82\34", - "\11\34\1\32\1\36\2\34\1\36\22\34\1\32\1\34\2\30\4\34\2\37"+ - "\1\35\1\34\1\37\15\34\1\35\3\34\1\35\34\34\1\35\1\30\1\35\35"+ - "\34\3\35\uff82\34", "", - "\11\34\1\32\1\36\2\34\1\36\22\34\1\32\1\34\2\30\4\34\2\37"+ - "\1\35\1\34\1\37\15\34\1\35\3\34\1\35\34\34\1\35\1\30\1\35\35"+ - "\34\3\35\uff82\34", - "\11\103\1\102\26\103\1\102\1\103\2\uffff\70\103\1\uffff\uffa3"+ - "\103", + "\11\26\1\77\1\uffff\2\26\1\uffff\22\26\1\77\uffdf\26", "\1\uffff", - "", - "\11\30\1\105\1\uffff\2\30\1\uffff\22\30\1\105\uffdf\30", "\1\uffff", "", "", @@ -2220,47 +2168,47 @@ public class SilkLexer extends Lexer { "\1\uffff", "\1\uffff", "\1\uffff", + "\12\54\1\31\2\54\1\31\24\54\2\26\4\54\2\55\1\56\1\54\1\55"+ + "\15\54\1\56\3\54\1\56\34\54\1\56\1\26\1\56\35\54\3\56\uff82"+ + "\54", + "\12\111\1\31\2\111\1\31\24\111\2\26\4\111\2\113\1\112\1\111"+ + "\1\113\15\111\1\112\3\111\1\112\34\111\1\112\1\26\1\112\35\111"+ + "\3\112\uff82\111", "\1\uffff", - "\11\63\1\61\1\103\2\63\1\103\22\63\1\61\1\63\2\30\4\63\2\65"+ - "\1\64\1\63\1\65\15\63\1\64\3\63\1\64\34\63\1\64\1\30\1\64\35"+ - "\63\3\64\uff82\63", - "\1\uffff", - "\11\117\1\116\1\103\2\117\1\103\22\117\1\116\1\117\2\30\4"+ - "\117\2\121\1\120\1\117\1\121\15\117\1\120\3\117\1\120\34\117"+ - "\1\120\1\30\1\120\35\117\3\120\uff82\117", + "", "\1\uffff", "\1\uffff", - "\11\63\1\61\1\103\2\63\1\103\22\63\1\61\1\63\2\30\4\63\2\65"+ - "\1\64\1\63\1\65\15\63\1\64\3\63\1\64\34\63\1\64\1\30\1\64\35"+ - "\63\3\64\uff82\63", "\1\uffff", - "\11\63\1\61\1\103\2\63\1\103\22\63\1\61\1\63\2\30\4\63\2\65"+ - "\1\64\1\63\1\65\15\63\1\64\3\63\1\64\34\63\1\64\1\30\1\64\35"+ - "\63\3\64\uff82\63", - "\11\63\1\61\1\103\2\63\1\103\22\63\1\61\1\63\2\30\4\63\2\65"+ - "\1\64\1\63\1\65\15\63\1\64\3\63\1\64\34\63\1\64\1\30\1\64\35"+ - "\63\3\64\uff82\63", - "\11\63\1\61\1\103\2\63\1\103\22\63\1\61\1\63\2\30\4\63\2\65"+ - "\1\64\1\63\1\65\15\63\1\64\3\63\1\64\34\63\1\64\1\30\1\64\35"+ - "\63\3\64\uff82\63", + "\12\54\1\31\2\54\1\31\24\54\2\26\4\54\2\55\1\56\1\54\1\55"+ + "\15\54\1\56\3\54\1\56\34\54\1\56\1\26\1\56\35\54\3\56\uff82"+ + "\54", + "\12\55\1\33\2\55\1\33\24\55\2\26\70\55\1\26\uffa3\55", + "\12\56\1\32\2\56\1\32\24\56\2\26\4\56\2\55\2\56\1\55\57\56"+ + "\1\26\uffa3\56", "\1\uffff", "\1\uffff", "\1\uffff", - "\12\71\1\74\2\71\1\74\24\71\1\75\1\72\70\71\1\73\uffa3\71", - "\12\132\1\74\2\132\1\74\24\132\1\131\71\132\1\133\uffa3\132", - "\1\134\14\uffff\1\136\54\uffff\1\135\5\uffff\1\137\3\uffff"+ - "\1\140\7\uffff\1\141\3\uffff\1\142\1\uffff\1\143\1\144", + "\12\62\1\66\2\62\1\66\24\62\1\64\1\65\70\62\1\63\uffa3\62", + "\1\127\14\uffff\1\131\54\uffff\1\130\5\uffff\1\132\3\uffff"+ + "\1\133\7\uffff\1\134\3\uffff\1\135\1\uffff\1\136\1\137", + "\12\26\1\uffff\2\26\1\uffff\ufff2\26", + "\12\142\1\66\2\142\1\66\24\142\1\141\71\142\1\143\uffa3\142", "", - "\12\30\1\uffff\2\30\1\uffff\ufff2\30", - "\1\uffff", "\1\uffff", + "\12\70\1\71\2\70\1\71\24\70\2\26\4\70\2\72\1\73\1\70\1\72"+ + "\15\70\1\73\3\70\1\73\34\70\1\73\1\26\1\73\35\70\3\73\uff82"+ + "\70", "", + "\12\72\1\146\2\72\1\146\24\72\2\26\70\72\1\26\uffa3\72", + "\12\73\1\150\2\73\1\150\24\73\2\26\4\73\2\72\2\73\1\72\57"+ + "\73\1\26\uffa3\73", "\1\uffff", - "\11\103\1\102\26\103\1\102\1\103\2\uffff\70\103\1\uffff\uffa3"+ - "\103", - "", "\1\uffff", - "\11\30\1\105\1\uffff\2\30\1\uffff\22\30\1\105\uffdf\30", + "\11\31\1\76\26\31\1\76\1\31\2\uffff\4\31\2\33\1\32\1\31\1"+ + "\33\15\31\1\32\3\31\1\32\34\31\1\32\1\uffff\1\32\35\31\3\32"+ + "\uff82\31", + "\11\26\1\77\1\uffff\2\26\1\uffff\22\26\1\77\uffdf\26", + "\1\uffff", "", "", "", @@ -2268,59 +2216,65 @@ public class SilkLexer extends Lexer { "", "", "\1\uffff", + "\1\uffff", + "\12\111\1\31\2\111\1\31\24\111\2\26\4\111\2\113\1\112\1\111"+ + "\1\113\15\111\1\112\3\111\1\112\34\111\1\112\1\26\1\112\35\111"+ + "\3\112\uff82\111", + "\12\112\1\32\2\112\1\32\24\112\2\26\4\112\2\113\2\112\1\113"+ + "\57\112\1\26\uffa3\112", + "\12\113\1\33\2\113\1\33\24\113\2\26\70\113\1\26\uffa3\113", "", - "\11\117\1\116\1\103\2\117\1\103\22\117\1\116\1\117\2\30\4"+ - "\117\2\121\1\120\1\117\1\121\15\117\1\120\3\117\1\120\34\117"+ - "\1\120\1\30\1\120\35\117\3\120\uff82\117", - "\11\117\1\116\1\103\2\117\1\103\22\117\1\116\1\117\2\30\4"+ - "\117\2\121\1\120\1\117\1\121\15\117\1\120\3\117\1\120\34\117"+ - "\1\120\1\30\1\120\35\117\3\120\uff82\117", - "\11\117\1\116\1\103\2\117\1\103\22\117\1\116\1\117\2\30\4"+ - "\117\2\121\1\120\1\117\1\121\15\117\1\120\3\117\1\120\34\117"+ - "\1\120\1\30\1\120\35\117\3\120\uff82\117", - "\11\117\1\116\1\103\2\117\1\103\22\117\1\116\1\117\2\30\4"+ - "\117\2\121\1\120\1\117\1\121\15\117\1\120\3\117\1\120\34\117"+ - "\1\120\1\30\1\120\35\117\3\120\uff82\117", "", "", "", + "\1\uffff", + "\1\uffff", + "\1\uffff", + "", "", "", "", + "\12\62\1\66\2\62\1\66\24\62\1\64\1\65\70\62\1\63\uffa3\62", + "\12\62\1\66\2\62\1\66\24\62\1\64\1\65\70\62\1\63\uffa3\62", + "\12\62\1\66\2\62\1\66\24\62\1\64\1\65\70\62\1\63\uffa3\62", + "\12\62\1\66\2\62\1\66\24\62\1\64\1\65\70\62\1\63\uffa3\62", + "\12\62\1\66\2\62\1\66\24\62\1\64\1\65\70\62\1\63\uffa3\62", + "\12\62\1\66\2\62\1\66\24\62\1\64\1\65\70\62\1\63\uffa3\62", + "\12\62\1\66\2\62\1\66\24\62\1\64\1\65\70\62\1\63\uffa3\62", + "\12\62\1\66\2\62\1\66\24\62\1\64\1\65\70\62\1\63\uffa3\62", + "\12\156\7\uffff\6\156\32\uffff\6\156", + "\1\uffff", + "\12\26\1\uffff\2\26\1\uffff\ufff2\26", + "\12\142\1\66\2\142\1\66\24\142\1\141\71\142\1\143\uffa3\142", + "\1\157\14\uffff\1\161\54\uffff\1\160\5\uffff\1\162\3\uffff"+ + "\1\163\7\uffff\1\164\3\uffff\1\165\1\uffff\1\166\1\167", + "\1\uffff", + "\1\uffff", "", - "\12\30\1\uffff\2\30\1\uffff\ufff2\30", - "\12\132\1\74\2\132\1\74\24\132\1\131\71\132\1\133\uffa3\132", - "\1\150\14\uffff\1\152\54\uffff\1\151\5\uffff\1\153\3\uffff"+ - "\1\154\7\uffff\1\155\3\uffff\1\156\1\uffff\1\157\1\160", - "\12\71\1\74\2\71\1\74\24\71\1\75\1\72\70\71\1\73\uffa3\71", - "\12\71\1\74\2\71\1\74\24\71\1\75\1\72\70\71\1\73\uffa3\71", - "\12\71\1\74\2\71\1\74\24\71\1\75\1\72\70\71\1\73\uffa3\71", - "\12\71\1\74\2\71\1\74\24\71\1\75\1\72\70\71\1\73\uffa3\71", - "\12\71\1\74\2\71\1\74\24\71\1\75\1\72\70\71\1\73\uffa3\71", - "\12\71\1\74\2\71\1\74\24\71\1\75\1\72\70\71\1\73\uffa3\71", - "\12\71\1\74\2\71\1\74\24\71\1\75\1\72\70\71\1\73\uffa3\71", - "\12\71\1\74\2\71\1\74\24\71\1\75\1\72\70\71\1\73\uffa3\71", - "\12\161\7\uffff\6\161\32\uffff\6\161", "\1\uffff", "", "", - "\12\132\1\74\2\132\1\74\24\132\1\131\71\132\1\133\uffa3\132", - "\12\132\1\74\2\132\1\74\24\132\1\131\71\132\1\133\uffa3\132", - "\12\132\1\74\2\132\1\74\24\132\1\131\71\132\1\133\uffa3\132", - "\12\132\1\74\2\132\1\74\24\132\1\131\71\132\1\133\uffa3\132", - "\12\132\1\74\2\132\1\74\24\132\1\131\71\132\1\133\uffa3\132", - "\12\132\1\74\2\132\1\74\24\132\1\131\71\132\1\133\uffa3\132", - "\12\132\1\74\2\132\1\74\24\132\1\131\71\132\1\133\uffa3\132", - "\12\132\1\74\2\132\1\74\24\132\1\131\71\132\1\133\uffa3\132", - "\12\162\7\uffff\6\162\32\uffff\6\162", - "\12\163\7\uffff\6\163\32\uffff\6\163", - "\12\164\7\uffff\6\164\32\uffff\6\164", - "\12\165\7\uffff\6\165\32\uffff\6\165", - "\12\166\7\uffff\6\166\32\uffff\6\166", - "\12\167\7\uffff\6\167\32\uffff\6\167", + "\1\uffff", + "", + "\1\uffff", + "\1\uffff", "\12\170\7\uffff\6\170\32\uffff\6\170", - "\12\71\1\74\2\71\1\74\24\71\1\75\1\72\70\71\1\73\uffa3\71", - "\12\132\1\74\2\132\1\74\24\132\1\131\71\132\1\133\uffa3\132" + "\12\142\1\66\2\142\1\66\24\142\1\141\71\142\1\143\uffa3\142", + "\12\142\1\66\2\142\1\66\24\142\1\141\71\142\1\143\uffa3\142", + "\12\142\1\66\2\142\1\66\24\142\1\141\71\142\1\143\uffa3\142", + "\12\142\1\66\2\142\1\66\24\142\1\141\71\142\1\143\uffa3\142", + "\12\142\1\66\2\142\1\66\24\142\1\141\71\142\1\143\uffa3\142", + "\12\142\1\66\2\142\1\66\24\142\1\141\71\142\1\143\uffa3\142", + "\12\142\1\66\2\142\1\66\24\142\1\141\71\142\1\143\uffa3\142", + "\12\142\1\66\2\142\1\66\24\142\1\141\71\142\1\143\uffa3\142", + "\12\171\7\uffff\6\171\32\uffff\6\171", + "\12\172\7\uffff\6\172\32\uffff\6\172", + "\12\173\7\uffff\6\173\32\uffff\6\173", + "\12\174\7\uffff\6\174\32\uffff\6\174", + "\12\175\7\uffff\6\175\32\uffff\6\175", + "\12\62\1\66\2\62\1\66\24\62\1\64\1\65\70\62\1\63\uffa3\62", + "\12\176\7\uffff\6\176\32\uffff\6\176", + "\12\142\1\66\2\142\1\66\24\142\1\141\71\142\1\143\uffa3\142" }; static final short[] DFA22_eot = DFA.unpackEncodedString(DFA22_eotS); @@ -2353,1048 +2307,1023 @@ public class SilkLexer extends Lexer { this.transition = DFA22_transition; } public String getDescription() { - return "1:1: Tokens : ( LineComment | Preamble | LineBreak | MultiLineSeparator | MultiLineEntrySeparator | NodeIndent | FunctionIndent | BlankLine | DataLine | LParen | RParen | Comma | Colon | Seq | TabSeq | Star | At | Plus | LBracket | RBracket | Question | String | PlainOneLine | JSON | Separation );"; + return "1:1: Tokens : ( LineComment | Preamble | MultiLineSeparator | MultiLineEntrySeparator | NodeIndent | FunctionIndent | BlankLine | DataLine | LParen | RParen | Comma | Colon | Seq | TabSeq | Star | At | Plus | LBracket | RBracket | Question | String | PlainOneLine | JSON | Separation );"; } public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { IntStream input = _input; int _s = s; switch ( s ) { case 0 : - int LA22_100 = input.LA(1); + int LA22_24 = input.LA(1); - int index22_100 = input.index(); + int index22_24 = input.index(); input.rewind(); s = -1; - if ( ((LA22_100>='0' && LA22_100<='9')||(LA22_100>='A' && LA22_100<='F')||(LA22_100>='a' && LA22_100<='f')) ) {s = 113;} + if ( (( isHead() )) ) {s = 31;} - else s = 24; + else if ( (((( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() )))) ) {s = 57;} - input.seek(index22_100); + input.seek(index22_24); if ( s>=0 ) return s; break; case 1 : - int LA22_104 = input.LA(1); + int LA22_64 = input.LA(1); - int index22_104 = input.index(); + int index22_64 = input.index(); input.rewind(); s = -1; - if ( (LA22_104=='\"') ) {s = 89;} - - else if ( ((LA22_104>='\u0000' && LA22_104<='\t')||(LA22_104>='\u000B' && LA22_104<='\f')||(LA22_104>='\u000E' && LA22_104<='!')||(LA22_104>='#' && LA22_104<='[')||(LA22_104>=']' && LA22_104<='\uFFFF')) ) {s = 90;} - - else if ( (LA22_104=='\\') ) {s = 91;} - - else if ( (LA22_104=='\n'||LA22_104=='\r') ) {s = 60;} + if ( (( isHead() )) ) {s = 107;} - else s = 24; + else if ( (( isHead() )) ) {s = 22;} - input.seek(index22_104); + input.seek(index22_64); if ( s>=0 ) return s; break; case 2 : - int LA22_43 = input.LA(1); + int LA22_29 = input.LA(1); - int index22_43 = input.index(); + int index22_29 = input.index(); input.rewind(); s = -1; - if ( (( isHead() )) ) {s = 24;} + if ( (( isHead() )) ) {s = 22;} - else if ( (true) ) {s = 75;} + else if ( (true) ) {s = 65;} - input.seek(index22_43); + input.seek(index22_29); if ( s>=0 ) return s; break; case 3 : - int LA22_110 = input.LA(1); + int LA22_90 = input.LA(1); - int index22_110 = input.index(); + int index22_90 = input.index(); input.rewind(); s = -1; - if ( (LA22_110=='\"') ) {s = 89;} + if ( (LA22_90=='\"') ) {s = 52;} - else if ( ((LA22_110>='\u0000' && LA22_110<='\t')||(LA22_110>='\u000B' && LA22_110<='\f')||(LA22_110>='\u000E' && LA22_110<='!')||(LA22_110>='#' && LA22_110<='[')||(LA22_110>=']' && LA22_110<='\uFFFF')) ) {s = 90;} + else if ( (LA22_90=='#') ) {s = 53;} - else if ( (LA22_110=='\\') ) {s = 91;} + else if ( (LA22_90=='\\') ) {s = 51;} - else if ( (LA22_110=='\n'||LA22_110=='\r') ) {s = 60;} + else if ( ((LA22_90>='\u0000' && LA22_90<='\t')||(LA22_90>='\u000B' && LA22_90<='\f')||(LA22_90>='\u000E' && LA22_90<='!')||(LA22_90>='$' && LA22_90<='[')||(LA22_90>=']' && LA22_90<='\uFFFF')) ) {s = 50;} - else s = 24; + else if ( (LA22_90=='\n'||LA22_90=='\r') ) {s = 54;} + + else s = 22; - input.seek(index22_110); + input.seek(index22_90); if ( s>=0 ) return s; break; case 4 : - int LA22_92 = input.LA(1); + int LA22_108 = input.LA(1); - int index22_92 = input.index(); + int index22_108 = input.index(); input.rewind(); s = -1; - if ( (LA22_92=='#') ) {s = 58;} - - else if ( (LA22_92=='\"') ) {s = 61;} + if ( (( isHead() )) ) {s = 22;} - else if ( ((LA22_92>='\u0000' && LA22_92<='\t')||(LA22_92>='\u000B' && LA22_92<='\f')||(LA22_92>='\u000E' && LA22_92<='!')||(LA22_92>='$' && LA22_92<='[')||(LA22_92>=']' && LA22_92<='\uFFFF')) ) {s = 57;} - - else if ( (LA22_92=='\\') ) {s = 59;} - - else if ( (LA22_92=='\n'||LA22_92=='\r') ) {s = 60;} - - else s = 24; + else if ( (((( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() )))) ) {s = 104;} - input.seek(index22_92); + input.seek(index22_108); if ( s>=0 ) return s; break; case 5 : - int LA22_111 = input.LA(1); + int LA22_100 = input.LA(1); - int index22_111 = input.index(); + int index22_100 = input.index(); input.rewind(); s = -1; - if ( (LA22_111=='\"') ) {s = 89;} - - else if ( ((LA22_111>='\u0000' && LA22_111<='\t')||(LA22_111>='\u000B' && LA22_111<='\f')||(LA22_111>='\u000E' && LA22_111<='!')||(LA22_111>='#' && LA22_111<='[')||(LA22_111>=']' && LA22_111<='\uFFFF')) ) {s = 90;} - - else if ( (LA22_111=='\\') ) {s = 91;} + if ( (( isHead() )) ) {s = 22;} - else if ( (LA22_111=='\n'||LA22_111=='\r') ) {s = 60;} - - else s = 24; + else if ( ((( isInValue() )||( isOutValue() )||( isKey() ))) ) {s = 104;} - input.seek(index22_111); + input.seek(index22_100); if ( s>=0 ) return s; break; case 6 : - int LA22_4 = input.LA(1); + int LA22_55 = input.LA(1); - int index22_4 = input.index(); + int index22_55 = input.index(); input.rewind(); s = -1; - if ( (LA22_4=='\t'||LA22_4==' ') ) {s = 26;} - - else if ( ((LA22_4>='\"' && LA22_4<='#')||LA22_4=='\\') && (( isHead() ))) {s = 24;} - - else if ( ((LA22_4>='\u0000' && LA22_4<='\b')||(LA22_4>='\u000B' && LA22_4<='\f')||(LA22_4>='\u000E' && LA22_4<='\u001F')||LA22_4=='!'||(LA22_4>='$' && LA22_4<='\'')||LA22_4=='+'||(LA22_4>='-' && LA22_4<='9')||(LA22_4>=';' && LA22_4<='=')||(LA22_4>='?' && LA22_4<='Z')||(LA22_4>='^' && LA22_4<='z')||(LA22_4>='~' && LA22_4<='\uFFFF')) ) {s = 28;} - - else if ( (LA22_4=='*'||LA22_4==':'||LA22_4=='>'||LA22_4=='['||LA22_4==']'||(LA22_4>='{' && LA22_4<='}')) ) {s = 29;} - - else if ( (LA22_4=='\n'||LA22_4=='\r') ) {s = 30;} + if ( (( isHead() )) ) {s = 22;} - else if ( ((LA22_4>='(' && LA22_4<=')')||LA22_4==',') ) {s = 31;} - - else s = 27; + else if ( ((( isInValue() )||( isOutValue() )||( isKey() ))) ) {s = 57;} - input.seek(index22_4); + input.seek(index22_55); if ( s>=0 ) return s; break; case 7 : - int LA22_105 = input.LA(1); + int LA22_71 = input.LA(1); - int index22_105 = input.index(); + int index22_71 = input.index(); input.rewind(); s = -1; - if ( (LA22_105=='\"') ) {s = 89;} - - else if ( ((LA22_105>='\u0000' && LA22_105<='\t')||(LA22_105>='\u000B' && LA22_105<='\f')||(LA22_105>='\u000E' && LA22_105<='!')||(LA22_105>='#' && LA22_105<='[')||(LA22_105>=']' && LA22_105<='\uFFFF')) ) {s = 90;} + if ( (( isHead() )) ) {s = 22;} - else if ( (LA22_105=='\\') ) {s = 91;} - - else if ( (LA22_105=='\n'||LA22_105=='\r') ) {s = 60;} - - else s = 24; + else if ( (((( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() )))) ) {s = 104;} - input.seek(index22_105); + input.seek(index22_71); if ( s>=0 ) return s; break; case 8 : - int LA22_79 = input.LA(1); + int LA22_72 = input.LA(1); - int index22_79 = input.index(); + int index22_72 = input.index(); input.rewind(); s = -1; - if ( (LA22_79=='\t'||LA22_79==' ') && ((( isHead() )||( isValue() )))) {s = 78;} - - else if ( ((LA22_79>='\u0000' && LA22_79<='\b')||(LA22_79>='\u000B' && LA22_79<='\f')||(LA22_79>='\u000E' && LA22_79<='\u001F')||LA22_79=='!'||(LA22_79>='$' && LA22_79<='\'')||LA22_79=='+'||(LA22_79>='-' && LA22_79<='9')||(LA22_79>=';' && LA22_79<='=')||(LA22_79>='?' && LA22_79<='Z')||(LA22_79>='^' && LA22_79<='z')||(LA22_79>='~' && LA22_79<='\uFFFF')) && ((( isValue() )||( isHead() )))) {s = 79;} + if ( (( isHead() )) ) {s = 22;} - else if ( (LA22_79=='*'||LA22_79==':'||LA22_79=='>'||LA22_79=='['||LA22_79==']'||(LA22_79>='{' && LA22_79<='}')) && ((( isHead() )||( isValue() )))) {s = 80;} - - else if ( ((LA22_79>='(' && LA22_79<=')')||LA22_79==',') && ((( isValue() )||( isHead() )))) {s = 81;} - - else if ( (LA22_79=='\n'||LA22_79=='\r') && (( isValue() ))) {s = 67;} - - else if ( ((LA22_79>='\"' && LA22_79<='#')||LA22_79=='\\') && (( isHead() ))) {s = 24;} - - else s = 76; + else if ( (((( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() )))) ) {s = 104;} - input.seek(index22_79); + input.seek(index22_72); if ( s>=0 ) return s; break; case 9 : - int LA22_93 = input.LA(1); + int LA22_80 = input.LA(1); - int index22_93 = input.index(); + int index22_80 = input.index(); input.rewind(); s = -1; - if ( (LA22_93=='#') ) {s = 58;} + if ( (( isHead() )) ) {s = 22;} - else if ( (LA22_93=='\"') ) {s = 61;} - - else if ( ((LA22_93>='\u0000' && LA22_93<='\t')||(LA22_93>='\u000B' && LA22_93<='\f')||(LA22_93>='\u000E' && LA22_93<='!')||(LA22_93>='$' && LA22_93<='[')||(LA22_93>=']' && LA22_93<='\uFFFF')) ) {s = 57;} - - else if ( (LA22_93=='\\') ) {s = 59;} - - else if ( (LA22_93=='\n'||LA22_93=='\r') ) {s = 60;} - - else s = 24; + else if ( (((( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() )))) ) {s = 104;} - input.seek(index22_93); + input.seek(index22_80); if ( s>=0 ) return s; break; case 10 : - int LA22_57 = input.LA(1); + int LA22_121 = input.LA(1); - int index22_57 = input.index(); + int index22_121 = input.index(); input.rewind(); s = -1; - if ( (LA22_57=='#') ) {s = 58;} - - else if ( (LA22_57=='\"') ) {s = 61;} + if ( ((LA22_121>='0' && LA22_121<='9')||(LA22_121>='A' && LA22_121<='F')||(LA22_121>='a' && LA22_121<='f')) ) {s = 123;} - else if ( ((LA22_57>='\u0000' && LA22_57<='\t')||(LA22_57>='\u000B' && LA22_57<='\f')||(LA22_57>='\u000E' && LA22_57<='!')||(LA22_57>='$' && LA22_57<='[')||(LA22_57>=']' && LA22_57<='\uFFFF')) ) {s = 57;} - - else if ( (LA22_57=='\\') ) {s = 59;} - - else if ( (LA22_57=='\n'||LA22_57=='\r') ) {s = 60;} - - else s = 24; + else s = 22; - input.seek(index22_57); + input.seek(index22_121); if ( s>=0 ) return s; break; case 11 : - int LA22_65 = input.LA(1); + int LA22_14 = input.LA(1); - int index22_65 = input.index(); + int index22_14 = input.index(); input.rewind(); s = -1; - if ( (( isHead() )) ) {s = 102;} + if ( ((LA22_14>='\u0000' && LA22_14<='\t')||(LA22_14>='\u000B' && LA22_14<='\f')||(LA22_14>='\u000E' && LA22_14<='\uFFFF')) && (( isHead() ))) {s = 22;} - else if ( (( isValue() )) ) {s = 67;} + else s = 42; - input.seek(index22_65); + input.seek(index22_14); if ( s>=0 ) return s; break; case 12 : - int LA22_44 = input.LA(1); + int LA22_41 = input.LA(1); - int index22_44 = input.index(); + int index22_41 = input.index(); input.rewind(); s = -1; - if ( ((LA22_44>='\"' && LA22_44<='#')||LA22_44=='\\') && (( isHead() ))) {s = 24;} - - else if ( (LA22_44=='\t'||LA22_44==' ') && ((( isHead() )||( isValue() )))) {s = 49;} - - else if ( ((LA22_44>='\u0000' && LA22_44<='\b')||(LA22_44>='\u000B' && LA22_44<='\f')||(LA22_44>='\u000E' && LA22_44<='\u001F')||LA22_44=='!'||(LA22_44>='$' && LA22_44<='\'')||LA22_44=='+'||(LA22_44>='-' && LA22_44<='9')||(LA22_44>=';' && LA22_44<='=')||(LA22_44>='?' && LA22_44<='Z')||(LA22_44>='^' && LA22_44<='z')||(LA22_44>='~' && LA22_44<='\uFFFF')) && ((( isValue() )||( isHead() )))) {s = 51;} - - else if ( (LA22_44=='*'||LA22_44==':'||LA22_44=='>'||LA22_44=='['||LA22_44==']'||(LA22_44>='{' && LA22_44<='}')) && ((( isHead() )||( isValue() )))) {s = 52;} - - else if ( (LA22_44=='\n'||LA22_44=='\r') && (( isValue() ))) {s = 67;} + if ( (( isHead() )) ) {s = 22;} - else if ( ((LA22_44>='(' && LA22_44<=')')||LA22_44==',') && ((( isValue() )||( isHead() )))) {s = 53;} - - else s = 76; + else if ( (true) ) {s = 77;} - input.seek(index22_44); + input.seek(index22_41); if ( s>=0 ) return s; break; case 13 : - int LA22_61 = input.LA(1); + int LA22_33 = input.LA(1); - int index22_61 = input.index(); + int index22_33 = input.index(); input.rewind(); s = -1; - if ( ((LA22_61>='\u0000' && LA22_61<='\t')||(LA22_61>='\u000B' && LA22_61<='\f')||(LA22_61>='\u000E' && LA22_61<='\uFFFF')) && (( isHead() ))) {s = 24;} + if ( (( isHead() )) ) {s = 32;} - else s = 101; + else if ( (true) ) {s = 67;} - input.seek(index22_61); + input.seek(index22_33); if ( s>=0 ) return s; break; case 14 : - int LA22_22 = input.LA(1); + int LA22_51 = input.LA(1); - int index22_22 = input.index(); + int index22_51 = input.index(); input.rewind(); s = -1; - if ( (LA22_22=='\t'||LA22_22==' ') ) {s = 26;} + if ( (LA22_51=='\"') ) {s = 87;} + + else if ( (LA22_51=='\\') ) {s = 88;} + + else if ( (LA22_51=='/') ) {s = 89;} - else if ( ((LA22_22>='\"' && LA22_22<='#')||LA22_22=='\\') && (( isHead() ))) {s = 24;} + else if ( (LA22_51=='b') ) {s = 90;} - else if ( ((LA22_22>='\u0000' && LA22_22<='\b')||(LA22_22>='\u000B' && LA22_22<='\f')||(LA22_22>='\u000E' && LA22_22<='\u001F')||LA22_22=='!'||(LA22_22>='$' && LA22_22<='\'')||LA22_22=='+'||(LA22_22>='-' && LA22_22<='9')||(LA22_22>=';' && LA22_22<='=')||(LA22_22>='?' && LA22_22<='Z')||(LA22_22>='^' && LA22_22<='z')||(LA22_22>='~' && LA22_22<='\uFFFF')) ) {s = 28;} + else if ( (LA22_51=='f') ) {s = 91;} - else if ( (LA22_22=='*'||LA22_22==':'||LA22_22=='>'||LA22_22=='['||LA22_22==']'||(LA22_22>='{' && LA22_22<='}')) ) {s = 29;} + else if ( (LA22_51=='n') ) {s = 92;} - else if ( (LA22_22=='\n'||LA22_22=='\r') ) {s = 30;} + else if ( (LA22_51=='r') ) {s = 93;} - else if ( ((LA22_22>='(' && LA22_22<=')')||LA22_22==',') ) {s = 31;} + else if ( (LA22_51=='t') ) {s = 94;} - else s = 62; + else if ( (LA22_51=='u') ) {s = 95;} + + else s = 22; - input.seek(index22_22); + input.seek(index22_51); if ( s>=0 ) return s; break; case 15 : - int LA22_28 = input.LA(1); + int LA22_106 = input.LA(1); - int index22_28 = input.index(); + int index22_106 = input.index(); input.rewind(); s = -1; - if ( (LA22_28=='\t'||LA22_28==' ') ) {s = 26;} - - else if ( ((LA22_28>='\u0000' && LA22_28<='\b')||(LA22_28>='\u000B' && LA22_28<='\f')||(LA22_28>='\u000E' && LA22_28<='\u001F')||LA22_28=='!'||(LA22_28>='$' && LA22_28<='\'')||LA22_28=='+'||(LA22_28>='-' && LA22_28<='9')||(LA22_28>=';' && LA22_28<='=')||(LA22_28>='?' && LA22_28<='Z')||(LA22_28>='^' && LA22_28<='z')||(LA22_28>='~' && LA22_28<='\uFFFF')) ) {s = 28;} - - else if ( (LA22_28=='*'||LA22_28==':'||LA22_28=='>'||LA22_28=='['||LA22_28==']'||(LA22_28>='{' && LA22_28<='}')) ) {s = 29;} + if ( (( isHead() )) ) {s = 105;} - else if ( ((LA22_28>='(' && LA22_28<=')')||LA22_28==',') ) {s = 31;} - - else if ( ((LA22_28>='\"' && LA22_28<='#')||LA22_28=='\\') && (( isHead() ))) {s = 24;} - - else if ( (LA22_28=='\n'||LA22_28=='\r') ) {s = 30;} - - else s = 62; + else if ( (((( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() )))) ) {s = 104;} - input.seek(index22_28); + input.seek(index22_106); if ( s>=0 ) return s; break; case 16 : - int LA22_51 = input.LA(1); + int LA22_61 = input.LA(1); - int index22_51 = input.index(); + int index22_61 = input.index(); input.rewind(); s = -1; - if ( (LA22_51=='\t'||LA22_51==' ') && ((( isHead() )||( isValue() )))) {s = 49;} - - else if ( ((LA22_51>='\u0000' && LA22_51<='\b')||(LA22_51>='\u000B' && LA22_51<='\f')||(LA22_51>='\u000E' && LA22_51<='\u001F')||LA22_51=='!'||(LA22_51>='$' && LA22_51<='\'')||LA22_51=='+'||(LA22_51>='-' && LA22_51<='9')||(LA22_51>=';' && LA22_51<='=')||(LA22_51>='?' && LA22_51<='Z')||(LA22_51>='^' && LA22_51<='z')||(LA22_51>='~' && LA22_51<='\uFFFF')) && ((( isValue() )||( isHead() )))) {s = 51;} - - else if ( (LA22_51=='*'||LA22_51==':'||LA22_51=='>'||LA22_51=='['||LA22_51==']'||(LA22_51>='{' && LA22_51<='}')) && ((( isHead() )||( isValue() )))) {s = 52;} - - else if ( ((LA22_51>='(' && LA22_51<=')')||LA22_51==',') && ((( isValue() )||( isHead() )))) {s = 53;} + if ( (( isHead() )) ) {s = 105;} - else if ( ((LA22_51>='\"' && LA22_51<='#')||LA22_51=='\\') && (( isHead() ))) {s = 24;} - - else if ( (LA22_51=='\n'||LA22_51=='\r') && (( isValue() ))) {s = 67;} - - else s = 76; + else if ( (((( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() )))) ) {s = 104;} - input.seek(index22_51); + input.seek(index22_61); if ( s>=0 ) return s; break; case 17 : - int LA22_89 = input.LA(1); + int LA22_91 = input.LA(1); - int index22_89 = input.index(); + int index22_91 = input.index(); input.rewind(); s = -1; - if ( ((LA22_89>='\u0000' && LA22_89<='\t')||(LA22_89>='\u000B' && LA22_89<='\f')||(LA22_89>='\u000E' && LA22_89<='\uFFFF')) && (( isHead() ))) {s = 24;} + if ( (LA22_91=='\"') ) {s = 52;} - else s = 101; + else if ( (LA22_91=='#') ) {s = 53;} + + else if ( (LA22_91=='\\') ) {s = 51;} + + else if ( ((LA22_91>='\u0000' && LA22_91<='\t')||(LA22_91>='\u000B' && LA22_91<='\f')||(LA22_91>='\u000E' && LA22_91<='!')||(LA22_91>='$' && LA22_91<='[')||(LA22_91>=']' && LA22_91<='\uFFFF')) ) {s = 50;} + + else if ( (LA22_91=='\n'||LA22_91=='\r') ) {s = 54;} + + else s = 22; - input.seek(index22_89); + input.seek(index22_91); if ( s>=0 ) return s; break; case 18 : - int LA22_69 = input.LA(1); + int LA22_117 = input.LA(1); - int index22_69 = input.index(); + int index22_117 = input.index(); input.rewind(); s = -1; - if ( ((LA22_69>='\u0000' && LA22_69<='\b')||(LA22_69>='\u000B' && LA22_69<='\f')||(LA22_69>='\u000E' && LA22_69<='\u001F')||(LA22_69>='!' && LA22_69<='\uFFFF')) && (( isHead() ))) {s = 24;} + if ( (LA22_117=='\"') ) {s = 97;} + + else if ( ((LA22_117>='\u0000' && LA22_117<='\t')||(LA22_117>='\u000B' && LA22_117<='\f')||(LA22_117>='\u000E' && LA22_117<='!')||(LA22_117>='#' && LA22_117<='[')||(LA22_117>=']' && LA22_117<='\uFFFF')) ) {s = 98;} - else if ( (LA22_69=='\t'||LA22_69==' ') && (( isHead() ))) {s = 69;} + else if ( (LA22_117=='\\') ) {s = 99;} - else s = 68; + else if ( (LA22_117=='\n'||LA22_117=='\r') ) {s = 54;} + + else s = 22; - input.seek(index22_69); + input.seek(index22_117); if ( s>=0 ) return s; break; case 19 : - int LA22_16 = input.LA(1); + int LA22_42 = input.LA(1); - int index22_16 = input.index(); + int index22_42 = input.index(); input.rewind(); s = -1; - if ( ((LA22_16>='\u0000' && LA22_16<='\t')||(LA22_16>='\u000B' && LA22_16<='\f')||(LA22_16>='\u000E' && LA22_16<='\uFFFF')) && (( isHead() ))) {s = 24;} + if ( (( isHead() )) ) {s = 22;} - else s = 48; + else if ( (true) ) {s = 78;} - input.seek(index22_16); + input.seek(index22_42); if ( s>=0 ) return s; break; case 20 : - int LA22_62 = input.LA(1); + int LA22_3 = input.LA(1); - int index22_62 = input.index(); + int index22_3 = input.index(); input.rewind(); s = -1; - if ( (( isHead() )) ) {s = 24;} + if ( (LA22_3=='-') && (((( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||( isHead() )||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))))) {s = 23;} - else if ( (true) ) {s = 67;} + else if ( ((LA22_3>='\u0000' && LA22_3<='!')||(LA22_3>='$' && LA22_3<='\'')||LA22_3=='+'||(LA22_3>='.' && LA22_3<='9')||(LA22_3>=';' && LA22_3<='=')||(LA22_3>='?' && LA22_3<='Z')||(LA22_3>='^' && LA22_3<='z')||(LA22_3>='~' && LA22_3<='\uFFFF')) && (((( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))))) {s = 25;} + + else if ( (LA22_3=='*'||LA22_3==':'||LA22_3=='>'||LA22_3=='['||LA22_3==']'||(LA22_3>='{' && LA22_3<='}')) && (((( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))))) {s = 26;} + + else if ( ((LA22_3>='(' && LA22_3<=')')||LA22_3==',') && ((( isOutValue() )&&( isValue() )))) {s = 27;} + + else s = 24; - input.seek(index22_62); + input.seek(index22_3); if ( s>=0 ) return s; break; case 21 : - int LA22_76 = input.LA(1); + int LA22_38 = input.LA(1); - int index22_76 = input.index(); + int index22_38 = input.index(); input.rewind(); s = -1; - if ( (( isHead() )) ) {s = 24;} + if ( ((LA22_38>='\u0000' && LA22_38<='\t')||(LA22_38>='\u000B' && LA22_38<='\f')||(LA22_38>='\u000E' && LA22_38<='!')||(LA22_38>='$' && LA22_38<='\'')||LA22_38=='+'||(LA22_38>='-' && LA22_38<='9')||(LA22_38>=';' && LA22_38<='=')||(LA22_38>='?' && LA22_38<='Z')||(LA22_38>='^' && LA22_38<='z')||(LA22_38>='~' && LA22_38<='\uFFFF')) && (((( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||( isHead() )||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))))) {s = 73;} + + else if ( (LA22_38=='*'||LA22_38==':'||LA22_38=='>'||LA22_38=='['||LA22_38==']'||(LA22_38>='{' && LA22_38<='}')) && (((( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||( isHead() )||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))))) {s = 74;} + + else if ( (LA22_38=='\n'||LA22_38=='\r') && (((( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))))) {s = 25;} - else if ( (( isValue() )) ) {s = 67;} + else if ( ((LA22_38>='(' && LA22_38<=')')||LA22_38==',') && (((( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||( isHead() )||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))))) {s = 75;} + + else if ( ((LA22_38>='\"' && LA22_38<='#')||LA22_38=='\\') && (( isHead() ))) {s = 22;} + + else s = 72; - input.seek(index22_76); + input.seek(index22_38); if ( s>=0 ) return s; break; case 22 : - int LA22_7 = input.LA(1); + int LA22_17 = input.LA(1); - int index22_7 = input.index(); + int index22_17 = input.index(); input.rewind(); s = -1; - if ( (LA22_7=='@') && (( isHead() ))) {s = 37;} - - else if ( (LA22_7==' ') && ((( !isHead() )||( isHead() )))) {s = 7;} - - else if ( (LA22_7=='-') && (( isHead() ))) {s = 38;} + if ( ((LA22_17>='\u0000' && LA22_17<='\t')||(LA22_17>='\u000B' && LA22_17<='\f')||(LA22_17>='\u000E' && LA22_17<='\uFFFF')) && (( isHead() ))) {s = 22;} - else if ( (LA22_7=='\t') && ((( !isHead() )||( isHead() )))) {s = 9;} - - else if ( ((LA22_7>='\u0000' && LA22_7<='\b')||(LA22_7>='\n' && LA22_7<='\u001F')||(LA22_7>='!' && LA22_7<='\"')||LA22_7=='$'||(LA22_7>='&' && LA22_7<=',')||(LA22_7>='.' && LA22_7<='?')||(LA22_7>='A' && LA22_7<='\uFFFF')) && (( isHead() ))) {s = 24;} - - else s = 39; + else s = 48; - input.seek(index22_7); + input.seek(index22_17); if ( s>=0 ) return s; break; case 23 : - int LA22_20 = input.LA(1); + int LA22_113 = input.LA(1); - int index22_20 = input.index(); + int index22_113 = input.index(); input.rewind(); s = -1; - if ( ((LA22_20>='\u0000' && LA22_20<='\b')||(LA22_20>='\u000B' && LA22_20<='\f')||(LA22_20>='\u000E' && LA22_20<='\u001F')||LA22_20=='!'||(LA22_20>='$' && LA22_20<='[')||(LA22_20>=']' && LA22_20<='\uFFFF')) && ((( isValue() )||( isHead() )))) {s = 44;} + if ( (LA22_113=='\"') ) {s = 97;} - else if ( (LA22_20=='#') && ((( isValue() )||( isHead() )))) {s = 46;} + else if ( ((LA22_113>='\u0000' && LA22_113<='\t')||(LA22_113>='\u000B' && LA22_113<='\f')||(LA22_113>='\u000E' && LA22_113<='!')||(LA22_113>='#' && LA22_113<='[')||(LA22_113>=']' && LA22_113<='\uFFFF')) ) {s = 98;} - else if ( (LA22_20=='\t'||LA22_20==' '||LA22_20=='\"'||LA22_20=='\\') && (( isHead() ))) {s = 24;} + else if ( (LA22_113=='\\') ) {s = 99;} - else if ( (LA22_20=='\n'||LA22_20=='\r') && (( isValue() ))) {s = 34;} + else if ( (LA22_113=='\n'||LA22_113=='\r') ) {s = 54;} - else s = 56; + else s = 22; - input.seek(index22_20); + input.seek(index22_113); if ( s>=0 ) return s; break; case 24 : - int LA22_101 = input.LA(1); + int LA22_28 = input.LA(1); - int index22_101 = input.index(); + int index22_28 = input.index(); input.rewind(); s = -1; - if ( (( isHead() )) ) {s = 24;} + if ( (LA22_28=='\t'||LA22_28==' ') && (( isHead() ))) {s = 63;} - else if ( (true) ) {s = 60;} + else if ( ((LA22_28>='\u0000' && LA22_28<='\b')||(LA22_28>='\u000B' && LA22_28<='\f')||(LA22_28>='\u000E' && LA22_28<='\u001F')||(LA22_28>='!' && LA22_28<='\uFFFF')) && (( isHead() ))) {s = 22;} + + else s = 64; - input.seek(index22_101); + input.seek(index22_28); if ( s>=0 ) return s; break; case 25 : - int LA22_9 = input.LA(1); + int LA22_47 = input.LA(1); - int index22_9 = input.index(); + int index22_47 = input.index(); input.rewind(); s = -1; - if ( (LA22_9=='\t'||LA22_9==' ') && ((( !isHead() )||( isHead() )))) {s = 9;} + if ( (( isHead() )) ) {s = 22;} - else if ( ((LA22_9>='\u0000' && LA22_9<='\b')||(LA22_9>='\n' && LA22_9<='\u001F')||(LA22_9>='!' && LA22_9<='\"')||LA22_9=='$'||(LA22_9>='&' && LA22_9<=',')||(LA22_9>='.' && LA22_9<='?')||(LA22_9>='A' && LA22_9<='\uFFFF')) && (( isHead() ))) {s = 24;} + else if ( (!(((( isValue() )||( isHead() ))))) ) {s = 83;} - else s = 39; + else if ( (( isValue() )) ) {s = 84;} - input.seek(index22_9); + input.seek(index22_47); if ( s>=0 ) return s; break; case 26 : - int LA22_19 = input.LA(1); + int LA22_99 = input.LA(1); - int index22_19 = input.index(); + int index22_99 = input.index(); input.rewind(); s = -1; - if ( ((LA22_19>='\u0000' && LA22_19<='\t')||(LA22_19>='\u000B' && LA22_19<='\f')||(LA22_19>='\u000E' && LA22_19<='\uFFFF')) && (( isHead() ))) {s = 24;} + if ( (LA22_99=='\"') ) {s = 111;} - else s = 55; + else if ( (LA22_99=='\\') ) {s = 112;} - - input.seek(index22_19); - if ( s>=0 ) return s; - break; - case 27 : - int LA22_31 = input.LA(1); + else if ( (LA22_99=='/') ) {s = 113;} - - int index22_31 = input.index(); - input.rewind(); - s = -1; - if ( (LA22_31=='\t'||LA22_31==' ') ) {s = 26;} + else if ( (LA22_99=='b') ) {s = 114;} - else if ( ((LA22_31>='\u0000' && LA22_31<='\b')||(LA22_31>='\u000B' && LA22_31<='\f')||(LA22_31>='\u000E' && LA22_31<='\u001F')||LA22_31=='!'||(LA22_31>='$' && LA22_31<='\'')||LA22_31=='+'||(LA22_31>='-' && LA22_31<='9')||(LA22_31>=';' && LA22_31<='=')||(LA22_31>='?' && LA22_31<='Z')||(LA22_31>='^' && LA22_31<='z')||(LA22_31>='~' && LA22_31<='\uFFFF')) ) {s = 28;} + else if ( (LA22_99=='f') ) {s = 115;} - else if ( (LA22_31=='*'||LA22_31==':'||LA22_31=='>'||LA22_31=='['||LA22_31==']'||(LA22_31>='{' && LA22_31<='}')) ) {s = 29;} + else if ( (LA22_99=='n') ) {s = 116;} - else if ( ((LA22_31>='(' && LA22_31<=')')||LA22_31==',') ) {s = 31;} + else if ( (LA22_99=='r') ) {s = 117;} - else if ( ((LA22_31>='\"' && LA22_31<='#')||LA22_31=='\\') && (( isHead() ))) {s = 24;} + else if ( (LA22_99=='t') ) {s = 118;} - else if ( (LA22_31=='\n'||LA22_31=='\r') ) {s = 30;} + else if ( (LA22_99=='u') ) {s = 119;} - else s = 62; + else s = 22; - input.seek(index22_31); + input.seek(index22_99); if ( s>=0 ) return s; break; - case 28 : - int LA22_53 = input.LA(1); + case 27 : + int LA22_109 = input.LA(1); - int index22_53 = input.index(); + int index22_109 = input.index(); input.rewind(); s = -1; - if ( (LA22_53=='\t'||LA22_53==' ') && ((( isHead() )||( isValue() )))) {s = 49;} - - else if ( ((LA22_53>='\u0000' && LA22_53<='\b')||(LA22_53>='\u000B' && LA22_53<='\f')||(LA22_53>='\u000E' && LA22_53<='\u001F')||LA22_53=='!'||(LA22_53>='$' && LA22_53<='\'')||LA22_53=='+'||(LA22_53>='-' && LA22_53<='9')||(LA22_53>=';' && LA22_53<='=')||(LA22_53>='?' && LA22_53<='Z')||(LA22_53>='^' && LA22_53<='z')||(LA22_53>='~' && LA22_53<='\uFFFF')) && ((( isValue() )||( isHead() )))) {s = 51;} - - else if ( (LA22_53=='*'||LA22_53==':'||LA22_53=='>'||LA22_53=='['||LA22_53==']'||(LA22_53>='{' && LA22_53<='}')) && ((( isHead() )||( isValue() )))) {s = 52;} + if ( (( isHead() )) ) {s = 22;} - else if ( ((LA22_53>='(' && LA22_53<=')')||LA22_53==',') && ((( isValue() )||( isHead() )))) {s = 53;} + else if ( (((( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() )))) ) {s = 104;} - else if ( ((LA22_53>='\"' && LA22_53<='#')||LA22_53=='\\') && (( isHead() ))) {s = 24;} + + input.seek(index22_109); + if ( s>=0 ) return s; + break; + case 28 : + int LA22_103 = input.LA(1); - else if ( (LA22_53=='\n'||LA22_53=='\r') && (( isValue() ))) {s = 67;} + + int index22_103 = input.index(); + input.rewind(); + s = -1; + if ( (( isHead() )) ) {s = 22;} - else s = 76; + else if ( ((( isInValue() )||( isOutValue() ))) ) {s = 104;} - input.seek(index22_53); + input.seek(index22_103); if ( s>=0 ) return s; break; case 29 : - int LA22_13 = input.LA(1); + int LA22_82 = input.LA(1); - int index22_13 = input.index(); + int index22_82 = input.index(); input.rewind(); s = -1; - if ( ((LA22_13>='\u0000' && LA22_13<='\t')||(LA22_13>='\u000B' && LA22_13<='\f')||(LA22_13>='\u000E' && LA22_13<='\uFFFF')) && (( isHead() ))) {s = 24;} + if ( (( isHead() )) ) {s = 22;} - else s = 43; + else if ( (((( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() )))) ) {s = 104;} - input.seek(index22_13); + input.seek(index22_82); if ( s>=0 ) return s; break; case 30 : - int LA22_98 = input.LA(1); + int LA22_0 = input.LA(1); - int index22_98 = input.index(); + int index22_0 = input.index(); input.rewind(); s = -1; - if ( (LA22_98=='\"') ) {s = 61;} + if ( (LA22_0=='#') ) {s = 1;} - else if ( (LA22_98=='#') ) {s = 58;} + else if ( (LA22_0=='%') && (( isHead() ))) {s = 2;} - else if ( (LA22_98=='\\') ) {s = 59;} + else if ( (LA22_0=='-') && (((( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||( isHead() )||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))))) {s = 3;} - else if ( ((LA22_98>='\u0000' && LA22_98<='\t')||(LA22_98>='\u000B' && LA22_98<='\f')||(LA22_98>='\u000E' && LA22_98<='!')||(LA22_98>='$' && LA22_98<='[')||(LA22_98>=']' && LA22_98<='\uFFFF')) ) {s = 57;} + else if ( (LA22_0=='>') ) {s = 4;} - else if ( (LA22_98=='\n'||LA22_98=='\r') ) {s = 60;} + else if ( (LA22_0==' ') && ((( !isHead() )||( isHead() )))) {s = 5;} - else s = 24; + else if ( (LA22_0=='@') ) {s = 6;} + + else if ( (LA22_0=='\t') && ((( !isHead() )||( isHead() )))) {s = 7;} + + else if ( (LA22_0=='(') ) {s = 9;} + + else if ( (LA22_0==')') ) {s = 10;} + + else if ( (LA22_0==',') ) {s = 11;} + + else if ( (LA22_0==':') ) {s = 12;} + + else if ( (LA22_0=='|') ) {s = 13;} + + else if ( (LA22_0=='*') ) {s = 14;} + + else if ( (LA22_0=='+') ) {s = 15;} + + else if ( (LA22_0=='[') ) {s = 16;} + + else if ( (LA22_0==']') ) {s = 17;} + + else if ( (LA22_0=='?') ) {s = 18;} + + else if ( (LA22_0=='\"') ) {s = 19;} + + else if ( ((LA22_0>='\u0000' && LA22_0<='\b')||(LA22_0>='\n' && LA22_0<='\u001F')||LA22_0=='!'||LA22_0=='$'||LA22_0=='&'||(LA22_0>='.' && LA22_0<='9')||(LA22_0>=';' && LA22_0<='=')||(LA22_0>='A' && LA22_0<='Z')||(LA22_0>='^' && LA22_0<='z')||(LA22_0>='~' && LA22_0<='\uFFFF')) && ((( isInValue() )||( isOutValue() )||( isHead() )||( isKey() )))) {s = 20;} + + else if ( (LA22_0=='{') && ((( isHead() )||( isValue() )))) {s = 21;} + + else if ( (LA22_0=='\''||LA22_0=='\\'||LA22_0=='}') && (( isHead() ))) {s = 22;} + + else s = 8; - input.seek(index22_98); + input.seek(index22_0); if ( s>=0 ) return s; break; case 31 : - int LA22_81 = input.LA(1); + int LA22_62 = input.LA(1); - int index22_81 = input.index(); + int index22_62 = input.index(); input.rewind(); s = -1; - if ( (LA22_81=='\t'||LA22_81==' ') && ((( isHead() )||( isValue() )))) {s = 78;} - - else if ( ((LA22_81>='\u0000' && LA22_81<='\b')||(LA22_81>='\u000B' && LA22_81<='\f')||(LA22_81>='\u000E' && LA22_81<='\u001F')||LA22_81=='!'||(LA22_81>='$' && LA22_81<='\'')||LA22_81=='+'||(LA22_81>='-' && LA22_81<='9')||(LA22_81>=';' && LA22_81<='=')||(LA22_81>='?' && LA22_81<='Z')||(LA22_81>='^' && LA22_81<='z')||(LA22_81>='~' && LA22_81<='\uFFFF')) && ((( isValue() )||( isHead() )))) {s = 79;} - - else if ( (LA22_81=='*'||LA22_81==':'||LA22_81=='>'||LA22_81=='['||LA22_81==']'||(LA22_81>='{' && LA22_81<='}')) && ((( isHead() )||( isValue() )))) {s = 80;} + if ( (LA22_62=='\t'||LA22_62==' ') && (((( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||( isHead() )||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))))) {s = 62;} - else if ( ((LA22_81>='(' && LA22_81<=')')||LA22_81==',') && ((( isValue() )||( isHead() )))) {s = 81;} + else if ( ((LA22_62>='\u0000' && LA22_62<='\b')||(LA22_62>='\n' && LA22_62<='\u001F')||LA22_62=='!'||(LA22_62>='$' && LA22_62<='\'')||LA22_62=='+'||(LA22_62>='-' && LA22_62<='9')||(LA22_62>=';' && LA22_62<='=')||(LA22_62>='?' && LA22_62<='Z')||(LA22_62>='^' && LA22_62<='z')||(LA22_62>='~' && LA22_62<='\uFFFF')) && (((( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))))) {s = 25;} - else if ( (LA22_81=='\n'||LA22_81=='\r') && (( isValue() ))) {s = 67;} + else if ( ((LA22_62>='(' && LA22_62<=')')||LA22_62==',') && ((( isOutValue() )&&( isValue() )))) {s = 27;} - else if ( ((LA22_81>='\"' && LA22_81<='#')||LA22_81=='\\') && (( isHead() ))) {s = 24;} + else if ( (LA22_62=='*'||LA22_62==':'||LA22_62=='>'||LA22_62=='['||LA22_62==']'||(LA22_62>='{' && LA22_62<='}')) && (((( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))))) {s = 26;} - else s = 76; + else s = 106; - input.seek(index22_81); + input.seek(index22_62); if ( s>=0 ) return s; break; case 32 : - int LA22_5 = input.LA(1); + int LA22_112 = input.LA(1); - int index22_5 = input.index(); + int index22_112 = input.index(); input.rewind(); s = -1; - if ( (LA22_5=='-') && ((( isHead() )||( isValue() )))) {s = 32;} + if ( (LA22_112=='\"') ) {s = 97;} + + else if ( ((LA22_112>='\u0000' && LA22_112<='\t')||(LA22_112>='\u000B' && LA22_112<='\f')||(LA22_112>='\u000E' && LA22_112<='!')||(LA22_112>='#' && LA22_112<='[')||(LA22_112>=']' && LA22_112<='\uFFFF')) ) {s = 98;} + + else if ( (LA22_112=='\\') ) {s = 99;} - else if ( ((LA22_5>='\u0000' && LA22_5<='!')||(LA22_5>='$' && LA22_5<=',')||(LA22_5>='.' && LA22_5<='[')||(LA22_5>=']' && LA22_5<='\uFFFF')) && (( isValue() ))) {s = 34;} + else if ( (LA22_112=='\n'||LA22_112=='\r') ) {s = 54;} - else s = 33; + else s = 22; - input.seek(index22_5); + input.seek(index22_112); if ( s>=0 ) return s; break; case 33 : - int LA22_3 = input.LA(1); + int LA22_46 = input.LA(1); - int index22_3 = input.index(); + int index22_46 = input.index(); input.rewind(); s = -1; - if ( (LA22_3=='\n') ) {s = 25;} - - else if ( (LA22_3=='\t'||LA22_3==' ') ) {s = 26;} - - else if ( ((LA22_3>='\"' && LA22_3<='#')||LA22_3=='\\') && (( isHead() ))) {s = 24;} + if ( ((LA22_46>='\u0000' && LA22_46<='\t')||(LA22_46>='\u000B' && LA22_46<='\f')||(LA22_46>='\u000E' && LA22_46<='!')||(LA22_46>='$' && LA22_46<='\'')||(LA22_46>='*' && LA22_46<='+')||(LA22_46>='-' && LA22_46<='[')||(LA22_46>=']' && LA22_46<='\uFFFF')) && (((( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||( isHead() )||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))))) {s = 46;} - else if ( ((LA22_3>='\u0000' && LA22_3<='\b')||(LA22_3>='\u000B' && LA22_3<='\f')||(LA22_3>='\u000E' && LA22_3<='\u001F')||LA22_3=='!'||(LA22_3>='$' && LA22_3<='\'')||LA22_3=='+'||(LA22_3>='-' && LA22_3<='9')||(LA22_3>=';' && LA22_3<='=')||(LA22_3>='?' && LA22_3<='Z')||(LA22_3>='^' && LA22_3<='z')||(LA22_3>='~' && LA22_3<='\uFFFF')) ) {s = 28;} + else if ( ((LA22_46>='(' && LA22_46<=')')||LA22_46==',') && (((( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||( isHead() )||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))))) {s = 45;} - else if ( (LA22_3=='*'||LA22_3==':'||LA22_3=='>'||LA22_3=='['||LA22_3==']'||(LA22_3>='{' && LA22_3<='}')) ) {s = 29;} + else if ( ((LA22_46>='\"' && LA22_46<='#')||LA22_46=='\\') && (( isHead() ))) {s = 22;} - else if ( (LA22_3=='\r') ) {s = 30;} + else if ( (LA22_46=='\n'||LA22_46=='\r') && (((( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))))) {s = 26;} - else if ( ((LA22_3>='(' && LA22_3<=')')||LA22_3==',') ) {s = 31;} - - else s = 27; + else s = 82; - input.seek(index22_3); + input.seek(index22_46); if ( s>=0 ) return s; break; case 34 : - int LA22_36 = input.LA(1); + int LA22_59 = input.LA(1); - int index22_36 = input.index(); + int index22_59 = input.index(); input.rewind(); s = -1; - if ( (( isHead() )) ) {s = 24;} + if ( ((LA22_59>='\u0000' && LA22_59<='\t')||(LA22_59>='\u000B' && LA22_59<='\f')||(LA22_59>='\u000E' && LA22_59<='!')||(LA22_59>='$' && LA22_59<='\'')||(LA22_59>='*' && LA22_59<='+')||(LA22_59>='-' && LA22_59<='[')||(LA22_59>=']' && LA22_59<='\uFFFF')) && ((( isInValue() )||( isOutValue() )||( isHead() )))) {s = 59;} - else if ( (true) ) {s = 70;} + else if ( ((LA22_59>='(' && LA22_59<=')')||LA22_59==',') && ((( isOutValue() )||( isHead() )))) {s = 58;} + + else if ( ((LA22_59>='\"' && LA22_59<='#')||LA22_59=='\\') && (( isHead() ))) {s = 22;} + + else if ( (LA22_59=='\n'||LA22_59=='\r') && ((( isInValue() )||( isOutValue() )))) {s = 104;} + + else s = 103; - input.seek(index22_36); + input.seek(index22_59); if ( s>=0 ) return s; break; case 35 : - int LA22_95 = input.LA(1); + int LA22_116 = input.LA(1); - int index22_95 = input.index(); + int index22_116 = input.index(); input.rewind(); s = -1; - if ( (LA22_95=='#') ) {s = 58;} - - else if ( (LA22_95=='\"') ) {s = 61;} + if ( (LA22_116=='\"') ) {s = 97;} - else if ( ((LA22_95>='\u0000' && LA22_95<='\t')||(LA22_95>='\u000B' && LA22_95<='\f')||(LA22_95>='\u000E' && LA22_95<='!')||(LA22_95>='$' && LA22_95<='[')||(LA22_95>=']' && LA22_95<='\uFFFF')) ) {s = 57;} + else if ( ((LA22_116>='\u0000' && LA22_116<='\t')||(LA22_116>='\u000B' && LA22_116<='\f')||(LA22_116>='\u000E' && LA22_116<='!')||(LA22_116>='#' && LA22_116<='[')||(LA22_116>=']' && LA22_116<='\uFFFF')) ) {s = 98;} - else if ( (LA22_95=='\\') ) {s = 59;} + else if ( (LA22_116=='\\') ) {s = 99;} - else if ( (LA22_95=='\n'||LA22_95=='\r') ) {s = 60;} + else if ( (LA22_116=='\n'||LA22_116=='\r') ) {s = 54;} - else s = 24; + else s = 22; - input.seek(index22_95); + input.seek(index22_116); if ( s>=0 ) return s; break; case 36 : - int LA22_18 = input.LA(1); + int LA22_93 = input.LA(1); - int index22_18 = input.index(); + int index22_93 = input.index(); input.rewind(); s = -1; - if ( ((LA22_18>='\u0000' && LA22_18<='\t')||(LA22_18>='\u000B' && LA22_18<='\f')||(LA22_18>='\u000E' && LA22_18<='\uFFFF')) && (( isHead() ))) {s = 24;} + if ( (LA22_93=='\"') ) {s = 52;} + + else if ( (LA22_93=='#') ) {s = 53;} + + else if ( (LA22_93=='\\') ) {s = 51;} + + else if ( ((LA22_93>='\u0000' && LA22_93<='\t')||(LA22_93>='\u000B' && LA22_93<='\f')||(LA22_93>='\u000E' && LA22_93<='!')||(LA22_93>='$' && LA22_93<='[')||(LA22_93>=']' && LA22_93<='\uFFFF')) ) {s = 50;} - else s = 54; + else if ( (LA22_93=='\n'||LA22_93=='\r') ) {s = 54;} + + else s = 22; - input.seek(index22_18); + input.seek(index22_93); if ( s>=0 ) return s; break; case 37 : - int LA22_17 = input.LA(1); + int LA22_23 = input.LA(1); - int index22_17 = input.index(); + int index22_23 = input.index(); input.rewind(); s = -1; - if ( (LA22_17=='\t'||LA22_17==' ') && ((( isHead() )||( isValue() )))) {s = 49;} - - else if ( ((LA22_17>='\"' && LA22_17<='#')||LA22_17=='\\') && (( isHead() ))) {s = 24;} + if ( (LA22_23=='\t'||LA22_23==' ') && (((( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||( isHead() )||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))))) {s = 62;} - else if ( ((LA22_17>='\u0000' && LA22_17<='\b')||(LA22_17>='\u000B' && LA22_17<='\f')||(LA22_17>='\u000E' && LA22_17<='\u001F')||LA22_17=='!'||(LA22_17>='$' && LA22_17<='\'')||LA22_17=='+'||(LA22_17>='-' && LA22_17<='9')||(LA22_17>=';' && LA22_17<='=')||(LA22_17>='?' && LA22_17<='Z')||(LA22_17>='^' && LA22_17<='z')||(LA22_17>='~' && LA22_17<='\uFFFF')) && ((( isValue() )||( isHead() )))) {s = 51;} + else if ( ((LA22_23>='\u0000' && LA22_23<='\b')||(LA22_23>='\n' && LA22_23<='\u001F')||LA22_23=='!'||(LA22_23>='$' && LA22_23<='\'')||LA22_23=='+'||(LA22_23>='-' && LA22_23<='9')||(LA22_23>=';' && LA22_23<='=')||(LA22_23>='?' && LA22_23<='Z')||(LA22_23>='^' && LA22_23<='z')||(LA22_23>='~' && LA22_23<='\uFFFF')) && (((( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))))) {s = 25;} - else if ( (LA22_17=='*'||LA22_17==':'||LA22_17=='>'||LA22_17=='['||LA22_17==']'||(LA22_17>='{' && LA22_17<='}')) && ((( isHead() )||( isValue() )))) {s = 52;} + else if ( ((LA22_23>='(' && LA22_23<=')')||LA22_23==',') && ((( isOutValue() )&&( isValue() )))) {s = 27;} - else if ( (LA22_17=='\n'||LA22_17=='\r') && (( isValue() ))) {s = 34;} + else if ( (LA22_23=='*'||LA22_23==':'||LA22_23=='>'||LA22_23=='['||LA22_23==']'||(LA22_23>='{' && LA22_23<='}')) && (((( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))))) {s = 26;} - else if ( ((LA22_17>='(' && LA22_17<=')')||LA22_17==',') && ((( isValue() )||( isHead() )))) {s = 53;} - - else s = 50; + else s = 61; - input.seek(index22_17); + input.seek(index22_23); if ( s>=0 ) return s; break; case 38 : - int LA22_114 = input.LA(1); + int LA22_122 = input.LA(1); - int index22_114 = input.index(); + int index22_122 = input.index(); input.rewind(); s = -1; - if ( ((LA22_114>='0' && LA22_114<='9')||(LA22_114>='A' && LA22_114<='F')||(LA22_114>='a' && LA22_114<='f')) ) {s = 116;} + if ( ((LA22_122>='0' && LA22_122<='9')||(LA22_122>='A' && LA22_122<='F')||(LA22_122>='a' && LA22_122<='f')) ) {s = 124;} - else s = 24; + else s = 22; - input.seek(index22_114); + input.seek(index22_122); if ( s>=0 ) return s; break; case 39 : - int LA22_21 = input.LA(1); + int LA22_118 = input.LA(1); - int index22_21 = input.index(); + int index22_118 = input.index(); input.rewind(); s = -1; - if ( ((LA22_21>='\u0000' && LA22_21<='\t')||(LA22_21>='\u000B' && LA22_21<='\f')||(LA22_21>='\u000E' && LA22_21<='!')||(LA22_21>='$' && LA22_21<='[')||(LA22_21>=']' && LA22_21<='\uFFFF')) ) {s = 57;} - - else if ( (LA22_21=='#') ) {s = 58;} + if ( (LA22_118=='\"') ) {s = 97;} - else if ( (LA22_21=='\\') ) {s = 59;} + else if ( ((LA22_118>='\u0000' && LA22_118<='\t')||(LA22_118>='\u000B' && LA22_118<='\f')||(LA22_118>='\u000E' && LA22_118<='!')||(LA22_118>='#' && LA22_118<='[')||(LA22_118>=']' && LA22_118<='\uFFFF')) ) {s = 98;} - else if ( (LA22_21=='\n'||LA22_21=='\r') ) {s = 60;} + else if ( (LA22_118=='\\') ) {s = 99;} - else if ( (LA22_21=='\"') ) {s = 61;} + else if ( (LA22_118=='\n'||LA22_118=='\r') ) {s = 54;} - else s = 24; + else s = 22; - input.seek(index22_21); + input.seek(index22_118); if ( s>=0 ) return s; break; case 40 : - int LA22_25 = input.LA(1); + int LA22_87 = input.LA(1); + + int index22_87 = input.index(); + input.rewind(); s = -1; - if ( (LA22_25=='\t'||LA22_25==' '||(LA22_25>='(' && LA22_25<='*')||LA22_25==','||LA22_25==':'||LA22_25=='>'||LA22_25=='['||LA22_25==']'||(LA22_25>='{' && LA22_25<='}')) ) {s = 64;} + if ( (LA22_87=='\"') ) {s = 52;} + + else if ( (LA22_87=='#') ) {s = 53;} + + else if ( (LA22_87=='\\') ) {s = 51;} + + else if ( ((LA22_87>='\u0000' && LA22_87<='\t')||(LA22_87>='\u000B' && LA22_87<='\f')||(LA22_87>='\u000E' && LA22_87<='!')||(LA22_87>='$' && LA22_87<='[')||(LA22_87>=']' && LA22_87<='\uFFFF')) ) {s = 50;} - else if ( ((LA22_25>='\u0000' && LA22_25<='\b')||(LA22_25>='\n' && LA22_25<='\u001F')||LA22_25=='!'||(LA22_25>='$' && LA22_25<='\'')||LA22_25=='+'||(LA22_25>='-' && LA22_25<='9')||(LA22_25>=';' && LA22_25<='=')||(LA22_25>='?' && LA22_25<='Z')||(LA22_25>='^' && LA22_25<='z')||(LA22_25>='~' && LA22_25<='\uFFFF')) ) {s = 30;} + else if ( (LA22_87=='\n'||LA22_87=='\r') ) {s = 54;} - else s = 27; + else s = 22; + + input.seek(index22_87); if ( s>=0 ) return s; break; case 41 : - int LA22_109 = input.LA(1); + int LA22_15 = input.LA(1); - int index22_109 = input.index(); + int index22_15 = input.index(); input.rewind(); s = -1; - if ( (LA22_109=='\"') ) {s = 89;} + if ( ((LA22_15>='\u0000' && LA22_15<='\t')||(LA22_15>='\u000B' && LA22_15<='\f')||(LA22_15>='\u000E' && LA22_15<='!')||(LA22_15>='$' && LA22_15<='\'')||LA22_15=='+'||(LA22_15>='-' && LA22_15<='9')||(LA22_15>=';' && LA22_15<='=')||(LA22_15>='?' && LA22_15<='Z')||(LA22_15>='^' && LA22_15<='z')||(LA22_15>='~' && LA22_15<='\uFFFF')) && (((( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||( isHead() )||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))))) {s = 44;} - else if ( ((LA22_109>='\u0000' && LA22_109<='\t')||(LA22_109>='\u000B' && LA22_109<='\f')||(LA22_109>='\u000E' && LA22_109<='!')||(LA22_109>='#' && LA22_109<='[')||(LA22_109>=']' && LA22_109<='\uFFFF')) ) {s = 90;} + else if ( ((LA22_15>='(' && LA22_15<=')')||LA22_15==',') && (((( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||( isHead() )||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))))) {s = 45;} - else if ( (LA22_109=='\\') ) {s = 91;} + else if ( (LA22_15=='\n'||LA22_15=='\r') && (((( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))))) {s = 25;} - else if ( (LA22_109=='\n'||LA22_109=='\r') ) {s = 60;} + else if ( ((LA22_15>='\"' && LA22_15<='#')||LA22_15=='\\') && (( isHead() ))) {s = 22;} - else s = 24; + else if ( (LA22_15=='*'||LA22_15==':'||LA22_15=='>'||LA22_15=='['||LA22_15==']'||(LA22_15>='{' && LA22_15<='}')) && (((( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||( isHead() )||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))))) {s = 46;} + + else s = 43; - input.seek(index22_109); + input.seek(index22_15); if ( s>=0 ) return s; break; case 42 : - int LA22_35 = input.LA(1); + int LA22_13 = input.LA(1); - int index22_35 = input.index(); + int index22_13 = input.index(); input.rewind(); s = -1; - if ( ((LA22_35>='\u0000' && LA22_35<='\b')||(LA22_35>='\u000B' && LA22_35<='\f')||(LA22_35>='\u000E' && LA22_35<='\u001F')||(LA22_35>='!' && LA22_35<='\uFFFF')) && (( isHead() ))) {s = 24;} + if ( ((LA22_13>='\u0000' && LA22_13<='\t')||(LA22_13>='\u000B' && LA22_13<='\f')||(LA22_13>='\u000E' && LA22_13<='\uFFFF')) && (( isHead() ))) {s = 22;} - else if ( (LA22_35=='\t'||LA22_35==' ') && (( isHead() ))) {s = 69;} - - else s = 68; + else s = 41; - input.seek(index22_35); + input.seek(index22_13); if ( s>=0 ) return s; break; case 43 : - int LA22_119 = input.LA(1); + int LA22_114 = input.LA(1); - int index22_119 = input.index(); + int index22_114 = input.index(); input.rewind(); s = -1; - if ( (LA22_119=='#') ) {s = 58;} + if ( (LA22_114=='\"') ) {s = 97;} - else if ( (LA22_119=='\"') ) {s = 61;} + else if ( ((LA22_114>='\u0000' && LA22_114<='\t')||(LA22_114>='\u000B' && LA22_114<='\f')||(LA22_114>='\u000E' && LA22_114<='!')||(LA22_114>='#' && LA22_114<='[')||(LA22_114>=']' && LA22_114<='\uFFFF')) ) {s = 98;} - else if ( ((LA22_119>='\u0000' && LA22_119<='\t')||(LA22_119>='\u000B' && LA22_119<='\f')||(LA22_119>='\u000E' && LA22_119<='!')||(LA22_119>='$' && LA22_119<='[')||(LA22_119>=']' && LA22_119<='\uFFFF')) ) {s = 57;} + else if ( (LA22_114=='\\') ) {s = 99;} - else if ( (LA22_119=='\\') ) {s = 59;} + else if ( (LA22_114=='\n'||LA22_114=='\r') ) {s = 54;} - else if ( (LA22_119=='\n'||LA22_119=='\r') ) {s = 60;} - - else s = 24; + else s = 22; - input.seek(index22_119); + input.seek(index22_114); if ( s>=0 ) return s; break; case 44 : - int LA22_32 = input.LA(1); + int LA22_75 = input.LA(1); - int index22_32 = input.index(); + int index22_75 = input.index(); input.rewind(); s = -1; - if ( (LA22_32=='\t'||LA22_32==' ') && ((( isValue() )||( isHead() )))) {s = 66;} + if ( ((LA22_75>='\u0000' && LA22_75<='\t')||(LA22_75>='\u000B' && LA22_75<='\f')||(LA22_75>='\u000E' && LA22_75<='!')||(LA22_75>='$' && LA22_75<='[')||(LA22_75>=']' && LA22_75<='\uFFFF')) && (((( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||( isHead() )||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))))) {s = 75;} - else if ( ((LA22_32>='\u0000' && LA22_32<='\b')||(LA22_32>='\n' && LA22_32<='\u001F')||LA22_32=='!'||(LA22_32>='$' && LA22_32<='[')||(LA22_32>=']' && LA22_32<='\uFFFF')) && (( isValue() ))) {s = 67;} + else if ( (LA22_75=='\n'||LA22_75=='\r') && ((( isOutValue() )&&( isValue() )))) {s = 27;} - else s = 65; + else if ( ((LA22_75>='\"' && LA22_75<='#')||LA22_75=='\\') && (( isHead() ))) {s = 22;} + + else s = 81; - input.seek(index22_32); + input.seek(index22_75); if ( s>=0 ) return s; break; case 45 : - int LA22_68 = input.LA(1); + int LA22_115 = input.LA(1); - int index22_68 = input.index(); + int index22_115 = input.index(); input.rewind(); s = -1; - if ( (( isHead() )) ) {s = 103;} + if ( (LA22_115=='\"') ) {s = 97;} + + else if ( ((LA22_115>='\u0000' && LA22_115<='\t')||(LA22_115>='\u000B' && LA22_115<='\f')||(LA22_115>='\u000E' && LA22_115<='!')||(LA22_115>='#' && LA22_115<='[')||(LA22_115>=']' && LA22_115<='\uFFFF')) ) {s = 98;} + + else if ( (LA22_115=='\\') ) {s = 99;} + + else if ( (LA22_115=='\n'||LA22_115=='\r') ) {s = 54;} - else if ( (( isHead() )) ) {s = 24;} + else s = 22; - input.seek(index22_68); + input.seek(index22_115); if ( s>=0 ) return s; break; case 46 : - int LA22_115 = input.LA(1); + int LA22_11 = input.LA(1); - int index22_115 = input.index(); + int index22_11 = input.index(); input.rewind(); s = -1; - if ( ((LA22_115>='0' && LA22_115<='9')||(LA22_115>='A' && LA22_115<='F')||(LA22_115>='a' && LA22_115<='f')) ) {s = 117;} + if ( ((LA22_11>='\u0000' && LA22_11<='\t')||(LA22_11>='\u000B' && LA22_11<='\f')||(LA22_11>='\u000E' && LA22_11<='\uFFFF')) && (( isHead() ))) {s = 22;} - else s = 24; + else s = 36; - input.seek(index22_115); + input.seek(index22_11); if ( s>=0 ) return s; break; case 47 : - int LA22_47 = input.LA(1); + int LA22_89 = input.LA(1); - int index22_47 = input.index(); + int index22_89 = input.index(); input.rewind(); s = -1; - if ( (( isHead() )) ) {s = 24;} + if ( (LA22_89=='\"') ) {s = 52;} + + else if ( (LA22_89=='#') ) {s = 53;} + + else if ( (LA22_89=='\\') ) {s = 51;} + + else if ( ((LA22_89>='\u0000' && LA22_89<='\t')||(LA22_89>='\u000B' && LA22_89<='\f')||(LA22_89>='\u000E' && LA22_89<='!')||(LA22_89>='$' && LA22_89<='[')||(LA22_89>=']' && LA22_89<='\uFFFF')) ) {s = 50;} - else if ( (true) ) {s = 82;} + else if ( (LA22_89=='\n'||LA22_89=='\r') ) {s = 54;} + + else s = 22; - input.seek(index22_47); + input.seek(index22_89); if ( s>=0 ) return s; break; case 48 : - int LA22_40 = input.LA(1); + int LA22_123 = input.LA(1); - int index22_40 = input.index(); + int index22_123 = input.index(); input.rewind(); s = -1; - if ( (( isHead() )) ) {s = 37;} + if ( ((LA22_123>='0' && LA22_123<='9')||(LA22_123>='A' && LA22_123<='F')||(LA22_123>='a' && LA22_123<='f')) ) {s = 125;} - else if ( (true) ) {s = 72;} + else s = 22; - input.seek(index22_40); + input.seek(index22_123); if ( s>=0 ) return s; break; case 49 : - int LA22_91 = input.LA(1); + int LA22_9 = input.LA(1); - int index22_91 = input.index(); + int index22_9 = input.index(); input.rewind(); s = -1; - if ( (LA22_91=='\"') ) {s = 104;} - - else if ( (LA22_91=='\\') ) {s = 105;} + if ( ((LA22_9>='\u0000' && LA22_9<='\t')||(LA22_9>='\u000B' && LA22_9<='\f')||(LA22_9>='\u000E' && LA22_9<='\uFFFF')) && (( isHead() ))) {s = 22;} - else if ( (LA22_91=='/') ) {s = 106;} - - else if ( (LA22_91=='b') ) {s = 107;} - - else if ( (LA22_91=='f') ) {s = 108;} - - else if ( (LA22_91=='n') ) {s = 109;} - - else if ( (LA22_91=='r') ) {s = 110;} - - else if ( (LA22_91=='t') ) {s = 111;} - - else if ( (LA22_91=='u') ) {s = 112;} - - else s = 24; + else s = 34; - input.seek(index22_91); + input.seek(index22_9); if ( s>=0 ) return s; break; case 50 : - int LA22_118 = input.LA(1); + int LA22_4 = input.LA(1); - int index22_118 = input.index(); + int index22_4 = input.index(); input.rewind(); s = -1; - if ( ((LA22_118>='0' && LA22_118<='9')||(LA22_118>='A' && LA22_118<='F')||(LA22_118>='a' && LA22_118<='f')) ) {s = 120;} + if ( (LA22_4=='>') && (( isHead() ))) {s = 28;} - else s = 24; + else if ( ((LA22_4>='\u0000' && LA22_4<='\t')||(LA22_4>='\u000B' && LA22_4<='\f')||(LA22_4>='\u000E' && LA22_4<='=')||(LA22_4>='?' && LA22_4<='\uFFFF')) && (( isHead() ))) {s = 22;} + + else s = 29; - input.seek(index22_118); + input.seek(index22_4); if ( s>=0 ) return s; break; case 51 : - int LA22_94 = input.LA(1); + int LA22_50 = input.LA(1); - int index22_94 = input.index(); + int index22_50 = input.index(); input.rewind(); s = -1; - if ( (LA22_94=='#') ) {s = 58;} + if ( (LA22_50=='\"') ) {s = 52;} - else if ( (LA22_94=='\"') ) {s = 61;} + else if ( (LA22_50=='#') ) {s = 53;} - else if ( ((LA22_94>='\u0000' && LA22_94<='\t')||(LA22_94>='\u000B' && LA22_94<='\f')||(LA22_94>='\u000E' && LA22_94<='!')||(LA22_94>='$' && LA22_94<='[')||(LA22_94>=']' && LA22_94<='\uFFFF')) ) {s = 57;} + else if ( (LA22_50=='\\') ) {s = 51;} - else if ( (LA22_94=='\\') ) {s = 59;} + else if ( ((LA22_50>='\u0000' && LA22_50<='\t')||(LA22_50>='\u000B' && LA22_50<='\f')||(LA22_50>='\u000E' && LA22_50<='!')||(LA22_50>='$' && LA22_50<='[')||(LA22_50>=']' && LA22_50<='\uFFFF')) ) {s = 50;} - else if ( (LA22_94=='\n'||LA22_94=='\r') ) {s = 60;} + else if ( (LA22_50=='\n'||LA22_50=='\r') ) {s = 54;} - else s = 24; + else s = 22; - input.seek(index22_94); + input.seek(index22_50); if ( s>=0 ) return s; break; case 52 : - int LA22_23 = input.LA(1); + int LA22_120 = input.LA(1); - int index22_23 = input.index(); + int index22_120 = input.index(); input.rewind(); s = -1; - if ( ((LA22_23>='\u0000' && LA22_23<='\t')||(LA22_23>='\u000B' && LA22_23<='\f')||(LA22_23>='\u000E' && LA22_23<='\uFFFF')) && (( isHead() ))) {s = 24;} + if ( ((LA22_120>='0' && LA22_120<='9')||(LA22_120>='A' && LA22_120<='F')||(LA22_120>='a' && LA22_120<='f')) ) {s = 122;} - else s = 63; + else s = 22; - input.seek(index22_23); + input.seek(index22_120); if ( s>=0 ) return s; break; case 53 : @@ -3404,786 +3333,786 @@ public class SilkLexer extends Lexer { int index22_12 = input.index(); input.rewind(); s = -1; - if ( ((LA22_12>='\u0000' && LA22_12<='\t')||(LA22_12>='\u000B' && LA22_12<='\f')||(LA22_12>='\u000E' && LA22_12<='\uFFFF')) && (( isHead() ))) {s = 24;} + if ( ((LA22_12>='\u0000' && LA22_12<='\b')||(LA22_12>='\u000B' && LA22_12<='\f')||(LA22_12>='\u000E' && LA22_12<='\u001F')||LA22_12=='!'||(LA22_12>='$' && LA22_12<='[')||(LA22_12>=']' && LA22_12<='\uFFFF')) && (((( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||( isHead() )||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))))) {s = 37;} - else s = 42; + else if ( (LA22_12=='#') && (((( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||( isHead() )||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))))) {s = 38;} + + else if ( (LA22_12=='\t'||LA22_12==' '||LA22_12=='\"'||LA22_12=='\\') && (( isHead() ))) {s = 22;} + + else if ( (LA22_12=='\n'||LA22_12=='\r') && (((( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))))) {s = 40;} + + else s = 39; input.seek(index22_12); if ( s>=0 ) return s; break; case 54 : - int LA22_107 = input.LA(1); + int LA22_45 = input.LA(1); - int index22_107 = input.index(); + int index22_45 = input.index(); input.rewind(); s = -1; - if ( (LA22_107=='\"') ) {s = 89;} + if ( ((LA22_45>='\u0000' && LA22_45<='\t')||(LA22_45>='\u000B' && LA22_45<='\f')||(LA22_45>='\u000E' && LA22_45<='!')||(LA22_45>='$' && LA22_45<='[')||(LA22_45>=']' && LA22_45<='\uFFFF')) && (((( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||( isHead() )||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))))) {s = 45;} - else if ( ((LA22_107>='\u0000' && LA22_107<='\t')||(LA22_107>='\u000B' && LA22_107<='\f')||(LA22_107>='\u000E' && LA22_107<='!')||(LA22_107>='#' && LA22_107<='[')||(LA22_107>=']' && LA22_107<='\uFFFF')) ) {s = 90;} + else if ( ((LA22_45>='\"' && LA22_45<='#')||LA22_45=='\\') && (( isHead() ))) {s = 22;} - else if ( (LA22_107=='\\') ) {s = 91;} + else if ( (LA22_45=='\n'||LA22_45=='\r') && ((( isOutValue() )&&( isValue() )))) {s = 27;} - else if ( (LA22_107=='\n'||LA22_107=='\r') ) {s = 60;} - - else s = 24; + else s = 81; - input.seek(index22_107); + input.seek(index22_45); if ( s>=0 ) return s; break; case 55 : - int LA22_99 = input.LA(1); + int LA22_58 = input.LA(1); - int index22_99 = input.index(); + int index22_58 = input.index(); input.rewind(); s = -1; - if ( (LA22_99=='#') ) {s = 58;} - - else if ( (LA22_99=='\"') ) {s = 61;} + if ( ((LA22_58>='\u0000' && LA22_58<='\t')||(LA22_58>='\u000B' && LA22_58<='\f')||(LA22_58>='\u000E' && LA22_58<='!')||(LA22_58>='$' && LA22_58<='[')||(LA22_58>=']' && LA22_58<='\uFFFF')) && ((( isOutValue() )||( isHead() )))) {s = 58;} - else if ( ((LA22_99>='\u0000' && LA22_99<='\t')||(LA22_99>='\u000B' && LA22_99<='\f')||(LA22_99>='\u000E' && LA22_99<='!')||(LA22_99>='$' && LA22_99<='[')||(LA22_99>=']' && LA22_99<='\uFFFF')) ) {s = 57;} + else if ( ((LA22_58>='\"' && LA22_58<='#')||LA22_58=='\\') && (( isHead() ))) {s = 22;} - else if ( (LA22_99=='\\') ) {s = 59;} + else if ( (LA22_58=='\n'||LA22_58=='\r') && (( isOutValue() ))) {s = 102;} - else if ( (LA22_99=='\n'||LA22_99=='\r') ) {s = 60;} - - else s = 24; + else s = 101; - input.seek(index22_99); + input.seek(index22_58); if ( s>=0 ) return s; break; case 56 : - int LA22_14 = input.LA(1); + int LA22_98 = input.LA(1); - int index22_14 = input.index(); + int index22_98 = input.index(); input.rewind(); s = -1; - if ( ((LA22_14>='\u0000' && LA22_14<='\b')||(LA22_14>='\u000B' && LA22_14<='\f')||(LA22_14>='\u000E' && LA22_14<='\u001F')||LA22_14=='!'||(LA22_14>='$' && LA22_14<='[')||(LA22_14>=']' && LA22_14<='\uFFFF')) && ((( isValue() )||( isHead() )))) {s = 44;} + if ( (LA22_98=='\"') ) {s = 97;} - else if ( (LA22_14=='#') && ((( isValue() )||( isHead() )))) {s = 46;} + else if ( ((LA22_98>='\u0000' && LA22_98<='\t')||(LA22_98>='\u000B' && LA22_98<='\f')||(LA22_98>='\u000E' && LA22_98<='!')||(LA22_98>='#' && LA22_98<='[')||(LA22_98>=']' && LA22_98<='\uFFFF')) ) {s = 98;} - else if ( (LA22_14=='\t'||LA22_14==' '||LA22_14=='\"'||LA22_14=='\\') && (( isHead() ))) {s = 24;} + else if ( (LA22_98=='\\') ) {s = 99;} - else if ( (LA22_14=='\n'||LA22_14=='\r') && (( isValue() ))) {s = 34;} + else if ( (LA22_98=='\n'||LA22_98=='\r') ) {s = 54;} - else s = 45; + else s = 22; - input.seek(index22_14); + input.seek(index22_98); if ( s>=0 ) return s; break; case 57 : - int LA22_90 = input.LA(1); + int LA22_39 = input.LA(1); - int index22_90 = input.index(); + int index22_39 = input.index(); input.rewind(); s = -1; - if ( (LA22_90=='\"') ) {s = 89;} - - else if ( ((LA22_90>='\u0000' && LA22_90<='\t')||(LA22_90>='\u000B' && LA22_90<='\f')||(LA22_90>='\u000E' && LA22_90<='!')||(LA22_90>='#' && LA22_90<='[')||(LA22_90>=']' && LA22_90<='\uFFFF')) ) {s = 90;} - - else if ( (LA22_90=='\\') ) {s = 91;} - - else if ( (LA22_90=='\n'||LA22_90=='\r') ) {s = 60;} + if ( (( isHead() )) ) {s = 22;} - else s = 24; + else if ( (true) ) {s = 76;} - input.seek(index22_90); + input.seek(index22_39); if ( s>=0 ) return s; break; case 58 : - int LA22_116 = input.LA(1); + int LA22_21 = input.LA(1); - int index22_116 = input.index(); + int index22_21 = input.index(); input.rewind(); s = -1; - if ( ((LA22_116>='0' && LA22_116<='9')||(LA22_116>='A' && LA22_116<='F')||(LA22_116>='a' && LA22_116<='f')) ) {s = 118;} + if ( ((LA22_21>='\u0000' && LA22_21<='\t')||(LA22_21>='\u000B' && LA22_21<='\f')||(LA22_21>='\u000E' && LA22_21<='\uFFFF')) && (( isHead() ))) {s = 22;} - else s = 24; + else s = 60; - input.seek(index22_116); + input.seek(index22_21); if ( s>=0 ) return s; break; case 59 : - int LA22_96 = input.LA(1); + int LA22_35 = input.LA(1); - int index22_96 = input.index(); + int index22_35 = input.index(); input.rewind(); s = -1; - if ( (LA22_96=='#') ) {s = 58;} - - else if ( (LA22_96=='\"') ) {s = 61;} - - else if ( ((LA22_96>='\u0000' && LA22_96<='\t')||(LA22_96>='\u000B' && LA22_96<='\f')||(LA22_96>='\u000E' && LA22_96<='!')||(LA22_96>='$' && LA22_96<='[')||(LA22_96>=']' && LA22_96<='\uFFFF')) ) {s = 57;} + if ( (( isHead() )) ) {s = 22;} - else if ( (LA22_96=='\\') ) {s = 59;} - - else if ( (LA22_96=='\n'||LA22_96=='\r') ) {s = 60;} - - else s = 24; + else if ( (true) ) {s = 69;} - input.seek(index22_96); + input.seek(index22_35); if ( s>=0 ) return s; break; case 60 : - int LA22_33 = input.LA(1); + int LA22_88 = input.LA(1); - int index22_33 = input.index(); + int index22_88 = input.index(); input.rewind(); s = -1; - if ( (( isHead() )) ) {s = 38;} + if ( (LA22_88=='\"') ) {s = 52;} + + else if ( (LA22_88=='#') ) {s = 53;} + + else if ( (LA22_88=='\\') ) {s = 51;} - else if ( (( isValue() )) ) {s = 67;} + else if ( ((LA22_88>='\u0000' && LA22_88<='\t')||(LA22_88>='\u000B' && LA22_88<='\f')||(LA22_88>='\u000E' && LA22_88<='!')||(LA22_88>='$' && LA22_88<='[')||(LA22_88>=']' && LA22_88<='\uFFFF')) ) {s = 50;} + + else if ( (LA22_88=='\n'||LA22_88=='\r') ) {s = 54;} + + else s = 22; - input.seek(index22_33); + input.seek(index22_88); if ( s>=0 ) return s; break; case 61 : - int LA22_55 = input.LA(1); + int LA22_125 = input.LA(1); - int index22_55 = input.index(); + int index22_125 = input.index(); input.rewind(); s = -1; - if ( (( isHead() )) ) {s = 24;} + if ( ((LA22_125>='0' && LA22_125<='9')||(LA22_125>='A' && LA22_125<='F')||(LA22_125>='a' && LA22_125<='f')) ) {s = 126;} - else if ( (true) ) {s = 87;} + else s = 22; - input.seek(index22_55); + input.seek(index22_125); if ( s>=0 ) return s; break; case 62 : - int LA22_11 = input.LA(1); + int LA22_52 = input.LA(1); - int index22_11 = input.index(); + int index22_52 = input.index(); input.rewind(); s = -1; - if ( ((LA22_11>='\u0000' && LA22_11<='\t')||(LA22_11>='\u000B' && LA22_11<='\f')||(LA22_11>='\u000E' && LA22_11<='\uFFFF')) && (( isHead() ))) {s = 24;} + if ( ((LA22_52>='\u0000' && LA22_52<='\t')||(LA22_52>='\u000B' && LA22_52<='\f')||(LA22_52>='\u000E' && LA22_52<='\uFFFF')) && (( isHead() ))) {s = 22;} - else s = 41; + else s = 96; - input.seek(index22_11); + input.seek(index22_52); if ( s>=0 ) return s; break; case 63 : - int LA22_42 = input.LA(1); + int LA22_63 = input.LA(1); - int index22_42 = input.index(); + int index22_63 = input.index(); input.rewind(); s = -1; - if ( (( isHead() )) ) {s = 24;} + if ( (LA22_63=='\t'||LA22_63==' ') && (( isHead() ))) {s = 63;} + + else if ( ((LA22_63>='\u0000' && LA22_63<='\b')||(LA22_63>='\u000B' && LA22_63<='\f')||(LA22_63>='\u000E' && LA22_63<='\u001F')||(LA22_63>='!' && LA22_63<='\uFFFF')) && (( isHead() ))) {s = 22;} - else if ( (true) ) {s = 74;} + else s = 64; - input.seek(index22_42); + input.seek(index22_63); if ( s>=0 ) return s; break; case 64 : - int LA22_39 = input.LA(1); + int LA22_7 = input.LA(1); - int index22_39 = input.index(); + int index22_7 = input.index(); input.rewind(); s = -1; - if ( (( isHead() )) ) {s = 10;} + if ( ((LA22_7>='\u0000' && LA22_7<='\b')||(LA22_7>='\n' && LA22_7<='\u001F')||(LA22_7>='!' && LA22_7<='\"')||LA22_7=='$'||(LA22_7>='&' && LA22_7<=',')||(LA22_7>='.' && LA22_7<='?')||(LA22_7>='A' && LA22_7<='\uFFFF')) && (( isHead() ))) {s = 22;} + + else if ( (LA22_7=='\t'||LA22_7==' ') && ((( !isHead() )||( isHead() )))) {s = 7;} - else if ( (( !isHead() )) ) {s = 71;} + else s = 30; - input.seek(index22_39); + input.seek(index22_7); if ( s>=0 ) return s; break; case 65 : - int LA22_0 = input.LA(1); + int LA22_92 = input.LA(1); - int index22_0 = input.index(); + int index22_92 = input.index(); input.rewind(); s = -1; - if ( (LA22_0=='#') ) {s = 1;} - - else if ( (LA22_0=='%') && (( isHead() ))) {s = 2;} - - else if ( (LA22_0=='\r') ) {s = 3;} - - else if ( (LA22_0=='\n') ) {s = 4;} - - else if ( (LA22_0=='-') && ((( isHead() )||( isValue() )))) {s = 5;} - - else if ( (LA22_0=='>') ) {s = 6;} - - else if ( (LA22_0==' ') && ((( !isHead() )||( isHead() )))) {s = 7;} - - else if ( (LA22_0=='@') ) {s = 8;} - - else if ( (LA22_0=='\t') && ((( !isHead() )||( isHead() )))) {s = 9;} - - else if ( (LA22_0=='(') ) {s = 11;} - - else if ( (LA22_0==')') ) {s = 12;} - - else if ( (LA22_0==',') ) {s = 13;} - - else if ( (LA22_0==':') ) {s = 14;} + if ( (LA22_92=='\"') ) {s = 52;} - else if ( (LA22_0=='|') ) {s = 15;} + else if ( (LA22_92=='#') ) {s = 53;} - else if ( (LA22_0=='*') ) {s = 16;} + else if ( (LA22_92=='\\') ) {s = 51;} - else if ( (LA22_0=='+') ) {s = 17;} + else if ( ((LA22_92>='\u0000' && LA22_92<='\t')||(LA22_92>='\u000B' && LA22_92<='\f')||(LA22_92>='\u000E' && LA22_92<='!')||(LA22_92>='$' && LA22_92<='[')||(LA22_92>=']' && LA22_92<='\uFFFF')) ) {s = 50;} - else if ( (LA22_0=='[') ) {s = 18;} + else if ( (LA22_92=='\n'||LA22_92=='\r') ) {s = 54;} - else if ( (LA22_0==']') ) {s = 19;} - - else if ( (LA22_0=='?') ) {s = 20;} - - else if ( (LA22_0=='\"') ) {s = 21;} - - else if ( ((LA22_0>='\u0000' && LA22_0<='\b')||(LA22_0>='\u000B' && LA22_0<='\f')||(LA22_0>='\u000E' && LA22_0<='\u001F')||LA22_0=='!'||LA22_0=='$'||LA22_0=='&'||(LA22_0>='.' && LA22_0<='9')||(LA22_0>=';' && LA22_0<='=')||(LA22_0>='A' && LA22_0<='Z')||(LA22_0>='^' && LA22_0<='z')||(LA22_0>='~' && LA22_0<='\uFFFF')) ) {s = 22;} - - else if ( (LA22_0=='{') && ((( isHead() )||( isValue() )))) {s = 23;} - - else if ( (LA22_0=='\''||LA22_0=='\\'||LA22_0=='}') && (( isHead() ))) {s = 24;} - - else s = 10; + else s = 22; - input.seek(index22_0); + input.seek(index22_92); if ( s>=0 ) return s; break; case 66 : - int LA22_63 = input.LA(1); + int LA22_73 = input.LA(1); - int index22_63 = input.index(); + int index22_73 = input.index(); input.rewind(); s = -1; - if ( (( isHead() )) ) {s = 24;} + if ( ((LA22_73>='\u0000' && LA22_73<='\t')||(LA22_73>='\u000B' && LA22_73<='\f')||(LA22_73>='\u000E' && LA22_73<='!')||(LA22_73>='$' && LA22_73<='\'')||LA22_73=='+'||(LA22_73>='-' && LA22_73<='9')||(LA22_73>=';' && LA22_73<='=')||(LA22_73>='?' && LA22_73<='Z')||(LA22_73>='^' && LA22_73<='z')||(LA22_73>='~' && LA22_73<='\uFFFF')) && (((( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||( isHead() )||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))))) {s = 73;} + + else if ( (LA22_73=='\n'||LA22_73=='\r') && (((( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))))) {s = 25;} + + else if ( ((LA22_73>='\"' && LA22_73<='#')||LA22_73=='\\') && (( isHead() ))) {s = 22;} + + else if ( ((LA22_73>='(' && LA22_73<=')')||LA22_73==',') && (((( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||( isHead() )||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))))) {s = 75;} + + else if ( (LA22_73=='*'||LA22_73==':'||LA22_73=='>'||LA22_73=='['||LA22_73==']'||(LA22_73>='{' && LA22_73<='}')) && (((( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||( isHead() )||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))))) {s = 74;} - else if ( (( isValue() )) ) {s = 86;} + else s = 108; - input.seek(index22_63); + input.seek(index22_73); if ( s>=0 ) return s; break; case 67 : - int LA22_80 = input.LA(1); + int LA22_16 = input.LA(1); - int index22_80 = input.index(); + int index22_16 = input.index(); input.rewind(); s = -1; - if ( (LA22_80=='\t'||LA22_80==' ') && ((( isHead() )||( isValue() )))) {s = 78;} - - else if ( ((LA22_80>='\u0000' && LA22_80<='\b')||(LA22_80>='\u000B' && LA22_80<='\f')||(LA22_80>='\u000E' && LA22_80<='\u001F')||LA22_80=='!'||(LA22_80>='$' && LA22_80<='\'')||LA22_80=='+'||(LA22_80>='-' && LA22_80<='9')||(LA22_80>=';' && LA22_80<='=')||(LA22_80>='?' && LA22_80<='Z')||(LA22_80>='^' && LA22_80<='z')||(LA22_80>='~' && LA22_80<='\uFFFF')) && ((( isValue() )||( isHead() )))) {s = 79;} - - else if ( (LA22_80=='*'||LA22_80==':'||LA22_80=='>'||LA22_80=='['||LA22_80==']'||(LA22_80>='{' && LA22_80<='}')) && ((( isHead() )||( isValue() )))) {s = 80;} - - else if ( ((LA22_80>='(' && LA22_80<=')')||LA22_80==',') && ((( isValue() )||( isHead() )))) {s = 81;} - - else if ( (LA22_80=='\n'||LA22_80=='\r') && (( isValue() ))) {s = 67;} + if ( ((LA22_16>='\u0000' && LA22_16<='\t')||(LA22_16>='\u000B' && LA22_16<='\f')||(LA22_16>='\u000E' && LA22_16<='\uFFFF')) && (( isHead() ))) {s = 22;} - else if ( ((LA22_80>='\"' && LA22_80<='#')||LA22_80=='\\') && (( isHead() ))) {s = 24;} - - else s = 76; + else s = 47; - input.seek(index22_80); + input.seek(index22_16); if ( s>=0 ) return s; break; case 68 : - int LA22_112 = input.LA(1); + int LA22_110 = input.LA(1); - int index22_112 = input.index(); + int index22_110 = input.index(); input.rewind(); s = -1; - if ( ((LA22_112>='0' && LA22_112<='9')||(LA22_112>='A' && LA22_112<='F')||(LA22_112>='a' && LA22_112<='f')) ) {s = 114;} + if ( ((LA22_110>='0' && LA22_110<='9')||(LA22_110>='A' && LA22_110<='F')||(LA22_110>='a' && LA22_110<='f')) ) {s = 120;} - else s = 24; + else s = 22; - input.seek(index22_112); + input.seek(index22_110); if ( s>=0 ) return s; break; case 69 : - int LA22_50 = input.LA(1); + int LA22_10 = input.LA(1); - int index22_50 = input.index(); + int index22_10 = input.index(); input.rewind(); s = -1; - if ( (( isHead() )) ) {s = 24;} + if ( ((LA22_10>='\u0000' && LA22_10<='\t')||(LA22_10>='\u000B' && LA22_10<='\f')||(LA22_10>='\u000E' && LA22_10<='\uFFFF')) && (( isHead() ))) {s = 22;} - else if ( (!(((( isValue() )||( isHead() ))))) ) {s = 84;} - - else if ( (( isValue() )) ) {s = 67;} + else s = 35; - input.seek(index22_50); + input.seek(index22_10); if ( s>=0 ) return s; break; case 70 : - int LA22_45 = input.LA(1); + int LA22_36 = input.LA(1); - int index22_45 = input.index(); + int index22_36 = input.index(); input.rewind(); s = -1; - if ( (( isHead() )) ) {s = 24;} + if ( (( isHead() )) ) {s = 22;} - else if ( (true) ) {s = 77;} + else if ( (true) ) {s = 70;} - input.seek(index22_45); + input.seek(index22_36); if ( s>=0 ) return s; break; case 71 : - int LA22_56 = input.LA(1); + int LA22_96 = input.LA(1); - int index22_56 = input.index(); + int index22_96 = input.index(); input.rewind(); s = -1; - if ( (( isHead() )) ) {s = 24;} + if ( (( isHead() )) ) {s = 22;} - else if ( (true) ) {s = 88;} + else if ( (true) ) {s = 54;} - input.seek(index22_56); + input.seek(index22_96); if ( s>=0 ) return s; break; case 72 : - int LA22_59 = input.LA(1); + int LA22_124 = input.LA(1); - int index22_59 = input.index(); + int index22_124 = input.index(); input.rewind(); s = -1; - if ( (LA22_59=='\"') ) {s = 92;} + if ( (LA22_124=='\"') ) {s = 52;} - else if ( (LA22_59=='\\') ) {s = 93;} + else if ( (LA22_124=='#') ) {s = 53;} - else if ( (LA22_59=='/') ) {s = 94;} + else if ( (LA22_124=='\\') ) {s = 51;} - else if ( (LA22_59=='b') ) {s = 95;} + else if ( ((LA22_124>='\u0000' && LA22_124<='\t')||(LA22_124>='\u000B' && LA22_124<='\f')||(LA22_124>='\u000E' && LA22_124<='!')||(LA22_124>='$' && LA22_124<='[')||(LA22_124>=']' && LA22_124<='\uFFFF')) ) {s = 50;} - else if ( (LA22_59=='f') ) {s = 96;} + else if ( (LA22_124=='\n'||LA22_124=='\r') ) {s = 54;} - else if ( (LA22_59=='n') ) {s = 97;} - - else if ( (LA22_59=='r') ) {s = 98;} - - else if ( (LA22_59=='t') ) {s = 99;} - - else if ( (LA22_59=='u') ) {s = 100;} - - else s = 24; + else s = 22; - input.seek(index22_59); + input.seek(index22_124); if ( s>=0 ) return s; break; case 73 : - int LA22_15 = input.LA(1); + int LA22_119 = input.LA(1); - int index22_15 = input.index(); + int index22_119 = input.index(); input.rewind(); s = -1; - if ( ((LA22_15>='\u0000' && LA22_15<='\t')||(LA22_15>='\u000B' && LA22_15<='\f')||(LA22_15>='\u000E' && LA22_15<='\uFFFF')) && (( isHead() ))) {s = 24;} + if ( ((LA22_119>='0' && LA22_119<='9')||(LA22_119>='A' && LA22_119<='F')||(LA22_119>='a' && LA22_119<='f')) ) {s = 121;} - else s = 47; + else s = 22; - input.seek(index22_15); + input.seek(index22_119); if ( s>=0 ) return s; break; case 74 : - int LA22_78 = input.LA(1); + int LA22_74 = input.LA(1); - int index22_78 = input.index(); + int index22_74 = input.index(); input.rewind(); s = -1; - if ( (LA22_78=='\t'||LA22_78==' ') && ((( isHead() )||( isValue() )))) {s = 78;} - - else if ( ((LA22_78>='\u0000' && LA22_78<='\b')||(LA22_78>='\u000B' && LA22_78<='\f')||(LA22_78>='\u000E' && LA22_78<='\u001F')||LA22_78=='!'||(LA22_78>='$' && LA22_78<='\'')||LA22_78=='+'||(LA22_78>='-' && LA22_78<='9')||(LA22_78>=';' && LA22_78<='=')||(LA22_78>='?' && LA22_78<='Z')||(LA22_78>='^' && LA22_78<='z')||(LA22_78>='~' && LA22_78<='\uFFFF')) && ((( isValue() )||( isHead() )))) {s = 79;} + if ( ((LA22_74>='\u0000' && LA22_74<='\t')||(LA22_74>='\u000B' && LA22_74<='\f')||(LA22_74>='\u000E' && LA22_74<='!')||(LA22_74>='$' && LA22_74<='\'')||(LA22_74>='*' && LA22_74<='+')||(LA22_74>='-' && LA22_74<='[')||(LA22_74>=']' && LA22_74<='\uFFFF')) && (((( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||( isHead() )||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))))) {s = 74;} - else if ( (LA22_78=='*'||LA22_78==':'||LA22_78=='>'||LA22_78=='['||LA22_78==']'||(LA22_78>='{' && LA22_78<='}')) && ((( isHead() )||( isValue() )))) {s = 80;} + else if ( (LA22_74=='\n'||LA22_74=='\r') && (((( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))))) {s = 26;} - else if ( ((LA22_78>='(' && LA22_78<=')')||LA22_78==',') && ((( isValue() )||( isHead() )))) {s = 81;} + else if ( ((LA22_74>='\"' && LA22_74<='#')||LA22_74=='\\') && (( isHead() ))) {s = 22;} - else if ( (LA22_78=='\n'||LA22_78=='\r') && (( isValue() ))) {s = 67;} + else if ( ((LA22_74>='(' && LA22_74<=')')||LA22_74==',') && (((( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||( isHead() )||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))))) {s = 75;} - else if ( ((LA22_78>='\"' && LA22_78<='#')||LA22_78=='\\') && (( isHead() ))) {s = 24;} - - else s = 76; + else s = 109; - input.seek(index22_78); + input.seek(index22_74); if ( s>=0 ) return s; break; case 75 : - int LA22_41 = input.LA(1); + int LA22_5 = input.LA(1); - int index22_41 = input.index(); + int index22_5 = input.index(); input.rewind(); s = -1; - if ( (( isHead() )) ) {s = 24;} + if ( ((LA22_5>='\u0000' && LA22_5<='\b')||(LA22_5>='\n' && LA22_5<='\u001F')||(LA22_5>='!' && LA22_5<='\"')||LA22_5=='$'||(LA22_5>='&' && LA22_5<=',')||(LA22_5>='.' && LA22_5<='?')||(LA22_5>='A' && LA22_5<='\uFFFF')) && (( isHead() ))) {s = 22;} + + else if ( (LA22_5==' ') && ((( !isHead() )||( isHead() )))) {s = 5;} + + else if ( (LA22_5=='-') && (( isHead() ))) {s = 31;} + + else if ( (LA22_5=='\t') && ((( !isHead() )||( isHead() )))) {s = 7;} + + else if ( (LA22_5=='@') && (( isHead() ))) {s = 32;} - else if ( (true) ) {s = 73;} + else s = 30; - input.seek(index22_41); + input.seek(index22_5); if ( s>=0 ) return s; break; case 76 : - int LA22_6 = input.LA(1); + int LA22_18 = input.LA(1); - int index22_6 = input.index(); + int index22_18 = input.index(); input.rewind(); s = -1; - if ( (LA22_6=='>') && (( isHead() ))) {s = 35;} + if ( ((LA22_18>='\u0000' && LA22_18<='\b')||(LA22_18>='\u000B' && LA22_18<='\f')||(LA22_18>='\u000E' && LA22_18<='\u001F')||LA22_18=='!'||(LA22_18>='$' && LA22_18<='[')||(LA22_18>=']' && LA22_18<='\uFFFF')) && (((( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||( isHead() )||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))))) {s = 37;} - else if ( ((LA22_6>='\u0000' && LA22_6<='\t')||(LA22_6>='\u000B' && LA22_6<='\f')||(LA22_6>='\u000E' && LA22_6<='=')||(LA22_6>='?' && LA22_6<='\uFFFF')) && (( isHead() ))) {s = 24;} + else if ( (LA22_18=='#') && (((( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||( isHead() )||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))))) {s = 38;} - else s = 36; + else if ( (LA22_18=='\t'||LA22_18==' '||LA22_18=='\"'||LA22_18=='\\') && (( isHead() ))) {s = 22;} + + else if ( (LA22_18=='\n'||LA22_18=='\r') && (((( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))))) {s = 40;} + + else s = 49; - input.seek(index22_6); + input.seek(index22_18); if ( s>=0 ) return s; break; case 77 : - int LA22_113 = input.LA(1); + int LA22_111 = input.LA(1); - int index22_113 = input.index(); + int index22_111 = input.index(); input.rewind(); s = -1; - if ( ((LA22_113>='0' && LA22_113<='9')||(LA22_113>='A' && LA22_113<='F')||(LA22_113>='a' && LA22_113<='f')) ) {s = 115;} + if ( (LA22_111=='\"') ) {s = 97;} - else s = 24; + else if ( ((LA22_111>='\u0000' && LA22_111<='\t')||(LA22_111>='\u000B' && LA22_111<='\f')||(LA22_111>='\u000E' && LA22_111<='!')||(LA22_111>='#' && LA22_111<='[')||(LA22_111>=']' && LA22_111<='\uFFFF')) ) {s = 98;} + + else if ( (LA22_111=='\\') ) {s = 99;} + + else if ( (LA22_111=='\n'||LA22_111=='\r') ) {s = 54;} + + else s = 22; - input.seek(index22_113); + input.seek(index22_111); if ( s>=0 ) return s; break; case 78 : - int LA22_54 = input.LA(1); + int LA22_97 = input.LA(1); - int index22_54 = input.index(); + int index22_97 = input.index(); input.rewind(); s = -1; - if ( (( isHead() )) ) {s = 24;} + if ( ((LA22_97>='\u0000' && LA22_97<='\t')||(LA22_97>='\u000B' && LA22_97<='\f')||(LA22_97>='\u000E' && LA22_97<='\uFFFF')) && (( isHead() ))) {s = 22;} - else if ( (!(((( isValue() )||( isHead() ))))) ) {s = 85;} - - else if ( (( isValue() )) ) {s = 86;} + else s = 96; - input.seek(index22_54); + input.seek(index22_97); if ( s>=0 ) return s; break; case 79 : - int LA22_106 = input.LA(1); + int LA22_44 = input.LA(1); - int index22_106 = input.index(); + int index22_44 = input.index(); input.rewind(); s = -1; - if ( (LA22_106=='\"') ) {s = 89;} + if ( ((LA22_44>='\u0000' && LA22_44<='\t')||(LA22_44>='\u000B' && LA22_44<='\f')||(LA22_44>='\u000E' && LA22_44<='!')||(LA22_44>='$' && LA22_44<='\'')||LA22_44=='+'||(LA22_44>='-' && LA22_44<='9')||(LA22_44>=';' && LA22_44<='=')||(LA22_44>='?' && LA22_44<='Z')||(LA22_44>='^' && LA22_44<='z')||(LA22_44>='~' && LA22_44<='\uFFFF')) && (((( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||( isHead() )||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))))) {s = 44;} - else if ( ((LA22_106>='\u0000' && LA22_106<='\t')||(LA22_106>='\u000B' && LA22_106<='\f')||(LA22_106>='\u000E' && LA22_106<='!')||(LA22_106>='#' && LA22_106<='[')||(LA22_106>=']' && LA22_106<='\uFFFF')) ) {s = 90;} + else if ( ((LA22_44>='(' && LA22_44<=')')||LA22_44==',') && (((( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||( isHead() )||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))))) {s = 45;} - else if ( (LA22_106=='\\') ) {s = 91;} + else if ( (LA22_44=='*'||LA22_44==':'||LA22_44=='>'||LA22_44=='['||LA22_44==']'||(LA22_44>='{' && LA22_44<='}')) && (((( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||( isHead() )||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))))) {s = 46;} - else if ( (LA22_106=='\n'||LA22_106=='\r') ) {s = 60;} + else if ( ((LA22_44>='\"' && LA22_44<='#')||LA22_44=='\\') && (( isHead() ))) {s = 22;} - else s = 24; + else if ( (LA22_44=='\n'||LA22_44=='\r') && (((( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))))) {s = 25;} + + else s = 80; - input.seek(index22_106); + input.seek(index22_44); if ( s>=0 ) return s; break; case 80 : - int LA22_29 = input.LA(1); + int LA22_56 = input.LA(1); - int index22_29 = input.index(); + int index22_56 = input.index(); input.rewind(); s = -1; - if ( (LA22_29=='\t'||LA22_29==' ') ) {s = 26;} + if ( ((LA22_56>='\u0000' && LA22_56<='\t')||(LA22_56>='\u000B' && LA22_56<='\f')||(LA22_56>='\u000E' && LA22_56<='!')||(LA22_56>='$' && LA22_56<='\'')||LA22_56=='+'||(LA22_56>='-' && LA22_56<='9')||(LA22_56>=';' && LA22_56<='=')||(LA22_56>='?' && LA22_56<='Z')||(LA22_56>='^' && LA22_56<='z')||(LA22_56>='~' && LA22_56<='\uFFFF')) && ((( isInValue() )||( isOutValue() )||( isHead() )||( isKey() )))) {s = 56;} - else if ( ((LA22_29>='\u0000' && LA22_29<='\b')||(LA22_29>='\u000B' && LA22_29<='\f')||(LA22_29>='\u000E' && LA22_29<='\u001F')||LA22_29=='!'||(LA22_29>='$' && LA22_29<='\'')||LA22_29=='+'||(LA22_29>='-' && LA22_29<='9')||(LA22_29>=';' && LA22_29<='=')||(LA22_29>='?' && LA22_29<='Z')||(LA22_29>='^' && LA22_29<='z')||(LA22_29>='~' && LA22_29<='\uFFFF')) ) {s = 28;} + else if ( ((LA22_56>='(' && LA22_56<=')')||LA22_56==',') && ((( isOutValue() )||( isHead() )))) {s = 58;} - else if ( (LA22_29=='*'||LA22_29==':'||LA22_29=='>'||LA22_29=='['||LA22_29==']'||(LA22_29>='{' && LA22_29<='}')) ) {s = 29;} + else if ( (LA22_56=='*'||LA22_56==':'||LA22_56=='>'||LA22_56=='['||LA22_56==']'||(LA22_56>='{' && LA22_56<='}')) && ((( isInValue() )||( isOutValue() )||( isHead() )))) {s = 59;} - else if ( ((LA22_29>='(' && LA22_29<=')')||LA22_29==',') ) {s = 31;} + else if ( ((LA22_56>='\"' && LA22_56<='#')||LA22_56=='\\') && (( isHead() ))) {s = 22;} - else if ( ((LA22_29>='\"' && LA22_29<='#')||LA22_29=='\\') && (( isHead() ))) {s = 24;} + else if ( (LA22_56=='\n'||LA22_56=='\r') && ((( isInValue() )||( isOutValue() )||( isKey() )))) {s = 57;} - else if ( (LA22_29=='\n'||LA22_29=='\r') ) {s = 30;} - - else s = 62; + else s = 100; - input.seek(index22_29); + input.seek(index22_56); if ( s>=0 ) return s; break; case 81 : - int LA22_52 = input.LA(1); + int LA22_43 = input.LA(1); - int index22_52 = input.index(); + int index22_43 = input.index(); input.rewind(); s = -1; - if ( (LA22_52=='\t'||LA22_52==' ') && ((( isHead() )||( isValue() )))) {s = 49;} - - else if ( ((LA22_52>='\u0000' && LA22_52<='\b')||(LA22_52>='\u000B' && LA22_52<='\f')||(LA22_52>='\u000E' && LA22_52<='\u001F')||LA22_52=='!'||(LA22_52>='$' && LA22_52<='\'')||LA22_52=='+'||(LA22_52>='-' && LA22_52<='9')||(LA22_52>=';' && LA22_52<='=')||(LA22_52>='?' && LA22_52<='Z')||(LA22_52>='^' && LA22_52<='z')||(LA22_52>='~' && LA22_52<='\uFFFF')) && ((( isValue() )||( isHead() )))) {s = 51;} - - else if ( (LA22_52=='*'||LA22_52==':'||LA22_52=='>'||LA22_52=='['||LA22_52==']'||(LA22_52>='{' && LA22_52<='}')) && ((( isHead() )||( isValue() )))) {s = 52;} - - else if ( ((LA22_52>='(' && LA22_52<=')')||LA22_52==',') && ((( isValue() )||( isHead() )))) {s = 53;} - - else if ( ((LA22_52>='\"' && LA22_52<='#')||LA22_52=='\\') && (( isHead() ))) {s = 24;} + if ( (( isHead() )) ) {s = 22;} - else if ( (LA22_52=='\n'||LA22_52=='\r') && (( isValue() ))) {s = 67;} + else if ( (!((((( isOutValue() )&&( isValue() ))||( isHead() )||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() )))))) ) {s = 79;} - else s = 76; + else if ( (((( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() )))) ) {s = 57;} - input.seek(index22_52); + input.seek(index22_43); if ( s>=0 ) return s; break; case 82 : - int LA22_46 = input.LA(1); + int LA22_95 = input.LA(1); - int index22_46 = input.index(); + int index22_95 = input.index(); input.rewind(); s = -1; - if ( (LA22_46=='\t'||LA22_46==' ') && ((( isHead() )||( isValue() )))) {s = 78;} + if ( ((LA22_95>='0' && LA22_95<='9')||(LA22_95>='A' && LA22_95<='F')||(LA22_95>='a' && LA22_95<='f')) ) {s = 110;} + + else s = 22; - else if ( ((LA22_46>='\u0000' && LA22_46<='\b')||(LA22_46>='\u000B' && LA22_46<='\f')||(LA22_46>='\u000E' && LA22_46<='\u001F')||LA22_46=='!'||(LA22_46>='$' && LA22_46<='\'')||LA22_46=='+'||(LA22_46>='-' && LA22_46<='9')||(LA22_46>=';' && LA22_46<='=')||(LA22_46>='?' && LA22_46<='Z')||(LA22_46>='^' && LA22_46<='z')||(LA22_46>='~' && LA22_46<='\uFFFF')) && ((( isValue() )||( isHead() )))) {s = 79;} + + input.seek(index22_95); + if ( s>=0 ) return s; + break; + case 83 : + int LA22_101 = input.LA(1); - else if ( (LA22_46=='*'||LA22_46==':'||LA22_46=='>'||LA22_46=='['||LA22_46==']'||(LA22_46>='{' && LA22_46<='}')) && ((( isHead() )||( isValue() )))) {s = 80;} + + int index22_101 = input.index(); + input.rewind(); + s = -1; + if ( (( isHead() )) ) {s = 22;} - else if ( (LA22_46=='\n'||LA22_46=='\r') && (( isValue() ))) {s = 67;} + else if ( (( isOutValue() )) ) {s = 104;} - else if ( ((LA22_46>='(' && LA22_46<=')')||LA22_46==',') && ((( isValue() )||( isHead() )))) {s = 81;} + + input.seek(index22_101); + if ( s>=0 ) return s; + break; + case 84 : + int LA22_81 = input.LA(1); - else if ( ((LA22_46>='\"' && LA22_46<='#')||LA22_46=='\\') && (( isHead() ))) {s = 24;} + + int index22_81 = input.index(); + input.rewind(); + s = -1; + if ( (( isHead() )) ) {s = 22;} - else s = 76; + else if ( ((( isOutValue() )&&( isValue() ))) ) {s = 104;} - input.seek(index22_46); + input.seek(index22_81); if ( s>=0 ) return s; break; - case 83 : - int LA22_108 = input.LA(1); + case 85 : + int LA22_94 = input.LA(1); - int index22_108 = input.index(); + int index22_94 = input.index(); input.rewind(); s = -1; - if ( (LA22_108=='\"') ) {s = 89;} + if ( (LA22_94=='\"') ) {s = 52;} - else if ( ((LA22_108>='\u0000' && LA22_108<='\t')||(LA22_108>='\u000B' && LA22_108<='\f')||(LA22_108>='\u000E' && LA22_108<='!')||(LA22_108>='#' && LA22_108<='[')||(LA22_108>=']' && LA22_108<='\uFFFF')) ) {s = 90;} + else if ( (LA22_94=='#') ) {s = 53;} - else if ( (LA22_108=='\\') ) {s = 91;} + else if ( (LA22_94=='\\') ) {s = 51;} - else if ( (LA22_108=='\n'||LA22_108=='\r') ) {s = 60;} + else if ( ((LA22_94>='\u0000' && LA22_94<='\t')||(LA22_94>='\u000B' && LA22_94<='\f')||(LA22_94>='\u000E' && LA22_94<='!')||(LA22_94>='$' && LA22_94<='[')||(LA22_94>=']' && LA22_94<='\uFFFF')) ) {s = 50;} - else s = 24; + else if ( (LA22_94=='\n'||LA22_94=='\r') ) {s = 54;} + + else s = 22; - input.seek(index22_108); + input.seek(index22_94); if ( s>=0 ) return s; break; - case 84 : - int LA22_66 = input.LA(1); + case 86 : + int LA22_53 = input.LA(1); - int index22_66 = input.index(); + int index22_53 = input.index(); input.rewind(); s = -1; - if ( (LA22_66=='\t'||LA22_66==' ') && ((( isValue() )||( isHead() )))) {s = 66;} + if ( (LA22_53=='\"') ) {s = 97;} + + else if ( ((LA22_53>='\u0000' && LA22_53<='\t')||(LA22_53>='\u000B' && LA22_53<='\f')||(LA22_53>='\u000E' && LA22_53<='!')||(LA22_53>='#' && LA22_53<='[')||(LA22_53>=']' && LA22_53<='\uFFFF')) ) {s = 98;} + + else if ( (LA22_53=='\\') ) {s = 99;} - else if ( ((LA22_66>='\u0000' && LA22_66<='\b')||(LA22_66>='\n' && LA22_66<='\u001F')||LA22_66=='!'||(LA22_66>='$' && LA22_66<='[')||(LA22_66>=']' && LA22_66<='\uFFFF')) && (( isValue() ))) {s = 67;} + else if ( (LA22_53=='\n'||LA22_53=='\r') ) {s = 54;} - else s = 65; + else s = 22; - input.seek(index22_66); + input.seek(index22_53); if ( s>=0 ) return s; break; - case 85 : - int LA22_26 = input.LA(1); + case 87 : + int LA22_126 = input.LA(1); - int index22_26 = input.index(); + int index22_126 = input.index(); input.rewind(); s = -1; - if ( (LA22_26=='\t'||LA22_26==' ') ) {s = 26;} - - else if ( ((LA22_26>='\u0000' && LA22_26<='\b')||(LA22_26>='\u000B' && LA22_26<='\f')||(LA22_26>='\u000E' && LA22_26<='\u001F')||LA22_26=='!'||(LA22_26>='$' && LA22_26<='\'')||LA22_26=='+'||(LA22_26>='-' && LA22_26<='9')||(LA22_26>=';' && LA22_26<='=')||(LA22_26>='?' && LA22_26<='Z')||(LA22_26>='^' && LA22_26<='z')||(LA22_26>='~' && LA22_26<='\uFFFF')) ) {s = 28;} + if ( (LA22_126=='\"') ) {s = 97;} - else if ( (LA22_26=='*'||LA22_26==':'||LA22_26=='>'||LA22_26=='['||LA22_26==']'||(LA22_26>='{' && LA22_26<='}')) ) {s = 29;} + else if ( ((LA22_126>='\u0000' && LA22_126<='\t')||(LA22_126>='\u000B' && LA22_126<='\f')||(LA22_126>='\u000E' && LA22_126<='!')||(LA22_126>='#' && LA22_126<='[')||(LA22_126>=']' && LA22_126<='\uFFFF')) ) {s = 98;} - else if ( ((LA22_26>='(' && LA22_26<=')')||LA22_26==',') ) {s = 31;} + else if ( (LA22_126=='\\') ) {s = 99;} - else if ( ((LA22_26>='\"' && LA22_26<='#')||LA22_26=='\\') && (( isHead() ))) {s = 24;} + else if ( (LA22_126=='\n'||LA22_126=='\r') ) {s = 54;} - else if ( (LA22_26=='\n'||LA22_26=='\r') ) {s = 30;} - - else s = 62; + else s = 22; - input.seek(index22_26); + input.seek(index22_126); if ( s>=0 ) return s; break; - case 86 : + case 88 : int LA22_49 = input.LA(1); int index22_49 = input.index(); input.rewind(); s = -1; - if ( (LA22_49=='\t'||LA22_49==' ') && ((( isHead() )||( isValue() )))) {s = 49;} + if ( (( isHead() )) ) {s = 22;} + + else if ( (true) ) {s = 86;} + + + input.seek(index22_49); + if ( s>=0 ) return s; + break; + case 89 : + int LA22_37 = input.LA(1); - else if ( ((LA22_49>='\u0000' && LA22_49<='\b')||(LA22_49>='\u000B' && LA22_49<='\f')||(LA22_49>='\u000E' && LA22_49<='\u001F')||LA22_49=='!'||(LA22_49>='$' && LA22_49<='\'')||LA22_49=='+'||(LA22_49>='-' && LA22_49<='9')||(LA22_49>=';' && LA22_49<='=')||(LA22_49>='?' && LA22_49<='Z')||(LA22_49>='^' && LA22_49<='z')||(LA22_49>='~' && LA22_49<='\uFFFF')) && ((( isValue() )||( isHead() )))) {s = 51;} + + int index22_37 = input.index(); + input.rewind(); + s = -1; + if ( ((LA22_37>='\u0000' && LA22_37<='\t')||(LA22_37>='\u000B' && LA22_37<='\f')||(LA22_37>='\u000E' && LA22_37<='!')||(LA22_37>='$' && LA22_37<='\'')||LA22_37=='+'||(LA22_37>='-' && LA22_37<='9')||(LA22_37>=';' && LA22_37<='=')||(LA22_37>='?' && LA22_37<='Z')||(LA22_37>='^' && LA22_37<='z')||(LA22_37>='~' && LA22_37<='\uFFFF')) && (((( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||( isHead() )||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isKey() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))))) {s = 44;} - else if ( (LA22_49=='*'||LA22_49==':'||LA22_49=='>'||LA22_49=='['||LA22_49==']'||(LA22_49>='{' && LA22_49<='}')) && ((( isHead() )||( isValue() )))) {s = 52;} + else if ( (LA22_37=='*'||LA22_37==':'||LA22_37=='>'||LA22_37=='['||LA22_37==']'||(LA22_37>='{' && LA22_37<='}')) && (((( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||( isHead() )||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isInValue() )&&( isValue() ))))) {s = 46;} - else if ( ((LA22_49>='(' && LA22_49<=')')||LA22_49==',') && ((( isValue() )||( isHead() )))) {s = 53;} + else if ( ((LA22_37>='(' && LA22_37<=')')||LA22_37==',') && (((( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||( isHead() )||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))))) {s = 45;} - else if ( ((LA22_49>='\"' && LA22_49<='#')||LA22_49=='\\') && (( isHead() ))) {s = 24;} + else if ( ((LA22_37>='\"' && LA22_37<='#')||LA22_37=='\\') && (( isHead() ))) {s = 22;} - else if ( (LA22_49=='\n'||LA22_49=='\r') && (( isValue() ))) {s = 67;} + else if ( (LA22_37=='\n'||LA22_37=='\r') && (((( isInValue() )&&( isValue() ))||(( isOutValue() )&&( isValue() ))||(( isKey() )&&( isValue() ))))) {s = 25;} - else s = 76; + else s = 71; - input.seek(index22_49); + input.seek(index22_37); if ( s>=0 ) return s; break; - case 87 : - int LA22_120 = input.LA(1); + case 90 : + int LA22_34 = input.LA(1); - int index22_120 = input.index(); + int index22_34 = input.index(); input.rewind(); s = -1; - if ( (LA22_120=='\"') ) {s = 89;} + if ( (( isHead() )) ) {s = 22;} - else if ( ((LA22_120>='\u0000' && LA22_120<='\t')||(LA22_120>='\u000B' && LA22_120<='\f')||(LA22_120>='\u000E' && LA22_120<='!')||(LA22_120>='#' && LA22_120<='[')||(LA22_120>=']' && LA22_120<='\uFFFF')) ) {s = 90;} - - else if ( (LA22_120=='\\') ) {s = 91;} - - else if ( (LA22_120=='\n'||LA22_120=='\r') ) {s = 60;} - - else s = 24; + else if ( (true) ) {s = 68;} - input.seek(index22_120); + input.seek(index22_34); if ( s>=0 ) return s; break; - case 88 : - int LA22_48 = input.LA(1); + case 91 : + int LA22_30 = input.LA(1); - int index22_48 = input.index(); + int index22_30 = input.index(); input.rewind(); s = -1; - if ( (( isHead() )) ) {s = 24;} + if ( (( isHead() )) ) {s = 8;} - else if ( (true) ) {s = 83;} + else if ( (( !isHead() )) ) {s = 66;} - input.seek(index22_48); + input.seek(index22_30); if ( s>=0 ) return s; break; - case 89 : - int LA22_117 = input.LA(1); + case 92 : + int LA22_60 = input.LA(1); - int index22_117 = input.index(); + int index22_60 = input.index(); input.rewind(); s = -1; - if ( ((LA22_117>='0' && LA22_117<='9')||(LA22_117>='A' && LA22_117<='F')||(LA22_117>='a' && LA22_117<='f')) ) {s = 119;} + if ( (( isHead() )) ) {s = 22;} - else s = 24; + else if ( (( isValue() )) ) {s = 84;} - input.seek(index22_117); + input.seek(index22_60); if ( s>=0 ) return s; break; - case 90 : - int LA22_97 = input.LA(1); + case 93 : + int LA22_20 = input.LA(1); - int index22_97 = input.index(); + int index22_20 = input.index(); input.rewind(); s = -1; - if ( (LA22_97=='#') ) {s = 58;} + if ( ((LA22_20>='\u0000' && LA22_20<='\t')||(LA22_20>='\u000B' && LA22_20<='\f')||(LA22_20>='\u000E' && LA22_20<='!')||(LA22_20>='$' && LA22_20<='\'')||LA22_20=='+'||(LA22_20>='-' && LA22_20<='9')||(LA22_20>=';' && LA22_20<='=')||(LA22_20>='?' && LA22_20<='Z')||(LA22_20>='^' && LA22_20<='z')||(LA22_20>='~' && LA22_20<='\uFFFF')) && ((( isInValue() )||( isOutValue() )||( isHead() )||( isKey() )))) {s = 56;} - else if ( (LA22_97=='\"') ) {s = 61;} + else if ( (LA22_20=='\n'||LA22_20=='\r') && ((( isInValue() )||( isOutValue() )||( isKey() )))) {s = 57;} - else if ( ((LA22_97>='\u0000' && LA22_97<='\t')||(LA22_97>='\u000B' && LA22_97<='\f')||(LA22_97>='\u000E' && LA22_97<='!')||(LA22_97>='$' && LA22_97<='[')||(LA22_97>=']' && LA22_97<='\uFFFF')) ) {s = 57;} + else if ( ((LA22_20>='\"' && LA22_20<='#')||LA22_20=='\\') && (( isHead() ))) {s = 22;} - else if ( (LA22_97=='\\') ) {s = 59;} + else if ( ((LA22_20>='(' && LA22_20<=')')||LA22_20==',') && ((( isOutValue() )||( isHead() )))) {s = 58;} - else if ( (LA22_97=='\n'||LA22_97=='\r') ) {s = 60;} + else if ( (LA22_20=='*'||LA22_20==':'||LA22_20=='>'||LA22_20=='['||LA22_20==']'||(LA22_20>='{' && LA22_20<='}')) && ((( isInValue() )||( isOutValue() )||( isHead() )))) {s = 59;} - else s = 24; + else s = 55; - input.seek(index22_97); + input.seek(index22_20); if ( s>=0 ) return s; break; - case 91 : - int LA22_58 = input.LA(1); + case 94 : + int LA22_48 = input.LA(1); - int index22_58 = input.index(); + int index22_48 = input.index(); + input.rewind(); + s = -1; + if ( (( isHead() )) ) {s = 22;} + + else if ( (true) ) {s = 85;} + + + input.seek(index22_48); + if ( s>=0 ) return s; + break; + case 95 : + int LA22_19 = input.LA(1); + + + int index22_19 = input.index(); input.rewind(); s = -1; - if ( (LA22_58=='\"') ) {s = 89;} + if ( ((LA22_19>='\u0000' && LA22_19<='\t')||(LA22_19>='\u000B' && LA22_19<='\f')||(LA22_19>='\u000E' && LA22_19<='!')||(LA22_19>='$' && LA22_19<='[')||(LA22_19>=']' && LA22_19<='\uFFFF')) ) {s = 50;} - else if ( ((LA22_58>='\u0000' && LA22_58<='\t')||(LA22_58>='\u000B' && LA22_58<='\f')||(LA22_58>='\u000E' && LA22_58<='!')||(LA22_58>='#' && LA22_58<='[')||(LA22_58>=']' && LA22_58<='\uFFFF')) ) {s = 90;} + else if ( (LA22_19=='\\') ) {s = 51;} - else if ( (LA22_58=='\\') ) {s = 91;} + else if ( (LA22_19=='\"') ) {s = 52;} - else if ( (LA22_58=='\n'||LA22_58=='\r') ) {s = 60;} + else if ( (LA22_19=='#') ) {s = 53;} - else s = 24; + else if ( (LA22_19=='\n'||LA22_19=='\r') ) {s = 54;} + + else s = 22; - input.seek(index22_58); + input.seek(index22_19); if ( s>=0 ) return s; break; } diff --git a/src/main/java/org/xerial/silk/impl/SilkLexerState.java b/src/main/java/org/xerial/silk/impl/SilkLexerState.java index b20a823..785ca12 100644 --- a/src/main/java/org/xerial/silk/impl/SilkLexerState.java +++ b/src/main/java/org/xerial/silk/impl/SilkLexerState.java @@ -115,9 +115,32 @@ public class SilkLexerState return cursor.getState(); } + public boolean isInKey() + { + State current = cursor.getState(); + return current == State.IN_KEY || current == State.OUT_KEY; + } + + public boolean isValue() + { + State current = cursor.getState(); + return current == State.IN_VALUE || current == State.OUT_VALUE; + } + + public boolean isInValue() + { + return getCurrentState() == State.IN_VALUE; + } + + public boolean isOutValue() + { + return getCurrentState() == State.OUT_VALUE; + } + public void reset() { cursor.reset(State.INIT); + stateStack.clear(); // beforeJSONState = State.INIT; // nestLevel = 0; } diff --git a/src/main/java/org/xerial/silk/impl/SilkParser.java b/src/main/java/org/xerial/silk/impl/SilkParser.java index fca2db1..5b37a5a 100644 --- a/src/main/java/org/xerial/silk/impl/SilkParser.java +++ b/src/main/java/org/xerial/silk/impl/SilkParser.java @@ -1,4 +1,4 @@ -// $ANTLR 3.1.1 F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g 2009-04-22 16:57:25 +// $ANTLR 3.1.1 c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g 2009-04-22 20:18:50 /*-------------------------------------------------------------------------- * Copyright 2009 Taro L. Saito @@ -35,65 +35,63 @@ import org.antlr.runtime.tree.*; public class SilkParser extends Parser { public static final String[] tokenNames = new String[] { - "", "", "", "", "Silk", "SilkNode", "SilkLine", "Name", "Value", "Occurrence", "DataType", "Function", "Argument", "KeyValuePair", "Key", "WhiteSpace", "LineBreakChar", "LineComment", "Preamble", "LineBreak", "MultiLineSeparator", "MultiLineEntrySeparator", "NodeIndent", "FunctionIndent", "BlankLine", "DataLineBody", "DataLine", "LParen", "RParen", "Comma", "Colon", "Seq", "TabSeq", "Star", "At", "Plus", "LBracket", "RBracket", "Question", "Digit", "Letter", "HexDigit", "UnicodeChar", "EscapeSequence", "StringChar", "StringChar_s", "String", "ScopeIndicator", "FlowIndicator", "Indicator", "PlainUnsafeChar", "PlainSafeKey", "PlainSafeIn", "PlainSafeOut", "NonSpaceChar", "PlainFirst", "PlainSafe", "PlainOneLine", "JSON", "Separation" + "", "", "", "", "Silk", "SilkNode", "SilkLine", "Name", "Value", "Occurrence", "DataType", "Function", "Argument", "KeyValuePair", "Key", "WhiteSpace", "LineBreakChar", "LineComment", "Preamble", "MultiLineSeparator", "MultiLineEntrySeparator", "NodeIndent", "FunctionIndent", "BlankLine", "DataLineBody", "DataLine", "LParen", "RParen", "Comma", "Colon", "Seq", "TabSeq", "Star", "At", "Plus", "LBracket", "RBracket", "Question", "Digit", "Letter", "HexDigit", "UnicodeChar", "EscapeSequence", "StringChar", "StringChar_s", "String", "ScopeIndicator", "FlowIndicator", "Indicator", "PlainUnsafeChar", "PlainSafeKey", "PlainSafeIn", "PlainSafeOut", "NonSpaceChar", "PlainFirst", "PlainOneLine", "JSON", "Separation" }; public static final int Key=14; - public static final int PlainUnsafeChar=50; - public static final int PlainSafeKey=51; + public static final int PlainUnsafeChar=49; + public static final int PlainSafeKey=50; public static final int DataType=10; public static final int SilkNode=5; public static final int SilkLine=6; - public static final int LBracket=36; - public static final int NodeIndent=22; - public static final int Digit=39; - public static final int HexDigit=41; - public static final int PlainOneLine=57; - public static final int Plus=35; + public static final int LBracket=35; + public static final int NodeIndent=21; + public static final int Digit=38; + public static final int HexDigit=40; + public static final int PlainOneLine=55; + public static final int Plus=34; public static final int Occurrence=9; public static final int Argument=12; - public static final int Separation=59; - public static final int FlowIndicator=48; - public static final int Letter=40; - public static final int PlainSafeIn=52; - public static final int Comma=29; - public static final int TabSeq=32; - public static final int NonSpaceChar=54; - public static final int EscapeSequence=43; - public static final int DataLine=26; - public static final int PlainFirst=55; + public static final int Separation=57; + public static final int FlowIndicator=47; + public static final int Letter=39; + public static final int PlainSafeIn=51; + public static final int Comma=28; + public static final int TabSeq=31; + public static final int NonSpaceChar=53; + public static final int EscapeSequence=42; + public static final int DataLine=25; + public static final int PlainFirst=54; public static final int WhiteSpace=15; - public static final int MultiLineEntrySeparator=21; - public static final int PlainSafeOut=53; - public static final int JSON=58; - public static final int Question=38; + public static final int MultiLineEntrySeparator=20; + public static final int PlainSafeOut=52; + public static final int JSON=56; + public static final int Question=37; public static final int LineComment=17; - public static final int Colon=30; - public static final int At=34; - public static final int DataLineBody=25; + public static final int Colon=29; + public static final int At=33; + public static final int DataLineBody=24; public static final int KeyValuePair=13; - public static final int Star=33; + public static final int Star=32; public static final int Preamble=18; - public static final int Seq=31; - public static final int FunctionIndent=23; - public static final int Indicator=49; - public static final int RParen=28; - public static final int UnicodeChar=42; - public static final int StringChar=44; + public static final int Seq=30; + public static final int FunctionIndent=22; + public static final int Indicator=48; + public static final int RParen=27; + public static final int UnicodeChar=41; + public static final int MultiLineSeparator=19; public static final int Silk=4; - public static final int MultiLineSeparator=20; - public static final int BlankLine=24; - public static final int LineBreak=19; + public static final int BlankLine=23; + public static final int StringChar=43; public static final int Function=11; public static final int Name=7; - public static final int LParen=27; - public static final int String=46; + public static final int LParen=26; + public static final int String=45; public static final int LineBreakChar=16; - public static final int ScopeIndicator=47; + public static final int ScopeIndicator=46; public static final int EOF=-1; - public static final int StringChar_s=45; + public static final int StringChar_s=44; public static final int Value=8; - public static final int RBracket=37; - public static final int PlainSafe=56; + public static final int RBracket=36; // delegates // delegators @@ -117,7 +115,7 @@ public class SilkParser extends Parser { } public String[] getTokenNames() { return SilkParser.tokenNames; } - public String getGrammarFileName() { return "F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g"; } + public String getGrammarFileName() { return "c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g"; } public static class silkFile_return extends ParserRuleReturnScope { @@ -126,7 +124,7 @@ public class SilkParser extends Parser { }; // $ANTLR start "silkFile" - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:269:1: silkFile : ( silkLine )* -> ^( Silk ( silkLine )* ) ; + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:266:1: silkFile : ( silkLine )* -> ^( Silk ( silkLine )* ) ; public final SilkParser.silkFile_return silkFile() throws RecognitionException { SilkParser.silkFile_return retval = new SilkParser.silkFile_return(); retval.start = input.LT(1); @@ -138,19 +136,19 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_silkLine=new RewriteRuleSubtreeStream(adaptor,"rule silkLine"); try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:269:9: ( ( silkLine )* -> ^( Silk ( silkLine )* ) ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:269:11: ( silkLine )* + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:266:9: ( ( silkLine )* -> ^( Silk ( silkLine )* ) ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:266:11: ( silkLine )* { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:269:11: ( silkLine )* + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:266:11: ( silkLine )* loop1: do { int alt1=2; alt1 = dfa1.predict(input); switch (alt1) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:269:11: silkLine + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:266:11: silkLine { - pushFollow(FOLLOW_silkLine_in_silkFile984); + pushFollow(FOLLOW_silkLine_in_silkFile957); silkLine1=silkLine(); state._fsp--; @@ -177,14 +175,14 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null); root_0 = (Object)adaptor.nil(); - // 269:21: -> ^( Silk ( silkLine )* ) + // 266:21: -> ^( Silk ( silkLine )* ) { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:269:24: ^( Silk ( silkLine )* ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:266:24: ^( Silk ( silkLine )* ) { Object root_1 = (Object)adaptor.nil(); root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(Silk, "Silk"), root_1); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:269:31: ( silkLine )* + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:266:31: ( silkLine )* while ( stream_silkLine.hasNext() ) { adaptor.addChild(root_1, stream_silkLine.nextTree()); @@ -223,7 +221,7 @@ public class SilkParser extends Parser { }; // $ANTLR start "silkLine" - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:272:1: silkLine : ( NodeIndent nodeItem -> ^( SilkNode NodeIndent nodeItem ) | noNameNode | function | Preamble | DataLine | BlankLine | LineComment | MultiLineSeparator | MultiLineEntrySeparator | WhiteSpace -> BlankLine ); + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:269:1: silkLine : ( NodeIndent nodeItem -> ^( SilkNode NodeIndent nodeItem ) | noNameNode | function | Preamble | DataLine | BlankLine | LineComment | MultiLineSeparator | MultiLineEntrySeparator | WhiteSpace -> BlankLine ); public final SilkParser.silkLine_return silkLine() throws RecognitionException { SilkParser.silkLine_return retval = new SilkParser.silkLine_return(); retval.start = input.LT(1); @@ -257,17 +255,17 @@ public class SilkParser extends Parser { RewriteRuleTokenStream stream_NodeIndent=new RewriteRuleTokenStream(adaptor,"token NodeIndent"); RewriteRuleSubtreeStream stream_nodeItem=new RewriteRuleSubtreeStream(adaptor,"rule nodeItem"); try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:273:2: ( NodeIndent nodeItem -> ^( SilkNode NodeIndent nodeItem ) | noNameNode | function | Preamble | DataLine | BlankLine | LineComment | MultiLineSeparator | MultiLineEntrySeparator | WhiteSpace -> BlankLine ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:270:2: ( NodeIndent nodeItem -> ^( SilkNode NodeIndent nodeItem ) | noNameNode | function | Preamble | DataLine | BlankLine | LineComment | MultiLineSeparator | MultiLineEntrySeparator | WhiteSpace -> BlankLine ) int alt2=10; alt2 = dfa2.predict(input); switch (alt2) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:273:4: NodeIndent nodeItem + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:270:4: NodeIndent nodeItem { - NodeIndent2=(Token)match(input,NodeIndent,FOLLOW_NodeIndent_in_silkLine1005); + NodeIndent2=(Token)match(input,NodeIndent,FOLLOW_NodeIndent_in_silkLine978); stream_NodeIndent.add(NodeIndent2); - pushFollow(FOLLOW_nodeItem_in_silkLine1007); + pushFollow(FOLLOW_nodeItem_in_silkLine980); nodeItem3=nodeItem(); state._fsp--; @@ -276,7 +274,7 @@ public class SilkParser extends Parser { // AST REWRITE - // elements: nodeItem, NodeIndent + // elements: NodeIndent, nodeItem // token labels: // rule labels: retval // token list labels: @@ -285,9 +283,9 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null); root_0 = (Object)adaptor.nil(); - // 273:24: -> ^( SilkNode NodeIndent nodeItem ) + // 270:24: -> ^( SilkNode NodeIndent nodeItem ) { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:273:27: ^( SilkNode NodeIndent nodeItem ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:270:27: ^( SilkNode NodeIndent nodeItem ) { Object root_1 = (Object)adaptor.nil(); root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(SilkNode, "SilkNode"), root_1); @@ -304,11 +302,11 @@ public class SilkParser extends Parser { } break; case 2 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:274:4: noNameNode + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:271:4: noNameNode { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_noNameNode_in_silkLine1022); + pushFollow(FOLLOW_noNameNode_in_silkLine995); noNameNode4=noNameNode(); state._fsp--; @@ -318,11 +316,11 @@ public class SilkParser extends Parser { } break; case 3 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:275:4: function + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:272:4: function { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_function_in_silkLine1028); + pushFollow(FOLLOW_function_in_silkLine1001); function5=function(); state._fsp--; @@ -332,11 +330,11 @@ public class SilkParser extends Parser { } break; case 4 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:276:4: Preamble + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:273:4: Preamble { root_0 = (Object)adaptor.nil(); - Preamble6=(Token)match(input,Preamble,FOLLOW_Preamble_in_silkLine1033); + Preamble6=(Token)match(input,Preamble,FOLLOW_Preamble_in_silkLine1006); Preamble6_tree = (Object)adaptor.create(Preamble6); adaptor.addChild(root_0, Preamble6_tree); @@ -344,11 +342,11 @@ public class SilkParser extends Parser { } break; case 5 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:277:4: DataLine + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:274:4: DataLine { root_0 = (Object)adaptor.nil(); - DataLine7=(Token)match(input,DataLine,FOLLOW_DataLine_in_silkLine1038); + DataLine7=(Token)match(input,DataLine,FOLLOW_DataLine_in_silkLine1011); DataLine7_tree = (Object)adaptor.create(DataLine7); adaptor.addChild(root_0, DataLine7_tree); @@ -356,11 +354,11 @@ public class SilkParser extends Parser { } break; case 6 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:278:4: BlankLine + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:275:4: BlankLine { root_0 = (Object)adaptor.nil(); - BlankLine8=(Token)match(input,BlankLine,FOLLOW_BlankLine_in_silkLine1043); + BlankLine8=(Token)match(input,BlankLine,FOLLOW_BlankLine_in_silkLine1016); BlankLine8_tree = (Object)adaptor.create(BlankLine8); adaptor.addChild(root_0, BlankLine8_tree); @@ -368,11 +366,11 @@ public class SilkParser extends Parser { } break; case 7 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:279:4: LineComment + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:276:4: LineComment { root_0 = (Object)adaptor.nil(); - LineComment9=(Token)match(input,LineComment,FOLLOW_LineComment_in_silkLine1048); + LineComment9=(Token)match(input,LineComment,FOLLOW_LineComment_in_silkLine1021); LineComment9_tree = (Object)adaptor.create(LineComment9); adaptor.addChild(root_0, LineComment9_tree); @@ -380,11 +378,11 @@ public class SilkParser extends Parser { } break; case 8 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:280:4: MultiLineSeparator + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:277:4: MultiLineSeparator { root_0 = (Object)adaptor.nil(); - MultiLineSeparator10=(Token)match(input,MultiLineSeparator,FOLLOW_MultiLineSeparator_in_silkLine1053); + MultiLineSeparator10=(Token)match(input,MultiLineSeparator,FOLLOW_MultiLineSeparator_in_silkLine1026); MultiLineSeparator10_tree = (Object)adaptor.create(MultiLineSeparator10); adaptor.addChild(root_0, MultiLineSeparator10_tree); @@ -392,11 +390,11 @@ public class SilkParser extends Parser { } break; case 9 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:281:4: MultiLineEntrySeparator + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:278:4: MultiLineEntrySeparator { root_0 = (Object)adaptor.nil(); - MultiLineEntrySeparator11=(Token)match(input,MultiLineEntrySeparator,FOLLOW_MultiLineEntrySeparator_in_silkLine1058); + MultiLineEntrySeparator11=(Token)match(input,MultiLineEntrySeparator,FOLLOW_MultiLineEntrySeparator_in_silkLine1031); MultiLineEntrySeparator11_tree = (Object)adaptor.create(MultiLineEntrySeparator11); adaptor.addChild(root_0, MultiLineEntrySeparator11_tree); @@ -404,9 +402,9 @@ public class SilkParser extends Parser { } break; case 10 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:282:4: WhiteSpace + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:279:4: WhiteSpace { - WhiteSpace12=(Token)match(input,WhiteSpace,FOLLOW_WhiteSpace_in_silkLine1063); + WhiteSpace12=(Token)match(input,WhiteSpace,FOLLOW_WhiteSpace_in_silkLine1036); stream_WhiteSpace.add(WhiteSpace12); @@ -421,7 +419,7 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null); root_0 = (Object)adaptor.nil(); - // 282:15: -> BlankLine + // 279:15: -> BlankLine { adaptor.addChild(root_0, (Object)adaptor.create(BlankLine, "BlankLine")); @@ -456,7 +454,7 @@ public class SilkParser extends Parser { }; // $ANTLR start "nodeName" - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:285:1: fragment nodeName : ( PlainOneLine | String ); + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:282:1: fragment nodeName : ( PlainOneLine | String ); public final SilkParser.nodeName_return nodeName() throws RecognitionException { SilkParser.nodeName_return retval = new SilkParser.nodeName_return(); retval.start = input.LT(1); @@ -468,8 +466,8 @@ public class SilkParser extends Parser { Object set13_tree=null; try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:286:9: ( PlainOneLine | String ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g: + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:283:9: ( PlainOneLine | String ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g: { root_0 = (Object)adaptor.nil(); @@ -511,7 +509,7 @@ public class SilkParser extends Parser { }; // $ANTLR start "nodeValue" - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:288:1: fragment nodeValue : ( function_i -> ^( Function function_i ) | ( PlainOneLine | String ) -> Value[$nodeValue.text] | JSON ); + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:285:1: fragment nodeValue : ( function_i -> ^( Function function_i ) | ( PlainOneLine | String ) -> Value[$nodeValue.text] | JSON ); public final SilkParser.nodeValue_return nodeValue() throws RecognitionException { SilkParser.nodeValue_return retval = new SilkParser.nodeValue_return(); retval.start = input.LT(1); @@ -531,7 +529,7 @@ public class SilkParser extends Parser { RewriteRuleTokenStream stream_PlainOneLine=new RewriteRuleTokenStream(adaptor,"token PlainOneLine"); RewriteRuleSubtreeStream stream_function_i=new RewriteRuleSubtreeStream(adaptor,"rule function_i"); try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:290:2: ( function_i -> ^( Function function_i ) | ( PlainOneLine | String ) -> Value[$nodeValue.text] | JSON ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:287:2: ( function_i -> ^( Function function_i ) | ( PlainOneLine | String ) -> Value[$nodeValue.text] | JSON ) int alt4=3; switch ( input.LA(1) ) { case At: @@ -559,9 +557,9 @@ public class SilkParser extends Parser { switch (alt4) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:290:4: function_i + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:287:4: function_i { - pushFollow(FOLLOW_function_i_in_nodeValue1093); + pushFollow(FOLLOW_function_i_in_nodeValue1066); function_i14=function_i(); state._fsp--; @@ -579,9 +577,9 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null); root_0 = (Object)adaptor.nil(); - // 290:15: -> ^( Function function_i ) + // 287:15: -> ^( Function function_i ) { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:290:18: ^( Function function_i ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:287:18: ^( Function function_i ) { Object root_1 = (Object)adaptor.nil(); root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(Function, "Function"), root_1); @@ -597,9 +595,9 @@ public class SilkParser extends Parser { } break; case 2 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:291:4: ( PlainOneLine | String ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:288:4: ( PlainOneLine | String ) { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:291:4: ( PlainOneLine | String ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:288:4: ( PlainOneLine | String ) int alt3=2; int LA3_0 = input.LA(1); @@ -617,18 +615,18 @@ public class SilkParser extends Parser { } switch (alt3) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:291:5: PlainOneLine + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:288:5: PlainOneLine { - PlainOneLine15=(Token)match(input,PlainOneLine,FOLLOW_PlainOneLine_in_nodeValue1107); + PlainOneLine15=(Token)match(input,PlainOneLine,FOLLOW_PlainOneLine_in_nodeValue1080); stream_PlainOneLine.add(PlainOneLine15); } break; case 2 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:291:20: String + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:288:20: String { - String16=(Token)match(input,String,FOLLOW_String_in_nodeValue1111); + String16=(Token)match(input,String,FOLLOW_String_in_nodeValue1084); stream_String.add(String16); @@ -649,7 +647,7 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null); root_0 = (Object)adaptor.nil(); - // 291:28: -> Value[$nodeValue.text] + // 288:28: -> Value[$nodeValue.text] { adaptor.addChild(root_0, (Object)adaptor.create(Value, input.toString(retval.start,input.LT(-1)))); @@ -659,11 +657,11 @@ public class SilkParser extends Parser { } break; case 3 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:292:4: JSON + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:289:4: JSON { root_0 = (Object)adaptor.nil(); - JSON17=(Token)match(input,JSON,FOLLOW_JSON_in_nodeValue1122); + JSON17=(Token)match(input,JSON,FOLLOW_JSON_in_nodeValue1095); JSON17_tree = (Object)adaptor.create(JSON17); adaptor.addChild(root_0, JSON17_tree); @@ -696,7 +694,7 @@ public class SilkParser extends Parser { }; // $ANTLR start "noNameNode" - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:296:1: fragment noNameNode : NodeIndent ( LParen attributeList RParen )? ( plural )? ( Colon nodeValue )? -> ^( SilkNode NodeIndent ( attributeList )? ( plural )? ( nodeValue )? ) ; + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:293:1: fragment noNameNode : NodeIndent ( LParen attributeList RParen )? ( plural )? ( Colon nodeValue )? -> ^( SilkNode NodeIndent ( attributeList )? ( plural )? ( nodeValue )? ) ; public final SilkParser.noNameNode_return noNameNode() throws RecognitionException { SilkParser.noNameNode_return retval = new SilkParser.noNameNode_return(); retval.start = input.LT(1); @@ -726,29 +724,29 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_plural=new RewriteRuleSubtreeStream(adaptor,"rule plural"); RewriteRuleSubtreeStream stream_nodeValue=new RewriteRuleSubtreeStream(adaptor,"rule nodeValue"); try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:297:11: ( NodeIndent ( LParen attributeList RParen )? ( plural )? ( Colon nodeValue )? -> ^( SilkNode NodeIndent ( attributeList )? ( plural )? ( nodeValue )? ) ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:297:13: NodeIndent ( LParen attributeList RParen )? ( plural )? ( Colon nodeValue )? + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:294:11: ( NodeIndent ( LParen attributeList RParen )? ( plural )? ( Colon nodeValue )? -> ^( SilkNode NodeIndent ( attributeList )? ( plural )? ( nodeValue )? ) ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:294:13: NodeIndent ( LParen attributeList RParen )? ( plural )? ( Colon nodeValue )? { - NodeIndent18=(Token)match(input,NodeIndent,FOLLOW_NodeIndent_in_noNameNode1136); + NodeIndent18=(Token)match(input,NodeIndent,FOLLOW_NodeIndent_in_noNameNode1109); stream_NodeIndent.add(NodeIndent18); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:297:24: ( LParen attributeList RParen )? + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:294:24: ( LParen attributeList RParen )? int alt5=2; alt5 = dfa5.predict(input); switch (alt5) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:297:25: LParen attributeList RParen + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:294:25: LParen attributeList RParen { - LParen19=(Token)match(input,LParen,FOLLOW_LParen_in_noNameNode1139); + LParen19=(Token)match(input,LParen,FOLLOW_LParen_in_noNameNode1112); stream_LParen.add(LParen19); - pushFollow(FOLLOW_attributeList_in_noNameNode1141); + pushFollow(FOLLOW_attributeList_in_noNameNode1114); attributeList20=attributeList(); state._fsp--; stream_attributeList.add(attributeList20.getTree()); - RParen21=(Token)match(input,RParen,FOLLOW_RParen_in_noNameNode1143); + RParen21=(Token)match(input,RParen,FOLLOW_RParen_in_noNameNode1116); stream_RParen.add(RParen21); @@ -757,14 +755,14 @@ public class SilkParser extends Parser { } - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:297:55: ( plural )? + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:294:55: ( plural )? int alt6=2; alt6 = dfa6.predict(input); switch (alt6) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:297:55: plural + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:294:55: plural { - pushFollow(FOLLOW_plural_in_noNameNode1147); + pushFollow(FOLLOW_plural_in_noNameNode1120); plural22=plural(); state._fsp--; @@ -776,17 +774,17 @@ public class SilkParser extends Parser { } - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:297:63: ( Colon nodeValue )? + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:294:63: ( Colon nodeValue )? int alt7=2; alt7 = dfa7.predict(input); switch (alt7) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:297:64: Colon nodeValue + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:294:64: Colon nodeValue { - Colon23=(Token)match(input,Colon,FOLLOW_Colon_in_noNameNode1151); + Colon23=(Token)match(input,Colon,FOLLOW_Colon_in_noNameNode1124); stream_Colon.add(Colon23); - pushFollow(FOLLOW_nodeValue_in_noNameNode1153); + pushFollow(FOLLOW_nodeValue_in_noNameNode1126); nodeValue24=nodeValue(); state._fsp--; @@ -801,7 +799,7 @@ public class SilkParser extends Parser { // AST REWRITE - // elements: attributeList, NodeIndent, plural, nodeValue + // elements: nodeValue, NodeIndent, plural, attributeList // token labels: // rule labels: retval // token list labels: @@ -810,27 +808,27 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null); root_0 = (Object)adaptor.nil(); - // 298:2: -> ^( SilkNode NodeIndent ( attributeList )? ( plural )? ( nodeValue )? ) + // 295:2: -> ^( SilkNode NodeIndent ( attributeList )? ( plural )? ( nodeValue )? ) { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:298:5: ^( SilkNode NodeIndent ( attributeList )? ( plural )? ( nodeValue )? ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:295:5: ^( SilkNode NodeIndent ( attributeList )? ( plural )? ( nodeValue )? ) { Object root_1 = (Object)adaptor.nil(); root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(SilkNode, "SilkNode"), root_1); adaptor.addChild(root_1, stream_NodeIndent.nextNode()); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:298:27: ( attributeList )? + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:295:27: ( attributeList )? if ( stream_attributeList.hasNext() ) { adaptor.addChild(root_1, stream_attributeList.nextTree()); } stream_attributeList.reset(); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:298:42: ( plural )? + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:295:42: ( plural )? if ( stream_plural.hasNext() ) { adaptor.addChild(root_1, stream_plural.nextTree()); } stream_plural.reset(); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:298:50: ( nodeValue )? + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:295:50: ( nodeValue )? if ( stream_nodeValue.hasNext() ) { adaptor.addChild(root_1, stream_nodeValue.nextTree()); @@ -869,7 +867,7 @@ public class SilkParser extends Parser { }; // $ANTLR start "nodeItem" - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:301:1: fragment nodeItem : nodeName ( dataType )? ( LParen attributeList RParen )? ( plural )? ( Colon nodeValue )? -> Name[$nodeName.text.trim()] ( dataType )? ( attributeList )? ( plural )? ( nodeValue )? ; + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:298:1: fragment nodeItem : nodeName ( dataType )? ( LParen attributeList RParen )? ( plural )? ( Colon nodeValue )? -> Name[$nodeName.text.trim()] ( dataType )? ( attributeList )? ( plural )? ( nodeValue )? ; public final SilkParser.nodeItem_return nodeItem() throws RecognitionException { SilkParser.nodeItem_return retval = new SilkParser.nodeItem_return(); retval.start = input.LT(1); @@ -902,23 +900,23 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_plural=new RewriteRuleSubtreeStream(adaptor,"rule plural"); RewriteRuleSubtreeStream stream_nodeValue=new RewriteRuleSubtreeStream(adaptor,"rule nodeValue"); try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:302:9: ( nodeName ( dataType )? ( LParen attributeList RParen )? ( plural )? ( Colon nodeValue )? -> Name[$nodeName.text.trim()] ( dataType )? ( attributeList )? ( plural )? ( nodeValue )? ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:302:11: nodeName ( dataType )? ( LParen attributeList RParen )? ( plural )? ( Colon nodeValue )? + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:299:9: ( nodeName ( dataType )? ( LParen attributeList RParen )? ( plural )? ( Colon nodeValue )? -> Name[$nodeName.text.trim()] ( dataType )? ( attributeList )? ( plural )? ( nodeValue )? ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:299:11: nodeName ( dataType )? ( LParen attributeList RParen )? ( plural )? ( Colon nodeValue )? { - pushFollow(FOLLOW_nodeName_in_nodeItem1186); + pushFollow(FOLLOW_nodeName_in_nodeItem1159); nodeName25=nodeName(); state._fsp--; stream_nodeName.add(nodeName25.getTree()); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:302:20: ( dataType )? + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:299:20: ( dataType )? int alt8=2; alt8 = dfa8.predict(input); switch (alt8) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:302:20: dataType + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:299:20: dataType { - pushFollow(FOLLOW_dataType_in_nodeItem1188); + pushFollow(FOLLOW_dataType_in_nodeItem1161); dataType26=dataType(); state._fsp--; @@ -930,23 +928,23 @@ public class SilkParser extends Parser { } - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:302:31: ( LParen attributeList RParen )? + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:299:31: ( LParen attributeList RParen )? int alt9=2; alt9 = dfa9.predict(input); switch (alt9) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:302:32: LParen attributeList RParen + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:299:32: LParen attributeList RParen { - LParen27=(Token)match(input,LParen,FOLLOW_LParen_in_nodeItem1193); + LParen27=(Token)match(input,LParen,FOLLOW_LParen_in_nodeItem1166); stream_LParen.add(LParen27); - pushFollow(FOLLOW_attributeList_in_nodeItem1195); + pushFollow(FOLLOW_attributeList_in_nodeItem1168); attributeList28=attributeList(); state._fsp--; stream_attributeList.add(attributeList28.getTree()); - RParen29=(Token)match(input,RParen,FOLLOW_RParen_in_nodeItem1197); + RParen29=(Token)match(input,RParen,FOLLOW_RParen_in_nodeItem1170); stream_RParen.add(RParen29); @@ -955,14 +953,14 @@ public class SilkParser extends Parser { } - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:302:62: ( plural )? + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:299:62: ( plural )? int alt10=2; alt10 = dfa10.predict(input); switch (alt10) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:302:62: plural + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:299:62: plural { - pushFollow(FOLLOW_plural_in_nodeItem1201); + pushFollow(FOLLOW_plural_in_nodeItem1174); plural30=plural(); state._fsp--; @@ -974,17 +972,17 @@ public class SilkParser extends Parser { } - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:302:70: ( Colon nodeValue )? + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:299:70: ( Colon nodeValue )? int alt11=2; alt11 = dfa11.predict(input); switch (alt11) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:302:71: Colon nodeValue + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:299:71: Colon nodeValue { - Colon31=(Token)match(input,Colon,FOLLOW_Colon_in_nodeItem1205); + Colon31=(Token)match(input,Colon,FOLLOW_Colon_in_nodeItem1178); stream_Colon.add(Colon31); - pushFollow(FOLLOW_nodeValue_in_nodeItem1207); + pushFollow(FOLLOW_nodeValue_in_nodeItem1180); nodeValue32=nodeValue(); state._fsp--; @@ -999,7 +997,7 @@ public class SilkParser extends Parser { // AST REWRITE - // elements: plural, dataType, nodeValue, attributeList + // elements: nodeValue, attributeList, dataType, plural // token labels: // rule labels: retval // token list labels: @@ -1008,28 +1006,28 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null); root_0 = (Object)adaptor.nil(); - // 303:2: -> Name[$nodeName.text.trim()] ( dataType )? ( attributeList )? ( plural )? ( nodeValue )? + // 300:2: -> Name[$nodeName.text.trim()] ( dataType )? ( attributeList )? ( plural )? ( nodeValue )? { adaptor.addChild(root_0, (Object)adaptor.create(Name, (nodeName25!=null?input.toString(nodeName25.start,nodeName25.stop):null).trim())); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:303:33: ( dataType )? + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:300:33: ( dataType )? if ( stream_dataType.hasNext() ) { adaptor.addChild(root_0, stream_dataType.nextTree()); } stream_dataType.reset(); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:303:43: ( attributeList )? + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:300:43: ( attributeList )? if ( stream_attributeList.hasNext() ) { adaptor.addChild(root_0, stream_attributeList.nextTree()); } stream_attributeList.reset(); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:303:58: ( plural )? + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:300:58: ( plural )? if ( stream_plural.hasNext() ) { adaptor.addChild(root_0, stream_plural.nextTree()); } stream_plural.reset(); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:303:66: ( nodeValue )? + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:300:66: ( nodeValue )? if ( stream_nodeValue.hasNext() ) { adaptor.addChild(root_0, stream_nodeValue.nextTree()); @@ -1065,7 +1063,7 @@ public class SilkParser extends Parser { }; // $ANTLR start "dataType" - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:306:1: fragment dataType : LBracket dataTypeName RBracket ; + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:303:1: fragment dataType : LBracket dataTypeName RBracket ; public final SilkParser.dataType_return dataType() throws RecognitionException { SilkParser.dataType_return retval = new SilkParser.dataType_return(); retval.start = input.LT(1); @@ -1081,19 +1079,19 @@ public class SilkParser extends Parser { Object RBracket35_tree=null; try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:307:9: ( LBracket dataTypeName RBracket ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:307:11: LBracket dataTypeName RBracket + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:304:9: ( LBracket dataTypeName RBracket ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:304:11: LBracket dataTypeName RBracket { root_0 = (Object)adaptor.nil(); - LBracket33=(Token)match(input,LBracket,FOLLOW_LBracket_in_dataType1240); - pushFollow(FOLLOW_dataTypeName_in_dataType1243); + LBracket33=(Token)match(input,LBracket,FOLLOW_LBracket_in_dataType1213); + pushFollow(FOLLOW_dataTypeName_in_dataType1216); dataTypeName34=dataTypeName(); state._fsp--; adaptor.addChild(root_0, dataTypeName34.getTree()); - RBracket35=(Token)match(input,RBracket,FOLLOW_RBracket_in_dataType1245); + RBracket35=(Token)match(input,RBracket,FOLLOW_RBracket_in_dataType1218); } @@ -1121,7 +1119,7 @@ public class SilkParser extends Parser { }; // $ANTLR start "dataTypeName" - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:310:1: fragment dataTypeName : PlainOneLine -> DataType[$dataTypeName.text] ; + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:307:1: fragment dataTypeName : PlainOneLine -> DataType[$dataTypeName.text] ; public final SilkParser.dataTypeName_return dataTypeName() throws RecognitionException { SilkParser.dataTypeName_return retval = new SilkParser.dataTypeName_return(); retval.start = input.LT(1); @@ -1134,10 +1132,10 @@ public class SilkParser extends Parser { RewriteRuleTokenStream stream_PlainOneLine=new RewriteRuleTokenStream(adaptor,"token PlainOneLine"); try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:311:13: ( PlainOneLine -> DataType[$dataTypeName.text] ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:311:15: PlainOneLine + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:308:13: ( PlainOneLine -> DataType[$dataTypeName.text] ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:308:15: PlainOneLine { - PlainOneLine36=(Token)match(input,PlainOneLine,FOLLOW_PlainOneLine_in_dataTypeName1258); + PlainOneLine36=(Token)match(input,PlainOneLine,FOLLOW_PlainOneLine_in_dataTypeName1231); stream_PlainOneLine.add(PlainOneLine36); @@ -1152,7 +1150,7 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null); root_0 = (Object)adaptor.nil(); - // 312:2: -> DataType[$dataTypeName.text] + // 309:2: -> DataType[$dataTypeName.text] { adaptor.addChild(root_0, (Object)adaptor.create(DataType, input.toString(retval.start,input.LT(-1)))); @@ -1185,7 +1183,7 @@ public class SilkParser extends Parser { }; // $ANTLR start "attributeList" - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:315:1: fragment attributeList : attributeItem ( Comma attributeItem )* ; + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:312:1: fragment attributeList : attributeItem ( Comma attributeItem )* ; public final SilkParser.attributeList_return attributeList() throws RecognitionException { SilkParser.attributeList_return retval = new SilkParser.attributeList_return(); retval.start = input.LT(1); @@ -1201,18 +1199,18 @@ public class SilkParser extends Parser { Object Comma38_tree=null; try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:316:14: ( attributeItem ( Comma attributeItem )* ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:316:16: attributeItem ( Comma attributeItem )* + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:313:14: ( attributeItem ( Comma attributeItem )* ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:313:16: attributeItem ( Comma attributeItem )* { root_0 = (Object)adaptor.nil(); - pushFollow(FOLLOW_attributeItem_in_attributeList1278); + pushFollow(FOLLOW_attributeItem_in_attributeList1251); attributeItem37=attributeItem(); state._fsp--; adaptor.addChild(root_0, attributeItem37.getTree()); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:316:30: ( Comma attributeItem )* + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:313:30: ( Comma attributeItem )* loop12: do { int alt12=2; @@ -1225,10 +1223,10 @@ public class SilkParser extends Parser { switch (alt12) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:316:31: Comma attributeItem + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:313:31: Comma attributeItem { - Comma38=(Token)match(input,Comma,FOLLOW_Comma_in_attributeList1281); - pushFollow(FOLLOW_attributeItem_in_attributeList1284); + Comma38=(Token)match(input,Comma,FOLLOW_Comma_in_attributeList1254); + pushFollow(FOLLOW_attributeItem_in_attributeList1257); attributeItem39=attributeItem(); state._fsp--; @@ -1270,7 +1268,7 @@ public class SilkParser extends Parser { }; // $ANTLR start "attributeItem" - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:318:1: fragment attributeItem : nodeItem -> ^( SilkNode nodeItem ) ; + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:315:1: fragment attributeItem : nodeItem -> ^( SilkNode nodeItem ) ; public final SilkParser.attributeItem_return attributeItem() throws RecognitionException { SilkParser.attributeItem_return retval = new SilkParser.attributeItem_return(); retval.start = input.LT(1); @@ -1282,10 +1280,10 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_nodeItem=new RewriteRuleSubtreeStream(adaptor,"rule nodeItem"); try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:319:14: ( nodeItem -> ^( SilkNode nodeItem ) ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:319:16: nodeItem + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:316:14: ( nodeItem -> ^( SilkNode nodeItem ) ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:316:16: nodeItem { - pushFollow(FOLLOW_nodeItem_in_attributeItem1297); + pushFollow(FOLLOW_nodeItem_in_attributeItem1270); nodeItem40=nodeItem(); state._fsp--; @@ -1303,9 +1301,9 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null); root_0 = (Object)adaptor.nil(); - // 319:25: -> ^( SilkNode nodeItem ) + // 316:25: -> ^( SilkNode nodeItem ) { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:319:28: ^( SilkNode nodeItem ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:316:28: ^( SilkNode nodeItem ) { Object root_1 = (Object)adaptor.nil(); root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(SilkNode, "SilkNode"), root_1); @@ -1344,7 +1342,7 @@ public class SilkParser extends Parser { }; // $ANTLR start "seqseq" - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:321:1: fragment seqseq : Seq Seq ; + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:318:1: fragment seqseq : Seq Seq ; public final SilkParser.seqseq_return seqseq() throws RecognitionException { SilkParser.seqseq_return retval = new SilkParser.seqseq_return(); retval.start = input.LT(1); @@ -1358,16 +1356,16 @@ public class SilkParser extends Parser { Object Seq42_tree=null; try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:322:7: ( Seq Seq ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:322:9: Seq Seq + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:319:7: ( Seq Seq ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:319:9: Seq Seq { root_0 = (Object)adaptor.nil(); - Seq41=(Token)match(input,Seq,FOLLOW_Seq_in_seqseq1314); + Seq41=(Token)match(input,Seq,FOLLOW_Seq_in_seqseq1287); Seq41_tree = (Object)adaptor.create(Seq41); adaptor.addChild(root_0, Seq41_tree); - Seq42=(Token)match(input,Seq,FOLLOW_Seq_in_seqseq1316); + Seq42=(Token)match(input,Seq,FOLLOW_Seq_in_seqseq1289); Seq42_tree = (Object)adaptor.create(Seq42); adaptor.addChild(root_0, Seq42_tree); @@ -1398,7 +1396,7 @@ public class SilkParser extends Parser { }; // $ANTLR start "plural" - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:324:1: fragment plural : ( Star -> Occurrence[\"ZERO_OR_MORE\"] | Plus -> Occurrence[\"ONE_OR_MORE\"] | Question -> Occurrence[\"ZERO_OR_ONE\"] | seqseq -> Occurrence[\"MULTILINE_SEQUENCE\"] | Seq -> Occurrence[\"SEQUENCE\"] | TabSeq -> Occurrence[\"TABBED_SEQUENCE\"] ); + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:321:1: fragment plural : ( Star -> Occurrence[\"ZERO_OR_MORE\"] | Plus -> Occurrence[\"ONE_OR_MORE\"] | Question -> Occurrence[\"ZERO_OR_ONE\"] | seqseq -> Occurrence[\"MULTILINE_SEQUENCE\"] | Seq -> Occurrence[\"SEQUENCE\"] | TabSeq -> Occurrence[\"TABBED_SEQUENCE\"] ); public final SilkParser.plural_return plural() throws RecognitionException { SilkParser.plural_return retval = new SilkParser.plural_return(); retval.start = input.LT(1); @@ -1425,14 +1423,14 @@ public class SilkParser extends Parser { RewriteRuleTokenStream stream_Seq=new RewriteRuleTokenStream(adaptor,"token Seq"); RewriteRuleSubtreeStream stream_seqseq=new RewriteRuleSubtreeStream(adaptor,"rule seqseq"); try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:326:2: ( Star -> Occurrence[\"ZERO_OR_MORE\"] | Plus -> Occurrence[\"ONE_OR_MORE\"] | Question -> Occurrence[\"ZERO_OR_ONE\"] | seqseq -> Occurrence[\"MULTILINE_SEQUENCE\"] | Seq -> Occurrence[\"SEQUENCE\"] | TabSeq -> Occurrence[\"TABBED_SEQUENCE\"] ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:323:2: ( Star -> Occurrence[\"ZERO_OR_MORE\"] | Plus -> Occurrence[\"ONE_OR_MORE\"] | Question -> Occurrence[\"ZERO_OR_ONE\"] | seqseq -> Occurrence[\"MULTILINE_SEQUENCE\"] | Seq -> Occurrence[\"SEQUENCE\"] | TabSeq -> Occurrence[\"TABBED_SEQUENCE\"] ) int alt13=6; alt13 = dfa13.predict(input); switch (alt13) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:326:4: Star + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:323:4: Star { - Star43=(Token)match(input,Star,FOLLOW_Star_in_plural1327); + Star43=(Token)match(input,Star,FOLLOW_Star_in_plural1300); stream_Star.add(Star43); @@ -1447,7 +1445,7 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null); root_0 = (Object)adaptor.nil(); - // 326:9: -> Occurrence[\"ZERO_OR_MORE\"] + // 323:9: -> Occurrence[\"ZERO_OR_MORE\"] { adaptor.addChild(root_0, (Object)adaptor.create(Occurrence, "ZERO_OR_MORE")); @@ -1457,9 +1455,9 @@ public class SilkParser extends Parser { } break; case 2 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:327:4: Plus + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:324:4: Plus { - Plus44=(Token)match(input,Plus,FOLLOW_Plus_in_plural1337); + Plus44=(Token)match(input,Plus,FOLLOW_Plus_in_plural1310); stream_Plus.add(Plus44); @@ -1474,7 +1472,7 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null); root_0 = (Object)adaptor.nil(); - // 327:9: -> Occurrence[\"ONE_OR_MORE\"] + // 324:9: -> Occurrence[\"ONE_OR_MORE\"] { adaptor.addChild(root_0, (Object)adaptor.create(Occurrence, "ONE_OR_MORE")); @@ -1484,9 +1482,9 @@ public class SilkParser extends Parser { } break; case 3 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:328:4: Question + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:325:4: Question { - Question45=(Token)match(input,Question,FOLLOW_Question_in_plural1347); + Question45=(Token)match(input,Question,FOLLOW_Question_in_plural1320); stream_Question.add(Question45); @@ -1501,7 +1499,7 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null); root_0 = (Object)adaptor.nil(); - // 328:13: -> Occurrence[\"ZERO_OR_ONE\"] + // 325:13: -> Occurrence[\"ZERO_OR_ONE\"] { adaptor.addChild(root_0, (Object)adaptor.create(Occurrence, "ZERO_OR_ONE")); @@ -1511,9 +1509,9 @@ public class SilkParser extends Parser { } break; case 4 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:329:4: seqseq + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:326:4: seqseq { - pushFollow(FOLLOW_seqseq_in_plural1357); + pushFollow(FOLLOW_seqseq_in_plural1330); seqseq46=seqseq(); state._fsp--; @@ -1531,7 +1529,7 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null); root_0 = (Object)adaptor.nil(); - // 329:11: -> Occurrence[\"MULTILINE_SEQUENCE\"] + // 326:11: -> Occurrence[\"MULTILINE_SEQUENCE\"] { adaptor.addChild(root_0, (Object)adaptor.create(Occurrence, "MULTILINE_SEQUENCE")); @@ -1541,9 +1539,9 @@ public class SilkParser extends Parser { } break; case 5 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:330:4: Seq + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:327:4: Seq { - Seq47=(Token)match(input,Seq,FOLLOW_Seq_in_plural1367); + Seq47=(Token)match(input,Seq,FOLLOW_Seq_in_plural1340); stream_Seq.add(Seq47); @@ -1558,7 +1556,7 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null); root_0 = (Object)adaptor.nil(); - // 330:8: -> Occurrence[\"SEQUENCE\"] + // 327:8: -> Occurrence[\"SEQUENCE\"] { adaptor.addChild(root_0, (Object)adaptor.create(Occurrence, "SEQUENCE")); @@ -1568,9 +1566,9 @@ public class SilkParser extends Parser { } break; case 6 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:331:4: TabSeq + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:328:4: TabSeq { - TabSeq48=(Token)match(input,TabSeq,FOLLOW_TabSeq_in_plural1377); + TabSeq48=(Token)match(input,TabSeq,FOLLOW_TabSeq_in_plural1350); stream_TabSeq.add(TabSeq48); @@ -1585,7 +1583,7 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null); root_0 = (Object)adaptor.nil(); - // 331:11: -> Occurrence[\"TABBED_SEQUENCE\"] + // 328:11: -> Occurrence[\"TABBED_SEQUENCE\"] { adaptor.addChild(root_0, (Object)adaptor.create(Occurrence, "TABBED_SEQUENCE")); @@ -1620,7 +1618,7 @@ public class SilkParser extends Parser { }; // $ANTLR start "function" - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:334:1: function : ( NodeIndent function_i -> ^( Function NodeIndent function_i ) | FunctionIndent PlainOneLine LParen ( functionArg ( Comma functionArg )* )? RParen -> ^( Function NodeIndent[$FunctionIndent.text] Name[$PlainOneLine.text.trim()] ( functionArg )* ) ); + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:331:1: function : ( NodeIndent function_i -> ^( Function NodeIndent function_i ) | FunctionIndent PlainOneLine LParen ( functionArg ( Comma functionArg )* )? RParen -> ^( Function NodeIndent[$FunctionIndent.text] Name[$PlainOneLine.text.trim()] ( functionArg )* ) ); public final SilkParser.function_return function() throws RecognitionException { SilkParser.function_return retval = new SilkParser.function_return(); retval.start = input.LT(1); @@ -1655,7 +1653,7 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_function_i=new RewriteRuleSubtreeStream(adaptor,"rule function_i"); RewriteRuleSubtreeStream stream_functionArg=new RewriteRuleSubtreeStream(adaptor,"rule functionArg"); try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:335:2: ( NodeIndent function_i -> ^( Function NodeIndent function_i ) | FunctionIndent PlainOneLine LParen ( functionArg ( Comma functionArg )* )? RParen -> ^( Function NodeIndent[$FunctionIndent.text] Name[$PlainOneLine.text.trim()] ( functionArg )* ) ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:332:2: ( NodeIndent function_i -> ^( Function NodeIndent function_i ) | FunctionIndent PlainOneLine LParen ( functionArg ( Comma functionArg )* )? RParen -> ^( Function NodeIndent[$FunctionIndent.text] Name[$PlainOneLine.text.trim()] ( functionArg )* ) ) int alt16=2; int LA16_0 = input.LA(1); @@ -1673,12 +1671,12 @@ public class SilkParser extends Parser { } switch (alt16) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:335:4: NodeIndent function_i + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:332:4: NodeIndent function_i { - NodeIndent49=(Token)match(input,NodeIndent,FOLLOW_NodeIndent_in_function1393); + NodeIndent49=(Token)match(input,NodeIndent,FOLLOW_NodeIndent_in_function1366); stream_NodeIndent.add(NodeIndent49); - pushFollow(FOLLOW_function_i_in_function1395); + pushFollow(FOLLOW_function_i_in_function1368); function_i50=function_i(); state._fsp--; @@ -1696,9 +1694,9 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null); root_0 = (Object)adaptor.nil(); - // 336:2: -> ^( Function NodeIndent function_i ) + // 333:2: -> ^( Function NodeIndent function_i ) { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:336:5: ^( Function NodeIndent function_i ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:333:5: ^( Function NodeIndent function_i ) { Object root_1 = (Object)adaptor.nil(); root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(Function, "Function"), root_1); @@ -1715,18 +1713,18 @@ public class SilkParser extends Parser { } break; case 2 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:337:4: FunctionIndent PlainOneLine LParen ( functionArg ( Comma functionArg )* )? RParen + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:334:4: FunctionIndent PlainOneLine LParen ( functionArg ( Comma functionArg )* )? RParen { - FunctionIndent51=(Token)match(input,FunctionIndent,FOLLOW_FunctionIndent_in_function1411); + FunctionIndent51=(Token)match(input,FunctionIndent,FOLLOW_FunctionIndent_in_function1384); stream_FunctionIndent.add(FunctionIndent51); - PlainOneLine52=(Token)match(input,PlainOneLine,FOLLOW_PlainOneLine_in_function1413); + PlainOneLine52=(Token)match(input,PlainOneLine,FOLLOW_PlainOneLine_in_function1386); stream_PlainOneLine.add(PlainOneLine52); - LParen53=(Token)match(input,LParen,FOLLOW_LParen_in_function1415); + LParen53=(Token)match(input,LParen,FOLLOW_LParen_in_function1388); stream_LParen.add(LParen53); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:337:39: ( functionArg ( Comma functionArg )* )? + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:334:39: ( functionArg ( Comma functionArg )* )? int alt15=2; int LA15_0 = input.LA(1); @@ -1735,15 +1733,15 @@ public class SilkParser extends Parser { } switch (alt15) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:337:40: functionArg ( Comma functionArg )* + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:334:40: functionArg ( Comma functionArg )* { - pushFollow(FOLLOW_functionArg_in_function1418); + pushFollow(FOLLOW_functionArg_in_function1391); functionArg54=functionArg(); state._fsp--; stream_functionArg.add(functionArg54.getTree()); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:337:52: ( Comma functionArg )* + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:334:52: ( Comma functionArg )* loop14: do { int alt14=2; @@ -1756,12 +1754,12 @@ public class SilkParser extends Parser { switch (alt14) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:337:53: Comma functionArg + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:334:53: Comma functionArg { - Comma55=(Token)match(input,Comma,FOLLOW_Comma_in_function1421); + Comma55=(Token)match(input,Comma,FOLLOW_Comma_in_function1394); stream_Comma.add(Comma55); - pushFollow(FOLLOW_functionArg_in_function1423); + pushFollow(FOLLOW_functionArg_in_function1396); functionArg56=functionArg(); state._fsp--; @@ -1782,7 +1780,7 @@ public class SilkParser extends Parser { } - RParen57=(Token)match(input,RParen,FOLLOW_RParen_in_function1429); + RParen57=(Token)match(input,RParen,FOLLOW_RParen_in_function1402); stream_RParen.add(RParen57); @@ -1797,16 +1795,16 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null); root_0 = (Object)adaptor.nil(); - // 338:2: -> ^( Function NodeIndent[$FunctionIndent.text] Name[$PlainOneLine.text.trim()] ( functionArg )* ) + // 335:2: -> ^( Function NodeIndent[$FunctionIndent.text] Name[$PlainOneLine.text.trim()] ( functionArg )* ) { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:338:5: ^( Function NodeIndent[$FunctionIndent.text] Name[$PlainOneLine.text.trim()] ( functionArg )* ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:335:5: ^( Function NodeIndent[$FunctionIndent.text] Name[$PlainOneLine.text.trim()] ( functionArg )* ) { Object root_1 = (Object)adaptor.nil(); root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(Function, "Function"), root_1); adaptor.addChild(root_1, (Object)adaptor.create(NodeIndent, (FunctionIndent51!=null?FunctionIndent51.getText():null))); adaptor.addChild(root_1, (Object)adaptor.create(Name, (PlainOneLine52!=null?PlainOneLine52.getText():null).trim())); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:338:81: ( functionArg )* + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:335:81: ( functionArg )* while ( stream_functionArg.hasNext() ) { adaptor.addChild(root_1, stream_functionArg.nextTree()); @@ -1847,7 +1845,7 @@ public class SilkParser extends Parser { }; // $ANTLR start "function_i" - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:341:1: fragment function_i : At PlainOneLine LParen ( functionArg ( Comma functionArg )* )? RParen -> Name[$PlainOneLine.text.trim()] ( functionArg )* ; + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:338:1: fragment function_i : At PlainOneLine LParen ( functionArg ( Comma functionArg )* )? RParen -> Name[$PlainOneLine.text.trim()] ( functionArg )* ; public final SilkParser.function_i_return function_i() throws RecognitionException { SilkParser.function_i_return retval = new SilkParser.function_i_return(); retval.start = input.LT(1); @@ -1876,19 +1874,19 @@ public class SilkParser extends Parser { RewriteRuleTokenStream stream_LParen=new RewriteRuleTokenStream(adaptor,"token LParen"); RewriteRuleSubtreeStream stream_functionArg=new RewriteRuleSubtreeStream(adaptor,"rule functionArg"); try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:342:11: ( At PlainOneLine LParen ( functionArg ( Comma functionArg )* )? RParen -> Name[$PlainOneLine.text.trim()] ( functionArg )* ) - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:342:13: At PlainOneLine LParen ( functionArg ( Comma functionArg )* )? RParen + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:339:11: ( At PlainOneLine LParen ( functionArg ( Comma functionArg )* )? RParen -> Name[$PlainOneLine.text.trim()] ( functionArg )* ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:339:13: At PlainOneLine LParen ( functionArg ( Comma functionArg )* )? RParen { - At58=(Token)match(input,At,FOLLOW_At_in_function_i1456); + At58=(Token)match(input,At,FOLLOW_At_in_function_i1429); stream_At.add(At58); - PlainOneLine59=(Token)match(input,PlainOneLine,FOLLOW_PlainOneLine_in_function_i1458); + PlainOneLine59=(Token)match(input,PlainOneLine,FOLLOW_PlainOneLine_in_function_i1431); stream_PlainOneLine.add(PlainOneLine59); - LParen60=(Token)match(input,LParen,FOLLOW_LParen_in_function_i1460); + LParen60=(Token)match(input,LParen,FOLLOW_LParen_in_function_i1433); stream_LParen.add(LParen60); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:342:36: ( functionArg ( Comma functionArg )* )? + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:339:36: ( functionArg ( Comma functionArg )* )? int alt18=2; int LA18_0 = input.LA(1); @@ -1897,15 +1895,15 @@ public class SilkParser extends Parser { } switch (alt18) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:342:37: functionArg ( Comma functionArg )* + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:339:37: functionArg ( Comma functionArg )* { - pushFollow(FOLLOW_functionArg_in_function_i1463); + pushFollow(FOLLOW_functionArg_in_function_i1436); functionArg61=functionArg(); state._fsp--; stream_functionArg.add(functionArg61.getTree()); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:342:49: ( Comma functionArg )* + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:339:49: ( Comma functionArg )* loop17: do { int alt17=2; @@ -1918,12 +1916,12 @@ public class SilkParser extends Parser { switch (alt17) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:342:50: Comma functionArg + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:339:50: Comma functionArg { - Comma62=(Token)match(input,Comma,FOLLOW_Comma_in_function_i1466); + Comma62=(Token)match(input,Comma,FOLLOW_Comma_in_function_i1439); stream_Comma.add(Comma62); - pushFollow(FOLLOW_functionArg_in_function_i1468); + pushFollow(FOLLOW_functionArg_in_function_i1441); functionArg63=functionArg(); state._fsp--; @@ -1944,7 +1942,7 @@ public class SilkParser extends Parser { } - RParen64=(Token)match(input,RParen,FOLLOW_RParen_in_function_i1474); + RParen64=(Token)match(input,RParen,FOLLOW_RParen_in_function_i1447); stream_RParen.add(RParen64); @@ -1959,10 +1957,10 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null); root_0 = (Object)adaptor.nil(); - // 343:2: -> Name[$PlainOneLine.text.trim()] ( functionArg )* + // 340:2: -> Name[$PlainOneLine.text.trim()] ( functionArg )* { adaptor.addChild(root_0, (Object)adaptor.create(Name, (PlainOneLine59!=null?PlainOneLine59.getText():null).trim())); - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:343:37: ( functionArg )* + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:340:37: ( functionArg )* while ( stream_functionArg.hasNext() ) { adaptor.addChild(root_0, stream_functionArg.nextTree()); @@ -1998,7 +1996,7 @@ public class SilkParser extends Parser { }; // $ANTLR start "functionArg" - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:346:1: fragment functionArg : ( nodeValue -> Argument[$functionArg.text] | nodeName Colon nodeValue -> ^( KeyValuePair Key[$nodeName.text.trim()] Value[$nodeValue.text.trim()] ) ); + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:343:1: fragment functionArg : ( nodeValue -> Argument[$functionArg.text] | nodeName Colon nodeValue -> ^( KeyValuePair Key[$nodeName.text.trim()] Value[$nodeValue.text.trim()] ) ); public final SilkParser.functionArg_return functionArg() throws RecognitionException { SilkParser.functionArg_return retval = new SilkParser.functionArg_return(); retval.start = input.LT(1); @@ -2018,14 +2016,14 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_nodeName=new RewriteRuleSubtreeStream(adaptor,"rule nodeName"); RewriteRuleSubtreeStream stream_nodeValue=new RewriteRuleSubtreeStream(adaptor,"rule nodeValue"); try { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:348:2: ( nodeValue -> Argument[$functionArg.text] | nodeName Colon nodeValue -> ^( KeyValuePair Key[$nodeName.text.trim()] Value[$nodeValue.text.trim()] ) ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:345:2: ( nodeValue -> Argument[$functionArg.text] | nodeName Colon nodeValue -> ^( KeyValuePair Key[$nodeName.text.trim()] Value[$nodeValue.text.trim()] ) ) int alt19=2; alt19 = dfa19.predict(input); switch (alt19) { case 1 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:348:4: nodeValue + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:345:4: nodeValue { - pushFollow(FOLLOW_nodeValue_in_functionArg1496); + pushFollow(FOLLOW_nodeValue_in_functionArg1469); nodeValue65=nodeValue(); state._fsp--; @@ -2043,7 +2041,7 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null); root_0 = (Object)adaptor.nil(); - // 348:14: -> Argument[$functionArg.text] + // 345:14: -> Argument[$functionArg.text] { adaptor.addChild(root_0, (Object)adaptor.create(Argument, input.toString(retval.start,input.LT(-1)))); @@ -2053,18 +2051,18 @@ public class SilkParser extends Parser { } break; case 2 : - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:349:4: nodeName Colon nodeValue + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:346:4: nodeName Colon nodeValue { - pushFollow(FOLLOW_nodeName_in_functionArg1506); + pushFollow(FOLLOW_nodeName_in_functionArg1479); nodeName66=nodeName(); state._fsp--; stream_nodeName.add(nodeName66.getTree()); - Colon67=(Token)match(input,Colon,FOLLOW_Colon_in_functionArg1508); + Colon67=(Token)match(input,Colon,FOLLOW_Colon_in_functionArg1481); stream_Colon.add(Colon67); - pushFollow(FOLLOW_nodeValue_in_functionArg1510); + pushFollow(FOLLOW_nodeValue_in_functionArg1483); nodeValue68=nodeValue(); state._fsp--; @@ -2082,9 +2080,9 @@ public class SilkParser extends Parser { RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,"token retval",retval!=null?retval.tree:null); root_0 = (Object)adaptor.nil(); - // 349:29: -> ^( KeyValuePair Key[$nodeName.text.trim()] Value[$nodeValue.text.trim()] ) + // 346:29: -> ^( KeyValuePair Key[$nodeName.text.trim()] Value[$nodeValue.text.trim()] ) { - // F:\\cygwin\\home\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:349:32: ^( KeyValuePair Key[$nodeName.text.trim()] Value[$nodeValue.text.trim()] ) + // c:\\Users\\leo\\work\\eclipse\\workspace\\xerial\\xerial-core\\src\\main\\java\\org\\xerial\\silk\\impl\\Silk.g:346:32: ^( KeyValuePair Key[$nodeName.text.trim()] Value[$nodeValue.text.trim()] ) { Object root_1 = (Object)adaptor.nil(); root_1 = (Object)adaptor.becomeRoot((Object)adaptor.create(KeyValuePair, "KeyValuePair"), root_1); @@ -2141,13 +2139,13 @@ public class SilkParser extends Parser { static final String DFA1_minS = "\1\17\12\uffff"; static final String DFA1_maxS = - "\1\32\12\uffff"; + "\1\31\12\uffff"; static final String DFA1_acceptS = "\1\uffff\1\2\1\1\10\uffff"; static final String DFA1_specialS = "\13\uffff}>"; static final String[] DFA1_transitionS = { - "\1\2\1\uffff\2\2\1\uffff\5\2\1\uffff\1\2", + "\1\2\1\uffff\7\2\1\uffff\1\2", "", "", "", @@ -2190,7 +2188,7 @@ public class SilkParser extends Parser { this.transition = DFA1_transition; } public String getDescription() { - return "()* loopback of 269:11: ( silkLine )*"; + return "()* loopback of 266:11: ( silkLine )*"; } } static final String DFA2_eotS = @@ -2200,16 +2198,15 @@ public class SilkParser extends Parser { static final String DFA2_minS = "\2\17\33\uffff"; static final String DFA2_maxS = - "\1\32\1\71\33\uffff"; + "\1\31\1\67\33\uffff"; static final String DFA2_acceptS = "\2\uffff\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\2\21\uffff\1\1"; static final String DFA2_specialS = "\35\uffff}>"; static final String[] DFA2_transitionS = { - "\1\11\1\uffff\1\6\1\3\1\uffff\1\7\1\10\1\1\1\2\1\5\1\uffff"+ - "\1\4", - "\1\12\1\uffff\2\12\1\uffff\5\12\1\uffff\2\12\2\uffff\4\12"+ - "\1\2\1\12\2\uffff\1\12\7\uffff\1\34\12\uffff\1\34", + "\1\11\1\uffff\1\6\1\3\1\7\1\10\1\1\1\2\1\5\1\uffff\1\4", + "\1\12\1\uffff\7\12\1\uffff\2\12\2\uffff\4\12\1\2\1\12\2\uffff"+ + "\1\12\7\uffff\1\34\11\uffff\1\34", "", "", "", @@ -2269,7 +2266,7 @@ public class SilkParser extends Parser { this.transition = DFA2_transition; } public String getDescription() { - return "272:1: silkLine : ( NodeIndent nodeItem -> ^( SilkNode NodeIndent nodeItem ) | noNameNode | function | Preamble | DataLine | BlankLine | LineComment | MultiLineSeparator | MultiLineEntrySeparator | WhiteSpace -> BlankLine );"; + return "269:1: silkLine : ( NodeIndent nodeItem -> ^( SilkNode NodeIndent nodeItem ) | noNameNode | function | Preamble | DataLine | BlankLine | LineComment | MultiLineSeparator | MultiLineEntrySeparator | WhiteSpace -> BlankLine );"; } } static final String DFA5_eotS = @@ -2279,14 +2276,14 @@ public class SilkParser extends Parser { static final String DFA5_minS = "\1\17\21\uffff"; static final String DFA5_maxS = - "\1\46\21\uffff"; + "\1\45\21\uffff"; static final String DFA5_acceptS = "\1\uffff\1\1\1\2\17\uffff"; static final String DFA5_specialS = "\22\uffff}>"; static final String[] DFA5_transitionS = { - "\1\2\1\uffff\2\2\1\uffff\5\2\1\uffff\1\2\1\1\2\uffff\4\2\1"+ - "\uffff\1\2\2\uffff\1\2", + "\1\2\1\uffff\7\2\1\uffff\1\2\1\1\2\uffff\4\2\1\uffff\1\2\2"+ + "\uffff\1\2", "", "", "", @@ -2336,7 +2333,7 @@ public class SilkParser extends Parser { this.transition = DFA5_transition; } public String getDescription() { - return "297:24: ( LParen attributeList RParen )?"; + return "294:24: ( LParen attributeList RParen )?"; } } static final String DFA6_eotS = @@ -2346,14 +2343,14 @@ public class SilkParser extends Parser { static final String DFA6_minS = "\1\17\20\uffff"; static final String DFA6_maxS = - "\1\46\20\uffff"; + "\1\45\20\uffff"; static final String DFA6_acceptS = "\1\uffff\1\1\4\uffff\1\2\12\uffff"; static final String DFA6_specialS = "\21\uffff}>"; static final String[] DFA6_transitionS = { - "\1\6\1\uffff\2\6\1\uffff\5\6\1\uffff\1\6\3\uffff\1\6\3\1\1"+ - "\uffff\1\1\2\uffff\1\1", + "\1\6\1\uffff\7\6\1\uffff\1\6\3\uffff\1\6\3\1\1\uffff\1\1\2"+ + "\uffff\1\1", "", "", "", @@ -2402,7 +2399,7 @@ public class SilkParser extends Parser { this.transition = DFA6_transition; } public String getDescription() { - return "297:55: ( plural )?"; + return "294:55: ( plural )?"; } } static final String DFA7_eotS = @@ -2412,13 +2409,13 @@ public class SilkParser extends Parser { static final String DFA7_minS = "\1\17\13\uffff"; static final String DFA7_maxS = - "\1\36\13\uffff"; + "\1\35\13\uffff"; static final String DFA7_acceptS = "\1\uffff\1\1\1\2\11\uffff"; static final String DFA7_specialS = "\14\uffff}>"; static final String[] DFA7_transitionS = { - "\1\2\1\uffff\2\2\1\uffff\5\2\1\uffff\1\2\3\uffff\1\1", + "\1\2\1\uffff\7\2\1\uffff\1\2\3\uffff\1\1", "", "", "", @@ -2462,7 +2459,7 @@ public class SilkParser extends Parser { this.transition = DFA7_transition; } public String getDescription() { - return "297:63: ( Colon nodeValue )?"; + return "294:63: ( Colon nodeValue )?"; } } static final String DFA8_eotS = @@ -2472,14 +2469,13 @@ public class SilkParser extends Parser { static final String DFA8_minS = "\1\17\24\uffff"; static final String DFA8_maxS = - "\1\46\24\uffff"; + "\1\45\24\uffff"; static final String DFA8_acceptS = "\1\uffff\1\1\1\2\22\uffff"; static final String DFA8_specialS = "\25\uffff}>"; static final String[] DFA8_transitionS = { - "\1\2\1\uffff\2\2\1\uffff\5\2\1\uffff\10\2\1\uffff\1\2\1\1\1"+ - "\uffff\1\2", + "\1\2\1\uffff\7\2\1\uffff\10\2\1\uffff\1\2\1\1\1\uffff\1\2", "", "", "", @@ -2532,7 +2528,7 @@ public class SilkParser extends Parser { this.transition = DFA8_transition; } public String getDescription() { - return "302:20: ( dataType )?"; + return "299:20: ( dataType )?"; } } static final String DFA9_eotS = @@ -2542,14 +2538,14 @@ public class SilkParser extends Parser { static final String DFA9_minS = "\1\17\23\uffff"; static final String DFA9_maxS = - "\1\46\23\uffff"; + "\1\45\23\uffff"; static final String DFA9_acceptS = "\1\uffff\1\1\1\2\21\uffff"; static final String DFA9_specialS = "\24\uffff}>"; static final String[] DFA9_transitionS = { - "\1\2\1\uffff\2\2\1\uffff\5\2\1\uffff\1\2\1\1\6\2\1\uffff\1"+ - "\2\2\uffff\1\2", + "\1\2\1\uffff\7\2\1\uffff\1\2\1\1\6\2\1\uffff\1\2\2\uffff\1"+ + "\2", "", "", "", @@ -2601,7 +2597,7 @@ public class SilkParser extends Parser { this.transition = DFA9_transition; } public String getDescription() { - return "302:31: ( LParen attributeList RParen )?"; + return "299:31: ( LParen attributeList RParen )?"; } } static final String DFA10_eotS = @@ -2611,14 +2607,14 @@ public class SilkParser extends Parser { static final String DFA10_minS = "\1\17\22\uffff"; static final String DFA10_maxS = - "\1\46\22\uffff"; + "\1\45\22\uffff"; static final String DFA10_acceptS = "\1\uffff\1\1\4\uffff\1\2\14\uffff"; static final String DFA10_specialS = "\23\uffff}>"; static final String[] DFA10_transitionS = { - "\1\6\1\uffff\2\6\1\uffff\5\6\1\uffff\1\6\1\uffff\3\6\3\1\1"+ - "\uffff\1\1\2\uffff\1\1", + "\1\6\1\uffff\7\6\1\uffff\1\6\1\uffff\3\6\3\1\1\uffff\1\1\2"+ + "\uffff\1\1", "", "", "", @@ -2669,7 +2665,7 @@ public class SilkParser extends Parser { this.transition = DFA10_transition; } public String getDescription() { - return "302:62: ( plural )?"; + return "299:62: ( plural )?"; } } static final String DFA11_eotS = @@ -2679,13 +2675,13 @@ public class SilkParser extends Parser { static final String DFA11_minS = "\1\17\15\uffff"; static final String DFA11_maxS = - "\1\36\15\uffff"; + "\1\35\15\uffff"; static final String DFA11_acceptS = "\1\uffff\1\1\1\2\13\uffff"; static final String DFA11_specialS = "\16\uffff}>"; static final String[] DFA11_transitionS = { - "\1\2\1\uffff\2\2\1\uffff\5\2\1\uffff\1\2\1\uffff\2\2\1\1", + "\1\2\1\uffff\7\2\1\uffff\1\2\1\uffff\2\2\1\1", "", "", "", @@ -2731,7 +2727,7 @@ public class SilkParser extends Parser { this.transition = DFA11_transition; } public String getDescription() { - return "302:70: ( Colon nodeValue )?"; + return "299:70: ( Colon nodeValue )?"; } } static final String DFA13_eotS = @@ -2739,9 +2735,9 @@ public class SilkParser extends Parser { static final String DFA13_eofS = "\4\uffff\1\7\17\uffff"; static final String DFA13_minS = - "\1\37\3\uffff\1\17\17\uffff"; + "\1\36\3\uffff\1\17\17\uffff"; static final String DFA13_maxS = - "\1\46\3\uffff\1\37\17\uffff"; + "\1\45\3\uffff\1\36\17\uffff"; static final String DFA13_acceptS = "\1\uffff\1\1\1\2\1\3\1\uffff\1\6\1\4\1\5\14\uffff"; static final String DFA13_specialS = @@ -2751,7 +2747,7 @@ public class SilkParser extends Parser { "", "", "", - "\1\7\1\uffff\2\7\1\uffff\5\7\1\uffff\1\7\1\uffff\3\7\1\6", + "\1\7\1\uffff\7\7\1\uffff\1\7\1\uffff\3\7\1\6", "", "", "", @@ -2799,7 +2795,7 @@ public class SilkParser extends Parser { this.transition = DFA13_transition; } public String getDescription() { - return "324:1: fragment plural : ( Star -> Occurrence[\"ZERO_OR_MORE\"] | Plus -> Occurrence[\"ONE_OR_MORE\"] | Question -> Occurrence[\"ZERO_OR_ONE\"] | seqseq -> Occurrence[\"MULTILINE_SEQUENCE\"] | Seq -> Occurrence[\"SEQUENCE\"] | TabSeq -> Occurrence[\"TABBED_SEQUENCE\"] );"; + return "321:1: fragment plural : ( Star -> Occurrence[\"ZERO_OR_MORE\"] | Plus -> Occurrence[\"ONE_OR_MORE\"] | Question -> Occurrence[\"ZERO_OR_ONE\"] | seqseq -> Occurrence[\"MULTILINE_SEQUENCE\"] | Seq -> Occurrence[\"SEQUENCE\"] | TabSeq -> Occurrence[\"TABBED_SEQUENCE\"] );"; } } static final String DFA19_eotS = @@ -2807,15 +2803,15 @@ public class SilkParser extends Parser { static final String DFA19_eofS = "\13\uffff"; static final String DFA19_minS = - "\1\42\1\uffff\2\34\7\uffff"; + "\1\41\1\uffff\2\33\7\uffff"; static final String DFA19_maxS = - "\1\72\1\uffff\2\36\7\uffff"; + "\1\70\1\uffff\2\35\7\uffff"; static final String DFA19_acceptS = "\1\uffff\1\1\3\uffff\1\2\5\uffff"; static final String DFA19_specialS = "\13\uffff}>"; static final String[] DFA19_transitionS = { - "\1\1\13\uffff\1\3\12\uffff\1\2\1\1", + "\1\1\13\uffff\1\3\11\uffff\1\2\1\1", "", "\2\1\1\5", "\2\1\1\5", @@ -2858,78 +2854,78 @@ public class SilkParser extends Parser { this.transition = DFA19_transition; } public String getDescription() { - return "346:1: fragment functionArg : ( nodeValue -> Argument[$functionArg.text] | nodeName Colon nodeValue -> ^( KeyValuePair Key[$nodeName.text.trim()] Value[$nodeValue.text.trim()] ) );"; + return "343:1: fragment functionArg : ( nodeValue -> Argument[$functionArg.text] | nodeName Colon nodeValue -> ^( KeyValuePair Key[$nodeName.text.trim()] Value[$nodeValue.text.trim()] ) );"; } } - public static final BitSet FOLLOW_silkLine_in_silkFile984 = new BitSet(new long[]{0x0000000005F68002L}); - public static final BitSet FOLLOW_NodeIndent_in_silkLine1005 = new BitSet(new long[]{0x0200400000000000L}); - public static final BitSet FOLLOW_nodeItem_in_silkLine1007 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_noNameNode_in_silkLine1022 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_function_in_silkLine1028 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_Preamble_in_silkLine1033 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_DataLine_in_silkLine1038 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_BlankLine_in_silkLine1043 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_LineComment_in_silkLine1048 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_MultiLineSeparator_in_silkLine1053 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_MultiLineEntrySeparator_in_silkLine1058 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_WhiteSpace_in_silkLine1063 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_silkLine_in_silkFile957 = new BitSet(new long[]{0x0000000002FE8002L}); + public static final BitSet FOLLOW_NodeIndent_in_silkLine978 = new BitSet(new long[]{0x0080200000000000L}); + public static final BitSet FOLLOW_nodeItem_in_silkLine980 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_noNameNode_in_silkLine995 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_function_in_silkLine1001 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_Preamble_in_silkLine1006 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_DataLine_in_silkLine1011 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_BlankLine_in_silkLine1016 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_LineComment_in_silkLine1021 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_MultiLineSeparator_in_silkLine1026 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_MultiLineEntrySeparator_in_silkLine1031 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_WhiteSpace_in_silkLine1036 = new BitSet(new long[]{0x0000000000000002L}); public static final BitSet FOLLOW_set_in_nodeName0 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_function_i_in_nodeValue1093 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_PlainOneLine_in_nodeValue1107 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_String_in_nodeValue1111 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_JSON_in_nodeValue1122 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_NodeIndent_in_noNameNode1136 = new BitSet(new long[]{0x0000004BC8000002L}); - public static final BitSet FOLLOW_LParen_in_noNameNode1139 = new BitSet(new long[]{0x0200400000000000L}); - public static final BitSet FOLLOW_attributeList_in_noNameNode1141 = new BitSet(new long[]{0x0000000010000000L}); - public static final BitSet FOLLOW_RParen_in_noNameNode1143 = new BitSet(new long[]{0x0000004BC0000002L}); - public static final BitSet FOLLOW_plural_in_noNameNode1147 = new BitSet(new long[]{0x0000000040000002L}); - public static final BitSet FOLLOW_Colon_in_noNameNode1151 = new BitSet(new long[]{0x0600400400000000L}); - public static final BitSet FOLLOW_nodeValue_in_noNameNode1153 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_nodeName_in_nodeItem1186 = new BitSet(new long[]{0x0000005BC8000002L}); - public static final BitSet FOLLOW_dataType_in_nodeItem1188 = new BitSet(new long[]{0x0000004BC8000002L}); - public static final BitSet FOLLOW_LParen_in_nodeItem1193 = new BitSet(new long[]{0x0200400000000000L}); - public static final BitSet FOLLOW_attributeList_in_nodeItem1195 = new BitSet(new long[]{0x0000000010000000L}); - public static final BitSet FOLLOW_RParen_in_nodeItem1197 = new BitSet(new long[]{0x0000004BC0000002L}); - public static final BitSet FOLLOW_plural_in_nodeItem1201 = new BitSet(new long[]{0x0000000040000002L}); - public static final BitSet FOLLOW_Colon_in_nodeItem1205 = new BitSet(new long[]{0x0600400400000000L}); - public static final BitSet FOLLOW_nodeValue_in_nodeItem1207 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_LBracket_in_dataType1240 = new BitSet(new long[]{0x0200000000000000L}); - public static final BitSet FOLLOW_dataTypeName_in_dataType1243 = new BitSet(new long[]{0x0000002000000000L}); - public static final BitSet FOLLOW_RBracket_in_dataType1245 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_PlainOneLine_in_dataTypeName1258 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_attributeItem_in_attributeList1278 = new BitSet(new long[]{0x0000000020000002L}); - public static final BitSet FOLLOW_Comma_in_attributeList1281 = new BitSet(new long[]{0x0200400000000000L}); - public static final BitSet FOLLOW_attributeItem_in_attributeList1284 = new BitSet(new long[]{0x0000000020000002L}); - public static final BitSet FOLLOW_nodeItem_in_attributeItem1297 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_Seq_in_seqseq1314 = new BitSet(new long[]{0x0000000080000000L}); - public static final BitSet FOLLOW_Seq_in_seqseq1316 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_Star_in_plural1327 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_Plus_in_plural1337 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_Question_in_plural1347 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_seqseq_in_plural1357 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_Seq_in_plural1367 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_TabSeq_in_plural1377 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_NodeIndent_in_function1393 = new BitSet(new long[]{0x0000000400000000L}); - public static final BitSet FOLLOW_function_i_in_function1395 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_FunctionIndent_in_function1411 = new BitSet(new long[]{0x0200000000000000L}); - public static final BitSet FOLLOW_PlainOneLine_in_function1413 = new BitSet(new long[]{0x0000000008000000L}); - public static final BitSet FOLLOW_LParen_in_function1415 = new BitSet(new long[]{0x0600400410000000L}); - public static final BitSet FOLLOW_functionArg_in_function1418 = new BitSet(new long[]{0x0000000030000000L}); - public static final BitSet FOLLOW_Comma_in_function1421 = new BitSet(new long[]{0x0600400400000000L}); - public static final BitSet FOLLOW_functionArg_in_function1423 = new BitSet(new long[]{0x0000000030000000L}); - public static final BitSet FOLLOW_RParen_in_function1429 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_At_in_function_i1456 = new BitSet(new long[]{0x0200000000000000L}); - public static final BitSet FOLLOW_PlainOneLine_in_function_i1458 = new BitSet(new long[]{0x0000000008000000L}); - public static final BitSet FOLLOW_LParen_in_function_i1460 = new BitSet(new long[]{0x0600400410000000L}); - public static final BitSet FOLLOW_functionArg_in_function_i1463 = new BitSet(new long[]{0x0000000030000000L}); - public static final BitSet FOLLOW_Comma_in_function_i1466 = new BitSet(new long[]{0x0600400400000000L}); - public static final BitSet FOLLOW_functionArg_in_function_i1468 = new BitSet(new long[]{0x0000000030000000L}); - public static final BitSet FOLLOW_RParen_in_function_i1474 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_nodeValue_in_functionArg1496 = new BitSet(new long[]{0x0000000000000002L}); - public static final BitSet FOLLOW_nodeName_in_functionArg1506 = new BitSet(new long[]{0x0000000040000000L}); - public static final BitSet FOLLOW_Colon_in_functionArg1508 = new BitSet(new long[]{0x0600400400000000L}); - public static final BitSet FOLLOW_nodeValue_in_functionArg1510 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_function_i_in_nodeValue1066 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_PlainOneLine_in_nodeValue1080 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_String_in_nodeValue1084 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_JSON_in_nodeValue1095 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_NodeIndent_in_noNameNode1109 = new BitSet(new long[]{0x00000025E4000002L}); + public static final BitSet FOLLOW_LParen_in_noNameNode1112 = new BitSet(new long[]{0x0080200000000000L}); + public static final BitSet FOLLOW_attributeList_in_noNameNode1114 = new BitSet(new long[]{0x0000000008000000L}); + public static final BitSet FOLLOW_RParen_in_noNameNode1116 = new BitSet(new long[]{0x00000025E0000002L}); + public static final BitSet FOLLOW_plural_in_noNameNode1120 = new BitSet(new long[]{0x0000000020000002L}); + public static final BitSet FOLLOW_Colon_in_noNameNode1124 = new BitSet(new long[]{0x0180200200000000L}); + public static final BitSet FOLLOW_nodeValue_in_noNameNode1126 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_nodeName_in_nodeItem1159 = new BitSet(new long[]{0x0000002DE4000002L}); + public static final BitSet FOLLOW_dataType_in_nodeItem1161 = new BitSet(new long[]{0x00000025E4000002L}); + public static final BitSet FOLLOW_LParen_in_nodeItem1166 = new BitSet(new long[]{0x0080200000000000L}); + public static final BitSet FOLLOW_attributeList_in_nodeItem1168 = new BitSet(new long[]{0x0000000008000000L}); + public static final BitSet FOLLOW_RParen_in_nodeItem1170 = new BitSet(new long[]{0x00000025E0000002L}); + public static final BitSet FOLLOW_plural_in_nodeItem1174 = new BitSet(new long[]{0x0000000020000002L}); + public static final BitSet FOLLOW_Colon_in_nodeItem1178 = new BitSet(new long[]{0x0180200200000000L}); + public static final BitSet FOLLOW_nodeValue_in_nodeItem1180 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_LBracket_in_dataType1213 = new BitSet(new long[]{0x0080000000000000L}); + public static final BitSet FOLLOW_dataTypeName_in_dataType1216 = new BitSet(new long[]{0x0000001000000000L}); + public static final BitSet FOLLOW_RBracket_in_dataType1218 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_PlainOneLine_in_dataTypeName1231 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_attributeItem_in_attributeList1251 = new BitSet(new long[]{0x0000000010000002L}); + public static final BitSet FOLLOW_Comma_in_attributeList1254 = new BitSet(new long[]{0x0080200000000000L}); + public static final BitSet FOLLOW_attributeItem_in_attributeList1257 = new BitSet(new long[]{0x0000000010000002L}); + public static final BitSet FOLLOW_nodeItem_in_attributeItem1270 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_Seq_in_seqseq1287 = new BitSet(new long[]{0x0000000040000000L}); + public static final BitSet FOLLOW_Seq_in_seqseq1289 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_Star_in_plural1300 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_Plus_in_plural1310 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_Question_in_plural1320 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_seqseq_in_plural1330 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_Seq_in_plural1340 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_TabSeq_in_plural1350 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_NodeIndent_in_function1366 = new BitSet(new long[]{0x0000000200000000L}); + public static final BitSet FOLLOW_function_i_in_function1368 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_FunctionIndent_in_function1384 = new BitSet(new long[]{0x0080000000000000L}); + public static final BitSet FOLLOW_PlainOneLine_in_function1386 = new BitSet(new long[]{0x0000000004000000L}); + public static final BitSet FOLLOW_LParen_in_function1388 = new BitSet(new long[]{0x0180200208000000L}); + public static final BitSet FOLLOW_functionArg_in_function1391 = new BitSet(new long[]{0x0000000018000000L}); + public static final BitSet FOLLOW_Comma_in_function1394 = new BitSet(new long[]{0x0180200200000000L}); + public static final BitSet FOLLOW_functionArg_in_function1396 = new BitSet(new long[]{0x0000000018000000L}); + public static final BitSet FOLLOW_RParen_in_function1402 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_At_in_function_i1429 = new BitSet(new long[]{0x0080000000000000L}); + public static final BitSet FOLLOW_PlainOneLine_in_function_i1431 = new BitSet(new long[]{0x0000000004000000L}); + public static final BitSet FOLLOW_LParen_in_function_i1433 = new BitSet(new long[]{0x0180200208000000L}); + public static final BitSet FOLLOW_functionArg_in_function_i1436 = new BitSet(new long[]{0x0000000018000000L}); + public static final BitSet FOLLOW_Comma_in_function_i1439 = new BitSet(new long[]{0x0180200200000000L}); + public static final BitSet FOLLOW_functionArg_in_function_i1441 = new BitSet(new long[]{0x0000000018000000L}); + public static final BitSet FOLLOW_RParen_in_function_i1447 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_nodeValue_in_functionArg1469 = new BitSet(new long[]{0x0000000000000002L}); + public static final BitSet FOLLOW_nodeName_in_functionArg1479 = new BitSet(new long[]{0x0000000020000000L}); + public static final BitSet FOLLOW_Colon_in_functionArg1481 = new BitSet(new long[]{0x0180200200000000L}); + public static final BitSet FOLLOW_nodeValue_in_functionArg1483 = new BitSet(new long[]{0x0000000000000002L}); } \ No newline at end of file -- 2.11.0