Home
last modified time | relevance | path

Searched refs:ruleWithReturn (Results 1 – 1 of 1) sorted by relevance

/external/antlr/gunit/src/main/java/org/antlr/gunit/
DJUnitCodeGen.java49 public Map<String, String> ruleWithReturn; field in JUnitCodeGen
75 ruleWithReturn = new HashMap<String, String>(); in JUnitCodeGen()
80ruleWithReturn.put(method.getName(), method.getReturnType().getName().replace('$', '.')); in JUnitCodeGen()
197 …if ( entry.getValue().getType()== gUnitParser.ACTION && ruleWithReturn.containsKey(ts.getRuleName(… in genParserMethods()
203 … testRuleMethodST.setAttribute("returnType", ruleWithReturn.get(ts.getRuleName())); in genParserMethods()
248 …if ( entry.getValue().getType()== gUnitParser.ACTION && ruleWithReturn.containsKey(ts.getTreeRuleN… in genTreeMethods()
256 … testRuleMethodST.setAttribute("returnType", ruleWithReturn.get(ts.getTreeRuleName())); in genTreeMethods()