Home
last modified time | relevance | path

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

/external/antlr/gunit/src/main/java/org/antlr/gunit/
DgUnitTestSuite.java37 protected String treeRule = null; // optional, required for testing tree grammar rule field in gUnitTestSuite
53 public gUnitTestSuite(String treeRule, String rule) { in gUnitTestSuite() argument
55 this.treeRule = treeRule; in gUnitTestSuite()
60 public void setTreeRuleName(String treeRuleName) { this.treeRule = treeRuleName; } in setTreeRuleName()
64 public String getTreeRuleName() { return this.treeRule; } in getTreeRuleName()
DAbstractTest.java66 …public void setHeader(String rule, String lexicalRule, String treeRule, int numOfTest, int line, S… in setHeader() argument
69 if ( treeRule!=null ) { in setHeader()
70 buf.append(treeRule+" walks "); in setHeader()
DgUnitExecutor.java165 …g parserName, String lexerName, String rule, String lexicalRule, String treeRule, gUnitTestInput i… in runCorrectParser() argument
168 else if ( treeRule!=null ) return runTreeParser(parserName, lexerName, rule, treeRule, input); in runCorrectParser()
176 String treeRule = ts.getTreeRuleName(); in executeTests() local
186 result = runCorrectParser(parserName, lexerName, rule, lexicalRule, treeRule, input); in executeTests()
191 test.setHeader(rule, lexicalRule, treeRule, numOfTest, input.line, input.input); in executeTests()
203 test.setHeader(rule, lexicalRule, treeRule, numOfTest, input.line, input.input); in executeTests()
216 test.setHeader(rule, lexicalRule, treeRule, numOfTest, input.line, input.input); in executeTests()
223 test.setHeader(rule, lexicalRule, treeRule, numOfTest, input.line, input.input); in executeTests()