Home
last modified time | relevance | path

Searched refs:headerFileST (Results 1 – 6 of 6) sorted by relevance

/external/antlr/tool/src/main/java/org/antlr/codegen/
DCodeGenerator.java115 protected ST headerFileST; field in CodeGenerator
303 headerFileST = templates.getInstanceOf("headerFile"); in genRecognizer()
307 headerFileST = new ST(templates,"xyz"); in genRecognizer()
308 headerFileST.add("cyclicDFAs", (Object)null); // it normally sees this from outputFile in genRecognizer()
338 headerFileST.add("actions", actions); in genRecognizer()
341 headerFileST.add("buildTemplate", grammar.buildTemplate()); in genRecognizer()
343 headerFileST.add("buildAST", grammar.buildAST()); in genRecognizer()
347 headerFileST.add("rewriteMode", grammar.rewriteMode()); in genRecognizer()
350 headerFileST.add("backtracking", canBacktrack); in genRecognizer()
359 headerFileST.add("memoize", in genRecognizer()
[all …]
DCppTarget.java67 ST headerFileST, in genRecognizerHeaderFile() argument
73 List<?> tokens = (List<?>)headerFileST.getAttribute("tokens"); in genRecognizerHeaderFile()
102 generator.write(headerFileST, fileName); in genRecognizerHeaderFile()
DObjCTarget.java43 ST headerFileST, in genRecognizerHeaderFile() argument
47 …generator.write(headerFileST, grammar.name + Grammar.grammarTypeToFileNameSuffix[grammar.type] + e… in genRecognizerHeaderFile()
DCTarget.java61 ST headerFileST, in genRecognizerHeaderFile() argument
71 generator.write(headerFileST, fileName); in genRecognizerHeaderFile()
DTarget.java104 ST headerFileST, in genRecognizerHeaderFile() argument
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/
DCodeGenTreeWalker.g125 protected ST headerFileST;
301 ST headerFileST]
309 this.headerFileST = headerFileST;
329 $headerFileST.add("numRules", grammar.getRules().size());
348 headerFileST.add("docComment", $cmt.text);
354 headerFileST.add("name", grammar.getRecognizerName());
356 headerFileST.add("scopes", grammar.getGlobalScopes());
380 headerFileST.add("rules", $rST.code);