public final void mUnicodeBOM() throws RecognitionException { try { int _type = UnicodeBOM; int _channel = DEFAULT_TOKEN_CHANNEL; // org/antlr/v4/parse/ANTLRLexer.g:798:5: ( '\\uFEFF' ) // org/antlr/v4/parse/ANTLRLexer.g:798:9: '\\uFEFF' { match('\uFEFF'); if (state.failed) return; if ( state.backtracking==0 ) {skip();} } state.type = _type; state.channel = _channel; } finally { // do for sure before leaving } } // $ANTLR end "UnicodeBOM"
public final void mUnicodeBOM() throws RecognitionException { try { int _type = UnicodeBOM; int _channel = DEFAULT_TOKEN_CHANNEL; // /Users/parrt/antlr/code/antlr4/tool/src/org/antlr/v4/parse/ANTLRLexer.g:772:5: ( '\\uFEFF' ) // /Users/parrt/antlr/code/antlr4/tool/src/org/antlr/v4/parse/ANTLRLexer.g:772:9: '\\uFEFF' { match('\uFEFF'); if (state.failed) return; if ( state.backtracking==0 ) {skip();} } state.type = _type; state.channel = _channel; } finally { // do for sure before leaving } } // $ANTLR end "UnicodeBOM"
public final void mUnicodeBOM() throws RecognitionException { try { int _type = UnicodeBOM; int _channel = DEFAULT_TOKEN_CHANNEL; // org/antlr/v4/parse/ANTLRLexer.g:772:5: ( '\\uFEFF' ) // org/antlr/v4/parse/ANTLRLexer.g:772:9: '\\uFEFF' { match('\uFEFF'); if (state.failed) return; if ( state.backtracking==0 ) {skip();} } state.type = _type; state.channel = _channel; } finally { // do for sure before leaving } } // $ANTLR end "UnicodeBOM"
public final void mUnicodeBOM() throws RecognitionException { try { int _type = UnicodeBOM; int _channel = DEFAULT_TOKEN_CHANNEL; // org/antlr/v4/parse/ANTLRLexer.g:798:5: ( '\\uFEFF' ) // org/antlr/v4/parse/ANTLRLexer.g:798:9: '\\uFEFF' { match('\uFEFF'); if (state.failed) return; if ( state.backtracking==0 ) {skip();} } state.type = _type; state.channel = _channel; } finally { // do for sure before leaving } } // $ANTLR end "UnicodeBOM"
public final void mUnicodeBOM() throws RecognitionException { try { int _type = UnicodeBOM; int _channel = DEFAULT_TOKEN_CHANNEL; // org\\antlr\\v4\\parse\\ANTLRLexer.g:752:5: ( '\\uFEFF' ) // org\\antlr\\v4\\parse\\ANTLRLexer.g:752:9: '\\uFEFF' { match('\uFEFF'); if (state.failed) return; if ( state.backtracking==0 ) {skip();} } state.type = _type; state.channel = _channel; } finally { // do for sure before leaving } } // $ANTLR end "UnicodeBOM"
public final void mERRCHAR() throws RecognitionException { try { int _type = ERRCHAR; int _channel = DEFAULT_TOKEN_CHANNEL; // org/antlr/v4/parse/ANTLRLexer.g:787:5: ( . ) // org/antlr/v4/parse/ANTLRLexer.g:787:7: . { matchAny(); if (state.failed) return; if ( state.backtracking==0 ) { Token t = new CommonToken(input, state.type, state.channel, state.tokenStartCharIndex, getCharIndex()-1); t.setLine(state.tokenStartLine); t.setText(state.text); t.setCharPositionInLine(state.tokenStartCharPositionInLine); String msg = getTokenErrorDisplay(t) + " came as a complete surprise to me"; grammarError(ErrorType.SYNTAX_ERROR, t, msg); state.syntaxErrors++; skip(); } } state.type = _type; state.channel = _channel; } finally { // do for sure before leaving } } // $ANTLR end "ERRCHAR"
public final void mERRCHAR() throws RecognitionException { try { int _type = ERRCHAR; int _channel = DEFAULT_TOKEN_CHANNEL; // org/antlr/v4/parse/ANTLRLexer.g:813:5: ( . ) // org/antlr/v4/parse/ANTLRLexer.g:813:7: . { matchAny(); if (state.failed) return; if ( state.backtracking==0 ) { Token t = new CommonToken(input, state.type, state.channel, state.tokenStartCharIndex, getCharIndex()-1); t.setLine(state.tokenStartLine); t.setText(state.text); t.setCharPositionInLine(state.tokenStartCharPositionInLine); String msg = getTokenErrorDisplay(t) + " came as a complete surprise to me"; grammarError(ErrorType.SYNTAX_ERROR, t, msg); state.syntaxErrors++; skip(); } } state.type = _type; state.channel = _channel; } finally { // do for sure before leaving } } // $ANTLR end "ERRCHAR"
public final void mERRCHAR() throws RecognitionException { try { int _type = ERRCHAR; int _channel = DEFAULT_TOKEN_CHANNEL; // org/antlr/v4/parse/ANTLRLexer.g:813:5: ( . ) // org/antlr/v4/parse/ANTLRLexer.g:813:7: . { matchAny(); if (state.failed) return; if ( state.backtracking==0 ) { Token t = new CommonToken(input, state.type, state.channel, state.tokenStartCharIndex, getCharIndex()-1); t.setLine(state.tokenStartLine); t.setText(state.text); t.setCharPositionInLine(state.tokenStartCharPositionInLine); String msg = getTokenErrorDisplay(t) + " came as a complete surprise to me"; grammarError(ErrorType.SYNTAX_ERROR, t, msg); state.syntaxErrors++; skip(); } } state.type = _type; state.channel = _channel; } finally { // do for sure before leaving } } // $ANTLR end "ERRCHAR"
public final void mERRCHAR() throws RecognitionException { try { int _type = ERRCHAR; int _channel = DEFAULT_TOKEN_CHANNEL; // /Users/parrt/antlr/code/antlr4/tool/src/org/antlr/v4/parse/ANTLRLexer.g:787:5: ( . ) // /Users/parrt/antlr/code/antlr4/tool/src/org/antlr/v4/parse/ANTLRLexer.g:787:7: . { matchAny(); if (state.failed) return; if ( state.backtracking==0 ) { Token t = new CommonToken(input, state.type, state.channel, state.tokenStartCharIndex, getCharIndex()-1); t.setLine(state.tokenStartLine); t.setText(state.text); t.setCharPositionInLine(state.tokenStartCharPositionInLine); String msg = getTokenErrorDisplay(t) + " came as a complete surprise to me"; grammarError(ErrorType.SYNTAX_ERROR, t, msg); state.syntaxErrors++; skip(); } } state.type = _type; state.channel = _channel; } finally { // do for sure before leaving } } // $ANTLR end "ERRCHAR"
public final void mERRCHAR() throws RecognitionException { try { int _type = ERRCHAR; int _channel = DEFAULT_TOKEN_CHANNEL; // org\\antlr\\v4\\parse\\ANTLRLexer.g:767:5: ( . ) // org\\antlr\\v4\\parse\\ANTLRLexer.g:767:7: . { matchAny(); if (state.failed) return; if ( state.backtracking==0 ) { Token t = new CommonToken(input, state.type, state.channel, state.tokenStartCharIndex, getCharIndex()-1); t.setLine(state.tokenStartLine); t.setText(state.text); t.setCharPositionInLine(state.tokenStartCharPositionInLine); String msg = getTokenErrorDisplay(t) + " came as a complete surprise to me"; grammarError(ErrorType.SYNTAX_ERROR, t, msg); state.syntaxErrors++; skip(); } } state.type = _type; state.channel = _channel; } finally { // do for sure before leaving } } // $ANTLR end "ERRCHAR"