Token.DEFAULT_CHANNEL, input.index(),input.index()); eof.setLine(getLine()); eof.setCharPositionInLine(getCharPositionInLine()); return eof;
Token.DEFAULT_CHANNEL, input.index(),input.index()); eof.setLine(getLine()); eof.setCharPositionInLine(getCharPositionInLine()); return eof;
Token.DEFAULT_CHANNEL, input.index(),input.index()); eof.setLine(getLine()); eof.setCharPositionInLine(getCharPositionInLine()); return eof;
Token.DEFAULT_CHANNEL, input.index(),input.index()); eof.setLine(getLine()); eof.setCharPositionInLine(getCharPositionInLine()); return eof;
Token.DEFAULT_CHANNEL, input.index(),input.index()); eof.setLine(getLine()); eof.setCharPositionInLine(getCharPositionInLine()); return eof;
public final void mATTR() throws RecognitionException { try { int _type = ATTR; int _channel = DEFAULT_TOKEN_CHANNEL; CommonToken x=null; // org/antlr/v4/parse/ActionSplitter.g:98:2: ( '$' x= ID ) // org/antlr/v4/parse/ActionSplitter.g:98:4: '$' x= ID { match('$'); if (state.failed) return; int xStart229 = getCharIndex(); int xStartLine229 = getLine(); int xStartCharPos229 = getCharPositionInLine(); mID(); if (state.failed) return; x = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, xStart229, getCharIndex()-1); x.setLine(xStartLine229); x.setCharPositionInLine(xStartCharPos229); if ( state.backtracking==1 ) {delegate.attr(getText(), x);} } state.type = _type; state.channel = _channel; } finally { // do for sure before leaving } } // $ANTLR end "ATTR"
public final void mATTR() throws RecognitionException { try { int _type = ATTR; int _channel = DEFAULT_TOKEN_CHANNEL; CommonToken x=null; // org/antlr/v4/parse/ActionSplitter.g:98:2: ( '$' x= ID ) // org/antlr/v4/parse/ActionSplitter.g:98:4: '$' x= ID { match('$'); if (state.failed) return; int xStart229 = getCharIndex(); int xStartLine229 = getLine(); int xStartCharPos229 = getCharPositionInLine(); mID(); if (state.failed) return; x = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, xStart229, getCharIndex()-1); x.setLine(xStartLine229); x.setCharPositionInLine(xStartCharPos229); if ( state.backtracking==1 ) {delegate.attr(getText(), x);} } state.type = _type; state.channel = _channel; } finally { // do for sure before leaving } } // $ANTLR end "ATTR"
public final void mATTR() throws RecognitionException { try { int _type = ATTR; int _channel = DEFAULT_TOKEN_CHANNEL; CommonToken x=null; // /Users/parrt/antlr/code/antlr4/tool/src/org/antlr/v4/parse/ActionSplitter.g:98:2: ( '$' x= ID ) // /Users/parrt/antlr/code/antlr4/tool/src/org/antlr/v4/parse/ActionSplitter.g:98:4: '$' x= ID { match('$'); if (state.failed) return; int xStart229 = getCharIndex(); int xStartLine229 = getLine(); int xStartCharPos229 = getCharPositionInLine(); mID(); if (state.failed) return; x = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, xStart229, getCharIndex()-1); x.setLine(xStartLine229); x.setCharPositionInLine(xStartCharPos229); if ( state.backtracking==1 ) {delegate.attr(getText(), x);} } state.type = _type; state.channel = _channel; } finally { // do for sure before leaving } } // $ANTLR end "ATTR"
public final void mATTR() throws RecognitionException { try { int _type = ATTR; int _channel = DEFAULT_TOKEN_CHANNEL; CommonToken x=null; // org\\antlr\\v4\\parse\\ActionSplitter.g:74:2: ( '$' x= ID ) // org\\antlr\\v4\\parse\\ActionSplitter.g:74:4: '$' x= ID { match('$'); if (state.failed) return; int xStart229 = getCharIndex(); int xStartLine229 = getLine(); int xStartCharPos229 = getCharPositionInLine(); mID(); if (state.failed) return; x = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, xStart229, getCharIndex()-1); x.setLine(xStartLine229); x.setCharPositionInLine(xStartCharPos229); if ( state.backtracking==1 ) {delegate.attr(getText(), x);} } state.type = _type; state.channel = _channel; } finally { // do for sure before leaving } } // $ANTLR end "ATTR"
public final void mATTR() throws RecognitionException { try { int _type = ATTR; int _channel = DEFAULT_TOKEN_CHANNEL; CommonToken x=null; // org/antlr/v4/parse/ActionSplitter.g:98:2: ( '$' x= ID ) // org/antlr/v4/parse/ActionSplitter.g:98:4: '$' x= ID { match('$'); if (state.failed) return; int xStart229 = getCharIndex(); int xStartLine229 = getLine(); int xStartCharPos229 = getCharPositionInLine(); mID(); if (state.failed) return; x = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, xStart229, getCharIndex()-1); x.setLine(xStartLine229); x.setCharPositionInLine(xStartCharPos229); if ( state.backtracking==1 ) {delegate.attr(getText(), x);} } state.type = _type; state.channel = _channel; } finally { // do for sure before leaving } } // $ANTLR end "ATTR"