Searched refs:templates (Results 1 - 25 of 461) sorted by path

1234567891011>>

/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/
H A DTestSuiteFactory.java47 private static StringTemplateGroup templates; field in class:TestSuiteFactory
55 throw new RuntimeException("internal error: Can't find templates "+TEMPLATE_FILE);
58 templates = new StringTemplateGroup(rd);
137 StringTemplate gUnitScript = templates.getInstanceOf("gUnitFile");
/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jar ... templates/CPP/ org/antlr/codegen/templates/CSharp2/ org/antlr/codegen/templates/CSharp3/ org/antlr/codegen/templates/Delphi/ org/antlr/codegen/templates ...
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
H A DAntlr.Runtime.pas1158 /// Rules can return start/stop info as well as possible trees and templates
6073 // whole token buffer so no lazy eval issue with any templates
/external/antlr/antlr-3.4/runtime/Python/tests/
H A Dt055templates.py54 templates = textwrap.dedent(
64 file=StringIO(templates),
225 templates = textwrap.dedent(
235 file=StringIO(templates),
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dtemplate.rb39 templates = @templates || options.fetch( :templates ) do
43 self.templates = templates
46 shared_attribute( :templates )
49 @templates.new( source, values )
53 @templates.fetch( name, values )
135 def templates method in class:ANTLR3.Template
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/ast-output/
H A Dconstruction.rb269 /** templates tested:
277 /** templates tested:
287 /** templates tested:
295 /** templates tested:
313 /** templates tested:
320 /** templates tested:
327 /** templates tested:
334 /** templates tested:
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/template-output/
H A Dtemplate-output.rb16 group = options[ :templates ] and parser_options[ :templates ] = group
33 example 'inline templates' do
55 templates = ANTLR3::Template::Group.new do
61 text = parse( <<-'END', 'a + b', :templates => templates )
179 templates = ANTLR3::Template::Group.new do
185 text = parse( <<-'END', 'abc', :templates => templates )
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
H A Dtest-template.rb77 templates = @group.templates
78 templates.should_not be_empty
79 templates.should equal @group::TEMPLATES
81 names = templates.keys
86 template_class = templates[ template_name ]
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
H A DCodeGenTreeWalker.g116 protected STGroup templates;
156 ST elementST = templates.getInstanceOf( name );
194 if ( tryUnchecked && templates.isDefined( name + "Unchecked" + suffix ) )
195 elementST = templates.getInstanceOf( name + "Unchecked" + suffix );
197 elementST = templates.getInstanceOf( name + suffix );
292 this.templates = generator.getTemplates();
410 // Save old templates ptr and restore later. Base templates include Dbg.
411 STGroup saveGroup = templates;
414 templates
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
H A DSemanticContext.java74 * given a set of output templates.
77 STGroup templates,
172 STGroup templates,
176 if ( templates!=null ) {
178 eST = templates.getInstanceOf("evalSynPredicate");
181 eST = templates.getInstanceOf("evalPredicate");
256 STGroup templates,
259 if ( templates!=null ) {
260 return templates.getInstanceOf("true_value");
283 STGroup templates,
76 genExpr(CodeGenerator generator, STGroup templates, DFA dfa) argument
171 genExpr(CodeGenerator generator, STGroup templates, DFA dfa) argument
255 genExpr(CodeGenerator generator, STGroup templates, DFA dfa) argument
282 genExpr(CodeGenerator generator, STGroup templates, DFA dfa) argument
449 genExpr(CodeGenerator generator, STGroup templates, DFA dfa) argument
504 genExpr(CodeGenerator generator, STGroup templates, DFA dfa) argument
549 genExpr(CodeGenerator generator, STGroup templates, DFA dfa) argument
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/
H A DACyclicDFACodeGenerator.java44 public ST genFixedLookaheadDecision(STGroup templates, argument
47 return walkFixedDFAGeneratingStateMachine(templates, dfa, dfa.startState, 1);
51 STGroup templates,
58 ST dfaST = templates.getInstanceOf("dfaAcceptState");
63 // the default templates for generating a state and its edges
76 ST dfaST = templates.getInstanceOf(dfaStateName);
78 dfaST = templates.getInstanceOf(dfaLoopbackStateName);
81 dfaST = templates.getInstanceOf(dfaOptionalBlockStateName);
113 ST edgeST = templates.getInstanceOf(dfaEdgeName);
127 parentGenerator.genLabelExpr(templates,edg
50 walkFixedDFAGeneratingStateMachine( STGroup templates, DFA dfa, DFAState s, int k) argument
[all...]
H A DCodeGenerator.java55 * This generator just computes and sets the values into the templates;
56 * the templates are free to use or not use the information.
61 * bunch of templates that are needed by the code generator. You can add
63 * in a grammar file dictates which templates get loaded/used.
89 "org/antlr/codegen/templates";
104 /** Where are the templates this generator should use to generate code? */
105 protected STGroup templates; field in class:CodeGenerator
107 /** The basic output templates without AST or templates stuff; this will be
108 * the templates loade
723 genLabelExpr(STGroup templates, Transition edge, int k) argument
742 genSemanticPredicateExpr(STGroup templates, Transition edge) argument
754 genSetExpr(STGroup templates, IntSet set, int k, boolean partOfDFA) argument
[all...]
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
H A DBuildDependencyGenerator.java83 protected STGroup templates; field in class:BuildDependencyGenerator
204 ST dependenciesST = templates.getInstanceOf("dependencies");
212 if (templates != null) return;
213 String fileName = "org/antlr/tool/templates/depend.stg";
214 templates = new STGroupFile(fileName);
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
H A DST.stg345 templateLib.templates = [STAttrMap newSTAttrMap];
346 <if(args)> [templateLib.templates <args:{a | setObject:<a.value> forKey:@"<a.name>"];}><endif>
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
H A DTestAttributes.java64 STGroup templates =
66 ST actionST = new ST(templates, "<action>");
84 generator.genRecognizer(); // forces load of templates
106 generator.genRecognizer(); // forces load of templates
131 generator.genRecognizer(); // forces load of templates
153 generator.genRecognizer(); // forces load of templates
184 generator.genRecognizer(); // forces load of templates
220 generator.genRecognizer(); // forces load of templates
245 generator.genRecognizer(); // forces load of templates
276 generator.genRecognizer(); // forces load of templates
[all...]
H A DTestTemplates.java43 /** Test templates in actions; %... shorthands */
68 generator.genRecognizer(); // forces load of templates
75 STGroup templates =
77 ST actionST = new ST(templates, rawTranslation);
105 generator.genRecognizer(); // forces load of templates
112 STGroup templates =
114 ST actionST = new ST(templates, rawTranslation);
143 generator.genRecognizer(); // forces load of templates
150 STGroup templates =
152 ST actionST = new ST(templates, rawTranslatio
[all...]
/external/apache-xml/src/main/java/org/apache/xalan/extensions/
H A DExpressionVisitor.java23 import org.apache.xalan.templates.StylesheetRoot;
H A DExtensionHandler.java28 import org.apache.xalan.templates.ElemTemplateElement;
29 import org.apache.xalan.templates.Stylesheet;
H A DExtensionNamespacesManager.java25 import org.apache.xalan.templates.Constants;
H A DExtensionsTable.java28 import org.apache.xalan.templates.StylesheetRoot;
/external/apache-xml/src/main/java/org/apache/xalan/processor/
H A DProcessorAttributeSet.java25 import org.apache.xalan.templates.ElemAttributeSet;
26 import org.apache.xalan.templates.ElemTemplateElement;
H A DProcessorCharacters.java25 import org.apache.xalan.templates.ElemTemplateElement;
26 import org.apache.xalan.templates.ElemText;
27 import org.apache.xalan.templates.ElemTextLiteral;
H A DProcessorDecimalFormat.java23 import org.apache.xalan.templates.DecimalFormatProperties;
30 * @see org.apache.xalan.templates.Stylesheet#setDecimalFormat
31 * @see org.apache.xalan.templates.DecimalFormatProperties
H A DProcessorExsltFuncResult.java23 import org.apache.xalan.templates.ElemExsltFuncResult;
24 import org.apache.xalan.templates.ElemExsltFunction;
25 import org.apache.xalan.templates.ElemParam;
26 import org.apache.xalan.templates.ElemTemplateElement;
27 import org.apache.xalan.templates.ElemVariable;
H A DProcessorExsltFunction.java23 import org.apache.xalan.templates.ElemApplyImport;
24 import org.apache.xalan.templates.ElemApplyTemplates;
25 import org.apache.xalan.templates.ElemAttribute;
26 import org.apache.xalan.templates.ElemCallTemplate;
27 import org.apache.xalan.templates.ElemComment;
28 import org.apache.xalan.templates.ElemCopy;
29 import org.apache.xalan.templates.ElemCopyOf;
30 import org.apache.xalan.templates.ElemElement;
31 import org.apache.xalan.templates.ElemExsltFuncResult;
32 import org.apache.xalan.templates
[all...]

Completed in 654 milliseconds

1234567891011>>