Searched refs:isLexicalRule (Results 1 – 4 of 4) sorted by relevance
38 protected boolean isLexicalRule = false; field in gUnitTestSuite59 …tLexicalRuleName(String lexicalRule) { this.lexicalRule = lexicalRule; this.isLexicalRule = true; } in setLexicalRuleName()65 public boolean isLexicalRule() { return this.isLexicalRule; } in isLexicalRule() method in gUnitTestSuite
209 if ( ts.isLexicalRule() ) testRuleName = ts.getLexicalRuleName(); in genParserMethods()213 testRuleMethodST.setAttribute("isLexicalRule", ts.isLexicalRule()); in genParserMethods()
97 boolean isLexicalRule;101 $testsuite::isLexicalRule = false;112 $testsuite::isLexicalRule = true;155 | 'returns' RETVAL {if ( !$testsuite::isLexicalRule ) $out = new ReturnTest($RETVAL);}156 | '->' output {if ( !$testsuite::isLexicalRule ) $out = new OutputTest($output.token);}
67 testRuleMethod(isLexicalRule,methodName,testRuleName,test,tokenType,expecting) ::= <<70 …Object retval = <if(isLexicalRule)>execLexer<else>execParser<endif>(<testRuleName>, <test.line>, "…