protected internal int DFA8_SpecialStateTransition(DFA dfa, int s, IIntStream _input) //throws NoViableAltException { IIntStream input = _input; int _s = s; switch (s) { case 0: int LA8_18 = input.LA(1); s = -1; if (((LA8_18 >= '\u0000' && LA8_18 <= '\uFFFF'))) { s = 43; } else { s = 42; } if (s >= 0) { return(s); } break; } NoViableAltException nvae8 = new NoViableAltException(dfa.Description, 8, _s, input); dfa.Error(nvae8); throw nvae8; }
private int SpecialStateTransition2(DFA dfa, int s, IIntStream _input) { IIntStream input = _input; int _s = s; switch (s) { case 0: int LA2_8 = input.LA(1); s = -1; if (((LA2_8 >= '\u0000' && LA2_8 <= '\b') || (LA2_8 >= '\u000B' && LA2_8 <= '\f') || (LA2_8 >= '\u000E' && LA2_8 <= '\u001F') || (LA2_8 >= '!' && LA2_8 <= '\'') || (LA2_8 >= '*' && LA2_8 <= '\uFFFF'))) { s = 6; } else { s = 10; } if (s >= 0) { return(s); } break; case 1: int LA2_9 = input.LA(1); s = -1; if (((LA2_9 >= '\u0000' && LA2_9 <= '\b') || (LA2_9 >= '\u000B' && LA2_9 <= '\f') || (LA2_9 >= '\u000E' && LA2_9 <= '\u001F') || (LA2_9 >= '!' && LA2_9 <= '\'') || (LA2_9 >= '*' && LA2_9 <= '\uFFFF'))) { s = 6; } else { s = 11; } if (s >= 0) { return(s); } break; } NoViableAltException nvae = new NoViableAltException(dfa.Description, 2, _s, input); dfa.Error(nvae); throw nvae; }
private int SpecialStateTransition9(DFA dfa, int s, IIntStream _input) { IIntStream input = _input; int _s = s; switch (s) { case 0: int LA9_0 = input.LA(1); s = -1; if ((LA9_0 == 'a')) { s = 1; } else if ((LA9_0 == 'b')) { s = 2; } else if ((LA9_0 == 'd')) { s = 3; } else if ((LA9_0 == 'e')) { s = 4; } else if ((LA9_0 == 'f')) { s = 5; } else if ((LA9_0 == 'i')) { s = 6; } else if ((LA9_0 == 'l')) { s = 7; } else if ((LA9_0 == 'n')) { s = 8; } else if ((LA9_0 == 'o')) { s = 9; } else if ((LA9_0 == 't')) { s = 10; } else if ((LA9_0 == 'v')) { s = 11; } else if ((LA9_0 == 'w')) { s = 12; } else if ((LA9_0 == 's')) { s = 13; } else if (((LA9_0 >= 'A' && LA9_0 <= 'Z') || LA9_0 == 'c' || (LA9_0 >= 'g' && LA9_0 <= 'h') || (LA9_0 >= 'j' && LA9_0 <= 'k') || LA9_0 == 'm' || (LA9_0 >= 'p' && LA9_0 <= 'r') || LA9_0 == 'u' || (LA9_0 >= 'x' && LA9_0 <= 'z'))) { s = 14; } else if (((LA9_0 >= '0' && LA9_0 <= '9'))) { s = 15; } else if ((LA9_0 == '\"')) { s = 16; } else if (((LA9_0 >= '\t' && LA9_0 <= '\n') || LA9_0 == '\r' || LA9_0 == ' ')) { s = 17; } else if ((LA9_0 == '/')) { s = 18; } else if (((LA9_0 >= '\u0000' && LA9_0 <= '\b') || (LA9_0 >= '\u000B' && LA9_0 <= '\f') || (LA9_0 >= '\u000E' && LA9_0 <= '\u001F') || LA9_0 == '!' || (LA9_0 >= '#' && LA9_0 <= '.') || (LA9_0 >= ':' && LA9_0 <= '@') || (LA9_0 >= '[' && LA9_0 <= '`') || (LA9_0 >= '{' && LA9_0 <= '\uFFFF'))) { s = 19; } if (s >= 0) { return(s); } break; case 1: int LA9_16 = input.LA(1); s = -1; if (((LA9_16 >= '\u0000' && LA9_16 <= '\uFFFF'))) { s = 40; } else { s = 19; } if (s >= 0) { return(s); } break; } NoViableAltException nvae = new NoViableAltException(dfa.Description, 9, _s, input); dfa.Error(nvae); throw nvae; }