Searched refs:parserName (Results 1 – 7 of 7) sorted by relevance
/external/antlr/tool/src/test/java/org/antlr/test/ |
D | BaseTest.java | 237 String parserName, in execParser() argument 244 parserName, in execParser() 256 return rawExecRecognizer(parserName, in execParser() 269 String parserName, in execTreeParser() argument 280 parserName, in execTreeParser() 293 String parserName, in execTreeParser() argument 306 parserName, in execTreeParser() 331 return rawExecRecognizer(parserName, in execTreeParser() 345 String parserName, in rawGenerateAndBuildRecognizer() argument 358 if ( parserName!=null ) { in rawGenerateAndBuildRecognizer() [all …]
|
/external/antlr/runtime/Python3/tests/ |
D | t052import.py | 74 parserName = self.writeInlineGrammar(slave)[0] 77 if parserName + 'Parser' in sys.modules: 78 del sys.modules[parserName + 'Parser'] 93 parserName = self.writeInlineGrammar(slave)[0] 96 if parserName + 'Parser' in sys.modules: 97 del sys.modules[parserName + 'Parser']
|
D | t054main.py | 277 parserName = self.writeInlineGrammar(slave)[0] 280 if parserName + 'Parser' in sys.modules: 281 del sys.modules[parserName+'Parser']
|
/external/antlr/gunit/src/main/java/org/antlr/gunit/ |
D | gUnitExecutor.java | 70 private String parserName; field in gUnitExecutor 118 parserName = grammarInfo.getGrammarPackage()+"."+grammarInfo.getGrammarName()+"Parser"; in execTest() 122 parserName = grammarInfo.getGrammarName()+"Parser"; in execTest() 129 …le = "executing testsuite for tree grammar:"+grammarInfo.getTreeGrammarName()+" walks "+parserName; in execTest() 165 …private gUnitTestResult runCorrectParser(String parserName, String lexerName, String rule, String … in runCorrectParser() argument 168 else if ( treeRule!=null ) return runTreeParser(parserName, lexerName, rule, treeRule, input); in runCorrectParser() 169 else return runParser(parserName, lexerName, rule, input); in runCorrectParser() 186 result = runCorrectParser(parserName, lexerName, rule, lexicalRule, treeRule, input); in executeTests() 306 …protected gUnitTestResult runParser(String parserName, String lexerName, String testRuleName, gUni… in runParser() argument 323 parser = classForName(parserName).asSubclass(Parser.class); in runParser() [all …]
|
D | JUnitCodeGen.java | 110 String parserName = grammarInfo.getGrammarName()+"Parser"; in compile() local 115 StringBuffer buf = compileToBuffer(junitFileName, lexerName, parserName); in compile() 119 public StringBuffer compileToBuffer(String className, String lexerName, String parserName) { in compileToBuffer() argument 122 buf.append(genClassHeader(group, className, lexerName, parserName)); in compileToBuffer() 128 …ClassHeader(StringTemplateGroup group, String junitFileName, String lexerName, String parserName) { in genClassHeader() argument 146 parserPath = grammarInfo.getGrammarPackage()+"."+parserName; in genClassHeader() 154 parserPath = parserName; in genClassHeader()
|
/external/antlr/runtime/Python/tests/ |
D | t052import.py | 74 parserName = self.writeInlineGrammar(slave)[0] 78 del sys.modules[parserName+'Parser'] 95 parserName = self.writeInlineGrammar(slave)[0] 99 del sys.modules[parserName+'Parser']
|
D | t054main.py | 284 parserName = self.writeInlineGrammar(slave)[0] 288 del sys.modules[parserName+'Parser']
|