Home
last modified time | relevance | path

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

/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DBaseTest.java219 String parserName, in execParser() argument
226 parserName, in execParser()
236 return rawExecRecognizer(parserName, in execParser()
249 String parserName, in execTreeParser() argument
260 parserName, in execTreeParser()
273 String parserName, in execTreeParser() argument
286 parserName, in execTreeParser()
309 return rawExecRecognizer(parserName, in execTreeParser()
323 String parserName, in rawGenerateAndBuildRecognizer() argument
332 if ( parserName!=null ) { in rawGenerateAndBuildRecognizer()
[all …]
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/
DgUnitExecutor.java68 private String parserName; field in gUnitExecutor
116 parserName = grammarInfo.getGrammarPackage()+"."+grammarInfo.getGrammarName()+"Parser"; in execTest()
120 parserName = grammarInfo.getGrammarName()+"Parser"; in execTest()
127 …le = "executing testsuite for tree grammar:"+grammarInfo.getTreeGrammarName()+" walks "+parserName; in execTest()
164 …private gUnitTestResult runCorrectParser(String parserName, String lexerName, String rule, String … in runCorrectParser() argument
167 else if ( treeRule!=null ) return runTreeParser(parserName, lexerName, rule, treeRule, input); in runCorrectParser()
168 else return runParser(parserName, lexerName, rule, input); in runCorrectParser()
184 result = runCorrectParser(parserName, lexerName, rule, lexicalRule, treeRule, input); in executeTests()
306 …protected gUnitTestResult runParser(String parserName, String lexerName, String testRuleName, gUni… in runParser() argument
325 parser = classForName(parserName); in runParser()
[all …]
DJUnitCodeGen.java110 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/antlr-3.4/runtime/Python/tests/
Dt052import.py74 parserName = self.writeInlineGrammar(slave)[0]
78 del sys.modules[parserName+'Parser']
95 parserName = self.writeInlineGrammar(slave)[0]
99 del sys.modules[parserName+'Parser']
Dt054main.py284 parserName = self.writeInlineGrammar(slave)[0]
288 del sys.modules[parserName+'Parser']
/external/jdiff/src/jdiff/
DXMLToAPI.java50 String parserName = System.getProperty("org.xml.sax.driver"); in readFile() local
51 if (parserName == null) { in readFile()
DComments.java63 String parserName = System.getProperty("org.xml.sax.driver"); in readFile() local
64 if (parserName == null) { in readFile()