Home
last modified time | relevance | path

Searched refs:outputFileST (Results 1 – 8 of 8) sorted by relevance

/external/antlr/tool/src/test/java/org/antlr/test/
DBaseTest.java667 ST outputFileST = new ST( in writeTestFile() local
695 outputFileST.add("createParser", createParserST); in writeTestFile()
696 outputFileST.add("parserName", parserName); in writeTestFile()
697 outputFileST.add("lexerName", lexerName); in writeTestFile()
698 outputFileST.add("parserStartRuleName", parserStartRuleName); in writeTestFile()
699 writeFile(tmpdir, "Test.java", outputFileST.render()); in writeTestFile()
703 ST outputFileST = new ST( in writeLexerTestFile() local
720 outputFileST.add("lexerName", lexerName); in writeLexerTestFile()
721 writeFile(tmpdir, "Test.java", outputFileST.render()); in writeLexerTestFile()
731 ST outputFileST = new ST( in writeTreeTestFile() local
[all …]
/external/antlr/tool/src/main/java/org/antlr/codegen/
DCodeGenerator.java114 protected ST outputFileST; field in CodeGenerator
299 outputFileST = templates.getInstanceOf("outputFile"); in genRecognizer()
339 outputFileST.add("actions", actions); in genRecognizer()
342 outputFileST.add("buildTemplate", grammar.buildTemplate()); in genRecognizer()
344 outputFileST.add("buildAST", grammar.buildAST()); in genRecognizer()
346 outputFileST.add("rewriteMode", grammar.rewriteMode()); in genRecognizer()
349 outputFileST.add("backtracking", canBacktrack); in genRecognizer()
355 outputFileST.add("memoize", in genRecognizer()
365 outputFileST.add("trace", trace); in genRecognizer()
368 outputFileST.add("profile", profile); in genRecognizer()
[all …]
DCTarget.java46 ST outputFileST) in genRecognizerFile() argument
52 outputFileST.add("literals", strings); in genRecognizerFile()
54 generator.write(outputFileST, fileName); in genRecognizerFile()
DCppTarget.java52 ST outputFileST) in genRecognizerFile() argument
58 outputFileST.add("literals", strings); in genRecognizerFile()
60 generator.write(outputFileST, fileName); in genRecognizerFile()
DCSharp3Target.java87 …ecognizerFile(Tool tool, CodeGenerator generator, Grammar grammar, ST outputFileST) throws IOExcep… in genRecognizerFile() argument
109 super.genRecognizerFile(tool, generator, grammar, outputFileST); in genRecognizerFile()
DTarget.java93 ST outputFileST) in genRecognizerFile() argument
98 generator.write(outputFileST, fileName); in genRecognizerFile()
DRubyTarget.java309 ST outputFileST in genRecognizerFile() argument
366 generator.write( outputFileST, fileName ); in genRecognizerFile()
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/
DCodeGenTreeWalker.g124 protected ST outputFileST;
300 ST outputFileST,
308 this.outputFileST = outputFileST;
328 $outputFileST.add("numRules", grammar.getRules().size());
347 outputFileST.add("docComment", $cmt.text);
353 outputFileST.add("name", grammar.getRecognizerName());
379 outputFileST.add("rules", $rST.code);