Home
last modified time | relevance | path

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

/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DBaseTest.java572 ST outputFileST = new ST( in writeTestFile() local
600 outputFileST.add("createParser", createParserST); in writeTestFile()
601 outputFileST.add("parserName", parserName); in writeTestFile()
602 outputFileST.add("lexerName", lexerName); in writeTestFile()
603 outputFileST.add("parserStartRuleName", parserStartRuleName); in writeTestFile()
604 writeFile(tmpdir, "Test.java", outputFileST.render()); in writeTestFile()
608 ST outputFileST = new ST( in writeLexerTestFile() local
625 outputFileST.add("lexerName", lexerName); in writeLexerTestFile()
626 writeFile(tmpdir, "Test.java", outputFileST.render()); in writeLexerTestFile()
636 ST outputFileST = new ST( in writeTreeTestFile() local
[all …]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
DCodeGenerator.java114 protected ST outputFileST; field in CodeGenerator
305 outputFileST = templates.getInstanceOf("outputFile"); in genRecognizer()
345 outputFileST.add("actions", actions); in genRecognizer()
348 outputFileST.add("buildTemplate", new Boolean(grammar.buildTemplate())); in genRecognizer()
350 outputFileST.add("buildAST", new Boolean(grammar.buildAST())); in genRecognizer()
352 outputFileST.add("rewriteMode", Boolean.valueOf(grammar.rewriteMode())); in genRecognizer()
355 outputFileST.add("backtracking", Boolean.valueOf(canBacktrack)); in genRecognizer()
361 outputFileST.add("memoize", in genRecognizer()
371 outputFileST.add("trace", Boolean.valueOf(trace)); in genRecognizer()
374 outputFileST.add("profile", Boolean.valueOf(profile)); in genRecognizer()
[all …]
DCTarget.java45 ST outputFileST) in genRecognizerFile() argument
51 outputFileST.add("literals", strings); in genRecognizerFile()
53 generator.write(outputFileST, fileName); in genRecognizerFile()
DCSharp3Target.java82 …ecognizerFile(Tool tool, CodeGenerator generator, Grammar grammar, ST outputFileST) throws IOExcep… in genRecognizerFile() argument
104 super.genRecognizerFile(tool, generator, grammar, outputFileST); in genRecognizerFile()
DTarget.java89 ST outputFileST) in genRecognizerFile() argument
94 generator.write(outputFileST, fileName); in genRecognizerFile()
DRubyTarget.java307 ST outputFileST in genRecognizerFile() argument
364 generator.write( outputFileST, fileName ); in genRecognizerFile()
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
DCodeGenTreeWalker.g123 protected ST outputFileST;
299 ST outputFileST,
307 this.outputFileST = outputFileST;
327 $outputFileST.add("numRules", grammar.getRules().size());
346 outputFileST.add("docComment", $cmt.text);
352 outputFileST.add("name", grammar.getRecognizerName());
378 outputFileST.add("rules", $rST.code);