Home
last modified time | relevance | path

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

/external/antlr/gunit/src/main/java/org/antlr/gunit/
DgUnitTestSuite.java36 protected String lexicalRule = null; // lexical rule name field in gUnitTestSuite
59 …public void setLexicalRuleName(String lexicalRule) { this.lexicalRule = lexicalRule; this.isLexica… in setLexicalRuleName() argument
63 public String getLexicalRuleName() { return this.lexicalRule; } in getLexicalRuleName()
74 expect.setTestedRuleName(this.rule ==null ? this.lexicalRule : this.rule); in addTestCase()
DAbstractTest.java66 …public void setHeader(String rule, String lexicalRule, String treeRule, int numOfTest, int line, S… in setHeader() argument
72 if ( lexicalRule!=null ) { in setHeader()
73 buf.append(lexicalRule + ", line"+line+")" + " - "); in setHeader()
DgUnitExecutor.java165 …CorrectParser(String parserName, String lexerName, String rule, String lexicalRule, String treeRul… in runCorrectParser() argument
167 if ( lexicalRule!=null ) return runLexer(lexerName, lexicalRule, input); in runCorrectParser()
175 String lexicalRule = ts.getLexicalRuleName(); 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()