private void mID() { EnterRule_ID(); EnterRule("ID", 8); TraceIn("ID", 8); try { int _type = ID; int _channel = DefaultTokenChannel; // C:\\Users\\mjr\\src\\TypeSql\\TypeSql\\Parsing\\TypeSql.g:64:5: ( ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | DIGIT | '_' )* ) DebugEnterAlt(1); // C:\\Users\\mjr\\src\\TypeSql\\TypeSql\\Parsing\\TypeSql.g:65:2: ( 'a' .. 'z' | 'A' .. 'Z' | '_' ) ( 'a' .. 'z' | 'A' .. 'Z' | DIGIT | '_' )* { DebugLocation(65, 2); if ((input.LA(1)>='A' && input.LA(1)<='Z')||input.LA(1)=='_'||(input.LA(1)>='a' && input.LA(1)<='z')) { input.Consume(); } else { MismatchedSetException mse = new MismatchedSetException(null,input); DebugRecognitionException(mse); Recover(mse); throw mse; } DebugLocation(65, 26); // C:\\Users\\mjr\\src\\TypeSql\\TypeSql\\Parsing\\TypeSql.g:65:26: ( 'a' .. 'z' | 'A' .. 'Z' | DIGIT | '_' )* try { DebugEnterSubRule(1); while (true) { int alt1=2; try { DebugEnterDecision(1, false); int LA1_0 = input.LA(1); if (((LA1_0>='0' && LA1_0<='9')||(LA1_0>='A' && LA1_0<='Z')||LA1_0=='_'||(LA1_0>='a' && LA1_0<='z'))) { alt1 = 1; } } finally { DebugExitDecision(1); } switch ( alt1 ) { case 1: DebugEnterAlt(1); // C:\\Users\\mjr\\src\\TypeSql\\TypeSql\\Parsing\\TypeSql.g: { DebugLocation(65, 26); input.Consume(); } break; default: goto loop1; } } loop1: ; } finally { DebugExitSubRule(1); } } state.type = _type; state.channel = _channel; } finally { TraceOut("ID", 8); LeaveRule("ID", 8); LeaveRule_ID(); } }
private void mDIGIT() { EnterRule_DIGIT(); EnterRule("DIGIT", 9); TraceIn("DIGIT", 9); try { // C:\\Users\\mjr\\src\\TypeSql\\TypeSql\\Parsing\\TypeSql.g:68:17: ( '0' .. '9' ) DebugEnterAlt(1); // C:\\Users\\mjr\\src\\TypeSql\\TypeSql\\Parsing\\TypeSql.g: { DebugLocation(68, 17); if ((input.LA(1)>='0' && input.LA(1)<='9')) { input.Consume(); } else { MismatchedSetException mse = new MismatchedSetException(null,input); DebugRecognitionException(mse); Recover(mse); throw mse; } } } finally { TraceOut("DIGIT", 9); LeaveRule("DIGIT", 9); LeaveRule_DIGIT(); } }
private void mUSING() { EnterRule_USING(); EnterRule("USING", 7); TraceIn("USING", 7); try { int _type = USING; int _channel = DefaultTokenChannel; // C:\\Users\\mjr\\src\\TypeSql\\TypeSql\\Parsing\\TypeSql.g:62:7: ( ( 'U' | 'u' ) ( 'S' | 's' ) ( 'I' | 'i' ) ( 'N' | 'n' ) ( 'G' | 'g' ) ) DebugEnterAlt(1); // C:\\Users\\mjr\\src\\TypeSql\\TypeSql\\Parsing\\TypeSql.g:62:9: ( 'U' | 'u' ) ( 'S' | 's' ) ( 'I' | 'i' ) ( 'N' | 'n' ) ( 'G' | 'g' ) { DebugLocation(62, 9); if (input.LA(1)=='U'||input.LA(1)=='u') { input.Consume(); } else { MismatchedSetException mse = new MismatchedSetException(null,input); DebugRecognitionException(mse); Recover(mse); throw mse; } DebugLocation(62, 18); if (input.LA(1)=='S'||input.LA(1)=='s') { input.Consume(); } else { MismatchedSetException mse = new MismatchedSetException(null,input); DebugRecognitionException(mse); Recover(mse); throw mse; } DebugLocation(62, 27); if (input.LA(1)=='I'||input.LA(1)=='i') { input.Consume(); } else { MismatchedSetException mse = new MismatchedSetException(null,input); DebugRecognitionException(mse); Recover(mse); throw mse; } DebugLocation(62, 36); if (input.LA(1)=='N'||input.LA(1)=='n') { input.Consume(); } else { MismatchedSetException mse = new MismatchedSetException(null,input); DebugRecognitionException(mse); Recover(mse); throw mse; } DebugLocation(62, 45); if (input.LA(1)=='G'||input.LA(1)=='g') { input.Consume(); } else { MismatchedSetException mse = new MismatchedSetException(null,input); DebugRecognitionException(mse); Recover(mse); throw mse; } } state.type = _type; state.channel = _channel; } finally { TraceOut("USING", 7); LeaveRule("USING", 7); LeaveRule_USING(); } }