public final void dummy() throws RecognitionException { try { // org/antlr/v4/codegen/SourceGenTriggers.g:59:7: ( block[null, null] ) // org/antlr/v4/codegen/SourceGenTriggers.g:59:9: block[null, null] { pushFollow(FOLLOW_block_in_dummy61); block(null, null); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } } // $ANTLR end "dummy"
public final void dummy() throws RecognitionException { try { // org/antlr/v4/codegen/SourceGenTriggers.g:59:7: ( block[null, null] ) // org/antlr/v4/codegen/SourceGenTriggers.g:59:9: block[null, null] { pushFollow(FOLLOW_block_in_dummy61); block(null, null); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } } // $ANTLR end "dummy"
public final void dummy() throws RecognitionException { try { // /Users/parrt/antlr/code/antlr4/tool/src/org/antlr/v4/codegen/SourceGenTriggers.g:59:7: ( block[null, null] ) // /Users/parrt/antlr/code/antlr4/tool/src/org/antlr/v4/codegen/SourceGenTriggers.g:59:9: block[null, null] { pushFollow(FOLLOW_block_in_dummy61); block(null, null); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } } // $ANTLR end "dummy"
public final void dummy() throws RecognitionException { try { // org\\antlr\\v4\\codegen\\SourceGenTriggers.g:35:7: ( block[null, null] ) // org\\antlr\\v4\\codegen\\SourceGenTriggers.g:35:9: block[null, null] { pushFollow(FOLLOW_block_in_dummy61); block(null, null); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } } // $ANTLR end "dummy"
public final void dummy() throws RecognitionException { try { // org/antlr/v4/codegen/SourceGenTriggers.g:59:7: ( block[null, null] ) // org/antlr/v4/codegen/SourceGenTriggers.g:59:9: block[null, null] { pushFollow(FOLLOW_block_in_dummy61); block(null, null); state._fsp--; } } catch (RecognitionException re) { reportError(re); recover(input,re); } finally { // do for sure before leaving } } // $ANTLR end "dummy"
match(input, Token.DOWN, null); pushFollow(FOLLOW_block_in_subrule425); b=block(null, OPTIONAL18); state._fsp--; match(input, Token.DOWN, null); pushFollow(FOLLOW_block_in_subrule445); b=block(null, null); state._fsp--; match(input, Token.DOWN, null); pushFollow(FOLLOW_block_in_subrule460); b=block(null, null); state._fsp--; block19=block(null, null); state._fsp--;
match(input, Token.DOWN, null); pushFollow(FOLLOW_block_in_subrule425); b=block(null, OPTIONAL18); state._fsp--; match(input, Token.DOWN, null); pushFollow(FOLLOW_block_in_subrule445); b=block(null, null); state._fsp--; match(input, Token.DOWN, null); pushFollow(FOLLOW_block_in_subrule460); b=block(null, null); state._fsp--; block19=block(null, null); state._fsp--;
match(input, Token.DOWN, null); pushFollow(FOLLOW_block_in_subrule425); b=block(null, OPTIONAL18); state._fsp--; match(input, Token.DOWN, null); pushFollow(FOLLOW_block_in_subrule445); b=block(null, null); state._fsp--; match(input, Token.DOWN, null); pushFollow(FOLLOW_block_in_subrule460); b=block(null, null); state._fsp--; block19=block(null, null); state._fsp--;
match(input, Token.DOWN, null); pushFollow(FOLLOW_block_in_subrule425); b=block(null, OPTIONAL18); state._fsp--; match(input, Token.DOWN, null); pushFollow(FOLLOW_block_in_subrule445); b=block(null, null); state._fsp--; match(input, Token.DOWN, null); pushFollow(FOLLOW_block_in_subrule460); b=block(null, null); state._fsp--; block19=block(null, null); state._fsp--;
match(input, Token.DOWN, null); pushFollow(FOLLOW_block_in_subrule425); b=block(null, OPTIONAL18); state._fsp--; match(input, Token.DOWN, null); pushFollow(FOLLOW_block_in_subrule445); b=block(null, null); state._fsp--; match(input, Token.DOWN, null); pushFollow(FOLLOW_block_in_subrule460); b=block(null, null); state._fsp--; block19=block(null, null); state._fsp--;
public void buildNormalRuleFunction(Rule r, RuleFunction function) { CodeGenerator gen = delegate.getGenerator(); // TRIGGER factory functions for rule alts, elements GrammarASTAdaptor adaptor = new GrammarASTAdaptor(r.ast.token.getInputStream()); GrammarAST blk = (GrammarAST)r.ast.getFirstChildWithType(ANTLRParser.BLOCK); CommonTreeNodeStream nodes = new CommonTreeNodeStream(adaptor,blk); walker = new SourceGenTriggers(nodes, this); try { // walk AST of rule alts/elements function.code = DefaultOutputModelFactory.list(walker.block(null, null)); function.hasLookaheadBlock = walker.hasLookaheadBlock; } catch (org.antlr.runtime.RecognitionException e){ e.printStackTrace(System.err); } function.ctxType = gen.getTarget().getRuleFunctionContextStructName(function); function.postamble = rulePostamble(function, r); }
public void buildNormalRuleFunction(Rule r, RuleFunction function) { CodeGenerator gen = delegate.getGenerator(); // TRIGGER factory functions for rule alts, elements GrammarASTAdaptor adaptor = new GrammarASTAdaptor(r.ast.token.getInputStream()); GrammarAST blk = (GrammarAST)r.ast.getFirstChildWithType(ANTLRParser.BLOCK); CommonTreeNodeStream nodes = new CommonTreeNodeStream(adaptor,blk); walker = new SourceGenTriggers(nodes, this); try { // walk AST of rule alts/elements function.code = DefaultOutputModelFactory.list(walker.block(null, null)); function.hasLookaheadBlock = walker.hasLookaheadBlock; } catch (org.antlr.runtime.RecognitionException e){ e.printStackTrace(System.err); } function.ctxType = gen.getTarget().getRuleFunctionContextStructName(function); function.postamble = rulePostamble(function, r); }
public void buildNormalRuleFunction(Rule r, RuleFunction function) { CodeGenerator gen = delegate.getGenerator(); // TRIGGER factory functions for rule alts, elements GrammarASTAdaptor adaptor = new GrammarASTAdaptor(r.ast.token.getInputStream()); GrammarAST blk = (GrammarAST)r.ast.getFirstChildWithType(ANTLRParser.BLOCK); CommonTreeNodeStream nodes = new CommonTreeNodeStream(adaptor,blk); walker = new SourceGenTriggers(nodes, this); try { // walk AST of rule alts/elements function.code = DefaultOutputModelFactory.list(walker.block(null, null)); function.hasLookaheadBlock = walker.hasLookaheadBlock; } catch (org.antlr.runtime.RecognitionException e){ e.printStackTrace(System.err); } function.ctxType = gen.getTarget().getRuleFunctionContextStructName(function); function.postamble = rulePostamble(function, r); }
public void buildNormalRuleFunction(Rule r, RuleFunction function) { CodeGenerator gen = delegate.getGenerator(); // TRIGGER factory functions for rule alts, elements GrammarASTAdaptor adaptor = new GrammarASTAdaptor(r.ast.token.getInputStream()); GrammarAST blk = (GrammarAST)r.ast.getFirstChildWithType(ANTLRParser.BLOCK); CommonTreeNodeStream nodes = new CommonTreeNodeStream(adaptor,blk); walker = new SourceGenTriggers(nodes, this); try { // walk AST of rule alts/elements function.code = DefaultOutputModelFactory.list(walker.block(null, null)); function.hasLookaheadBlock = walker.hasLookaheadBlock; } catch (org.antlr.runtime.RecognitionException e){ e.printStackTrace(System.err); } function.ctxType = delegate.getTarget().getRuleFunctionContextStructName(function); function.postamble = rulePostamble(function, r); }
public void buildNormalRuleFunction(Rule r, RuleFunction function) { CodeGenerator gen = delegate.getGenerator(); // TRIGGER factory functions for rule alts, elements GrammarASTAdaptor adaptor = new GrammarASTAdaptor(r.ast.token.getInputStream()); GrammarAST blk = (GrammarAST)r.ast.getFirstChildWithType(ANTLRParser.BLOCK); CommonTreeNodeStream nodes = new CommonTreeNodeStream(adaptor,blk); walker = new SourceGenTriggers(nodes, this); try { // walk AST of rule alts/elements function.code = DefaultOutputModelFactory.list(walker.block(null, null)); function.hasLookaheadBlock = walker.hasLookaheadBlock; } catch (org.antlr.runtime.RecognitionException e){ e.printStackTrace(System.err); } function.ctxType = gen.getTarget().getRuleFunctionContextStructName(function); function.postamble = rulePostamble(function, r); }
ID14=(GrammarAST)match(input,ID,FOLLOW_ID_in_labeledElement381); pushFollow(FOLLOW_block_in_labeledElement383); block15=block(ID14, null); state._fsp--; ID16=(GrammarAST)match(input,ID,FOLLOW_ID_in_labeledElement398); pushFollow(FOLLOW_block_in_labeledElement400); block17=block(ID16, null); state._fsp--;
ID14=(GrammarAST)match(input,ID,FOLLOW_ID_in_labeledElement381); pushFollow(FOLLOW_block_in_labeledElement383); block15=block(ID14, null); state._fsp--; ID16=(GrammarAST)match(input,ID,FOLLOW_ID_in_labeledElement398); pushFollow(FOLLOW_block_in_labeledElement400); block17=block(ID16, null); state._fsp--;
ID14=(GrammarAST)match(input,ID,FOLLOW_ID_in_labeledElement381); pushFollow(FOLLOW_block_in_labeledElement383); block15=block(ID14, null); state._fsp--; ID16=(GrammarAST)match(input,ID,FOLLOW_ID_in_labeledElement398); pushFollow(FOLLOW_block_in_labeledElement400); block17=block(ID16, null); state._fsp--;
ID14=(GrammarAST)match(input,ID,FOLLOW_ID_in_labeledElement381); pushFollow(FOLLOW_block_in_labeledElement383); block15=block(ID14, null); state._fsp--; ID16=(GrammarAST)match(input,ID,FOLLOW_ID_in_labeledElement398); pushFollow(FOLLOW_block_in_labeledElement400); block17=block(ID16, null); state._fsp--;
ID14=(GrammarAST)match(input,ID,FOLLOW_ID_in_labeledElement381); pushFollow(FOLLOW_block_in_labeledElement383); block15=block(ID14, null); state._fsp--; ID16=(GrammarAST)match(input,ID,FOLLOW_ID_in_labeledElement398); pushFollow(FOLLOW_block_in_labeledElement400); block17=block(ID16, null); state._fsp--;