int xStart151 = getCharIndex(); int xStartLine151 = getLine(); int xStartCharPos151 = getCharPositionInLine(); mID(); if (state.failed) return; x = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, xStart151, getCharIndex()-1); x.setLine(xStartLine151); x.setCharPositionInLine(xStartCharPos151); int yStart157 = getCharIndex(); int yStartLine157 = getLine(); int yStartCharPos157 = getCharPositionInLine(); mID(); if (state.failed) return; y = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, yStart157, getCharIndex()-1); y.setLine(yStartLine157); y.setCharPositionInLine(yStartCharPos157);
int xStart151 = getCharIndex(); int xStartLine151 = getLine(); int xStartCharPos151 = getCharPositionInLine(); mID(); if (state.failed) return; x = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, xStart151, getCharIndex()-1); x.setLine(xStartLine151); x.setCharPositionInLine(xStartCharPos151); int yStart157 = getCharIndex(); int yStartLine157 = getLine(); int yStartCharPos157 = getCharPositionInLine(); mID(); if (state.failed) return; y = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, yStart157, getCharIndex()-1); y.setLine(yStartLine157); y.setCharPositionInLine(yStartCharPos157);
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"
int xStart151 = getCharIndex(); int xStartLine151 = getLine(); int xStartCharPos151 = getCharPositionInLine(); mID(); if (state.failed) return; x = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, xStart151, getCharIndex()-1); x.setLine(xStartLine151); x.setCharPositionInLine(xStartCharPos151); int yStart157 = getCharIndex(); int yStartLine157 = getLine(); int yStartCharPos157 = getCharPositionInLine(); mID(); if (state.failed) return; y = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, yStart157, getCharIndex()-1); y.setLine(yStartLine157); y.setCharPositionInLine(yStartCharPos157);
int xStart151 = getCharIndex(); int xStartLine151 = getLine(); int xStartCharPos151 = getCharPositionInLine(); mID(); if (state.failed) return; x = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, xStart151, getCharIndex()-1); x.setLine(xStartLine151); x.setCharPositionInLine(xStartCharPos151); int yStart157 = getCharIndex(); int yStartLine157 = getLine(); int yStartCharPos157 = getCharPositionInLine(); mID(); if (state.failed) return; y = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, yStart157, getCharIndex()-1); y.setLine(yStartLine157); y.setCharPositionInLine(yStartCharPos157);
int xStart151 = getCharIndex(); int xStartLine151 = getLine(); int xStartCharPos151 = getCharPositionInLine(); mID(); if (state.failed) return; x = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, xStart151, getCharIndex()-1); x.setLine(xStartLine151); x.setCharPositionInLine(xStartCharPos151); int yStart157 = getCharIndex(); int yStartLine157 = getLine(); int yStartCharPos157 = getCharPositionInLine(); mID(); if (state.failed) return; y = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, yStart157, getCharIndex()-1); y.setLine(yStartLine157); y.setCharPositionInLine(yStartCharPos157);
int xStart174 = getCharIndex(); int xStartLine174 = getLine(); int xStartCharPos174 = getCharPositionInLine(); mID(); if (state.failed) return; x = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, xStart174, getCharIndex()-1); x.setLine(xStartLine174); x.setCharPositionInLine(xStartCharPos174); int yStart180 = getCharIndex(); int yStartLine180 = getLine(); int yStartCharPos180 = getCharPositionInLine(); mID(); if (state.failed) return; y = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, yStart180, getCharIndex()-1); y.setLine(yStartLine180); y.setCharPositionInLine(yStartCharPos180);
int xStart174 = getCharIndex(); int xStartLine174 = getLine(); int xStartCharPos174 = getCharPositionInLine(); mID(); if (state.failed) return; x = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, xStart174, getCharIndex()-1); x.setLine(xStartLine174); x.setCharPositionInLine(xStartCharPos174); int yStart180 = getCharIndex(); int yStartLine180 = getLine(); int yStartCharPos180 = getCharPositionInLine(); mID(); if (state.failed) return; y = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, yStart180, getCharIndex()-1); y.setLine(yStartLine180); y.setCharPositionInLine(yStartCharPos180);
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"
int xStart174 = getCharIndex(); int xStartLine174 = getLine(); int xStartCharPos174 = getCharPositionInLine(); mID(); if (state.failed) return; x = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, xStart174, getCharIndex()-1); x.setLine(xStartLine174); x.setCharPositionInLine(xStartCharPos174); int yStart180 = getCharIndex(); int yStartLine180 = getLine(); int yStartCharPos180 = getCharPositionInLine(); mID(); if (state.failed) return; y = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, yStart180, getCharIndex()-1); y.setLine(yStartLine180); y.setCharPositionInLine(yStartCharPos180);
int xStart174 = getCharIndex(); int xStartLine174 = getLine(); int xStartCharPos174 = getCharPositionInLine(); mID(); if (state.failed) return; x = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, xStart174, getCharIndex()-1); x.setLine(xStartLine174); x.setCharPositionInLine(xStartCharPos174); int yStart180 = getCharIndex(); int yStartLine180 = getLine(); int yStartCharPos180 = getCharPositionInLine(); mID(); if (state.failed) return; y = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, yStart180, getCharIndex()-1); y.setLine(yStartLine180); y.setCharPositionInLine(yStartCharPos180);
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"
int xStart174 = getCharIndex(); int xStartLine174 = getLine(); int xStartCharPos174 = getCharPositionInLine(); mID(); if (state.failed) return; x = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, xStart174, getCharIndex()-1); x.setLine(xStartLine174); x.setCharPositionInLine(xStartCharPos174); int yStart180 = getCharIndex(); int yStartLine180 = getLine(); int yStartCharPos180 = getCharPositionInLine(); mID(); if (state.failed) return; y = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, yStart180, getCharIndex()-1); y.setLine(yStartLine180); y.setCharPositionInLine(yStartCharPos180);
int xStart199 = getCharIndex(); int xStartLine199 = getLine(); int xStartCharPos199 = getCharPositionInLine(); mID(); if (state.failed) return; x = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, xStart199, getCharIndex()-1); x.setLine(xStartLine199); x.setCharPositionInLine(xStartCharPos199); int exprStart208 = getCharIndex(); int exprStartLine208 = getLine(); int exprStartCharPos208 = getCharPositionInLine(); mATTR_VALUE_EXPR(); if (state.failed) return; expr = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, exprStart208, getCharIndex()-1); expr.setLine(exprStartLine208); expr.setCharPositionInLine(exprStartCharPos208);
int xStart199 = getCharIndex(); int xStartLine199 = getLine(); int xStartCharPos199 = getCharPositionInLine(); mID(); if (state.failed) return; x = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, xStart199, getCharIndex()-1); x.setLine(xStartLine199); x.setCharPositionInLine(xStartCharPos199); int exprStart208 = getCharIndex(); int exprStartLine208 = getLine(); int exprStartCharPos208 = getCharPositionInLine(); mATTR_VALUE_EXPR(); if (state.failed) return; expr = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, exprStart208, getCharIndex()-1); expr.setLine(exprStartLine208); expr.setCharPositionInLine(exprStartCharPos208);
int xStart115 = getCharIndex(); int xStartLine115 = getLine(); int xStartCharPos115 = getCharPositionInLine(); mID(); if (state.failed) return; x = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, xStart115, getCharIndex()-1); x.setLine(xStartLine115); x.setCharPositionInLine(xStartCharPos115); int yStart121 = getCharIndex(); int yStartLine121 = getLine(); int yStartCharPos121 = getCharPositionInLine(); mID(); if (state.failed) return; y = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, yStart121, getCharIndex()-1); y.setLine(yStartLine121); y.setCharPositionInLine(yStartCharPos121); int exprStart130 = getCharIndex(); int exprStartLine130 = getLine(); int exprStartCharPos130 = getCharPositionInLine(); mATTR_VALUE_EXPR(); if (state.failed) return; expr = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, exprStart130, getCharIndex()-1); expr.setLine(exprStartLine130); expr.setCharPositionInLine(exprStartCharPos130);
int xStart199 = getCharIndex(); int xStartLine199 = getLine(); int xStartCharPos199 = getCharPositionInLine(); mID(); if (state.failed) return; x = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, xStart199, getCharIndex()-1); x.setLine(xStartLine199); x.setCharPositionInLine(xStartCharPos199); int exprStart208 = getCharIndex(); int exprStartLine208 = getLine(); int exprStartCharPos208 = getCharPositionInLine(); mATTR_VALUE_EXPR(); if (state.failed) return; expr = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, exprStart208, getCharIndex()-1); expr.setLine(exprStartLine208); expr.setCharPositionInLine(exprStartCharPos208);
int xStart199 = getCharIndex(); int xStartLine199 = getLine(); int xStartCharPos199 = getCharPositionInLine(); mID(); if (state.failed) return; x = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, xStart199, getCharIndex()-1); x.setLine(xStartLine199); x.setCharPositionInLine(xStartCharPos199); int exprStart208 = getCharIndex(); int exprStartLine208 = getLine(); int exprStartCharPos208 = getCharPositionInLine(); mATTR_VALUE_EXPR(); if (state.failed) return; expr = new CommonToken(input, Token.INVALID_TOKEN_TYPE, Token.DEFAULT_CHANNEL, exprStart208, getCharIndex()-1); expr.setLine(exprStartLine208); expr.setCharPositionInLine(exprStartCharPos208);