/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
ITemplateRuleReturnScope.cs | 37 object Template
|
ITemplateRuleReturnScope`1.cs | 37 new TTemplate Template
|
TemplateParserRuleReturnScope`2.cs | 39 public TTemplate Template 52 object ITemplateRuleReturnScope.Template 56 return Template;
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
TemplateTreeRuleReturnScope`2.cs | 39 public TTemplate Template 52 object ITemplateRuleReturnScope.Template 56 return Template;
|
/external/clang/tools/libclang/ |
CIndexCXX.cpp | 59 if (const TemplateDecl *Template 61 return MakeCXCursor(Template->getTemplatedDecl(), getCursorTU(C)).kind; 93 Decl *Template = 0; 97 Template = PartialSpec->getSpecializedTemplate(); 104 Template = Result.get<ClassTemplateDecl *>(); 106 Template = Result.get<ClassTemplatePartialSpecializationDecl *>(); 109 Template = CXXRecord->getInstantiatedFromMemberClass(); 111 Template = Function->getPrimaryTemplate(); 112 if (!Template) 113 Template = Function->getInstantiatedFromMemberFunction() [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/template/ |
Macro.java | 17 package com.google.clearsilver.jsilver.template; 22 * An executable macro. This exhibits all the same characteristics of a Template. 24 public interface Macro extends Template {
|
TemplateLoader.java | 17 package com.google.clearsilver.jsilver.template; 23 * Loads a Template. 28 * Load a template from a named resource, with the provided escape mode. If the mode is 30 * template. If the mode is ESCAPE_AUTO, enable <a href="http://go/autoescapecs">auto escaping</a> 31 * on templates. For each variable in the template, this will determine what type of escaping 34 * @param templateName e.g. some/path/to/template.cs 37 * @param escapeMode the type of escaping to apply to the entire template. 39 Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode); 42 * Create a temporary template from content, with the provided escape mode. If the mode is 44 * template. If the mode is ESCAPE_AUTO, enable <a href="http://go/autoescapecs">auto escaping</a [all...] |
Template.java | 17 package com.google.clearsilver.jsilver.template; 26 * Represents a template that can be rendered with data. 28 public interface Template { 31 * Render the template. 33 * @param data Data to merge with template. 35 * @param resourceLoader ResourceLoader to use instead of the default template one when loading 41 * Render the template with a custom RenderingContext. 50 * @param data Data to merge with template. 57 * Name of template (e.g. mytemplate.cs). 68 * Return the EscapeMode in which this template was generated [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/ |
group-file.rb | 7 purpose: Loads the ANTLR recognition code for ANTLR Template Group files 10 require 'antlr3/template/group-file-lexer' 11 require 'antlr3/template/group-file-parser' 14 module Template
|
/external/clang/include/clang/Sema/ |
ParsedTemplate.h | 1 //===--- ParsedTemplate.h - Template Parsing Data Types -------------------===// 22 /// \brief Represents the parsed form of a C++ template argument. 25 /// \brief Describes the kind of template argument that was parsed. 27 /// \brief A template type parameter, stored as a type. 29 /// \brief A non-type template parameter, stored as an expression. 31 /// \brief A template template argument, stored as a template name. 32 Template 35 /// \brief Build an empty template argument. [all...] |
/external/clang/lib/AST/ |
TemplateName.cpp | 1 //===--- TemplateName.cpp - C++ Template Name Representation---------------===// 56 return Template; 72 if (TemplateDecl *Template = Storage.dyn_cast<TemplateDecl *>()) 73 return Template; 85 if (TemplateDecl *Template = getAsTemplateDecl()) { 86 if (isa<TemplateTemplateParmDecl>(Template)) 88 // FIXME: Hack, getDeclContext() can be null if Template is still 92 return Template->getDeclContext() && 93 Template->getDeclContext()->isDependentContext(); 112 if (TemplateDecl *Template = getAsTemplateDecl()) [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/ |
TemplateRenderer.java | 22 import com.google.clearsilver.jsilver.template.Template; 27 * Renders a template. 32 * Renders a given template and provided data, writing to an arbitrary output. 34 * @param templateName Name of template to load (e.g. "things/blah.cs"). 35 * @param data Data to be used in template. 36 * @param output Where template should be rendered to. This can be a Writer, PrintStream, 52 * Same as {@link #render(String, Data, Appendable)}, except returns rendered template as a 58 * Renders a given template and provided data, writing to an arbitrary output. 60 * @param template Template to render [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/unit/ |
test-template.rb | 5 require 'antlr3/template' 12 File.dirname( __FILE__ ), 'sample-input', 'template-group' 15 describe Template::Context do 17 context = Template::Context.new 22 context = Template::Context.new( 35 context = Template::Context.new( 46 context = Template::Context.new( :a => 3 ) 55 context = Template::Context.new( :a => 3 ) 64 context = Template::Context.new( :a => 1, :b => 2) 73 shared_examples_for "template groups" d [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
ST.stg | 31 /** Template subgroup to add template rewrite output 48 public StringTemplate Template { get { return _st; } set { _st = value; } } 49 public override string ToString() { return (Template==null) ? string.Empty : Template.ToString(); } 80 /** x+=rule when output=template */ 83 <listLabel(elem=label+".Template",...)> 88 // TEMPLATE REWRITE 106 retval.Template); 111 retval.Template); [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
ST.stg | 32 /** Template subgroup to add template rewrite output 54 Template<if(TREE_PARSER)>Tree<else>Parser<endif>RuleReturnScope\<StringTemplate, <labelType>> 57 /** x+=rule when output=template */ 60 <listLabelElem(elem={<label>.Template},elemType="StringTemplate",...)> 65 // TEMPLATE REWRITE 83 retval.Template); 88 retval.Template); 97 retval.Template = <it.alt>; 101 retval.Template = <it.alt> [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/ |
InterpretedTemplateLoader.java | 23 import com.google.clearsilver.jsilver.template.DelegatingTemplateLoader; 24 import com.google.clearsilver.jsilver.template.Template; 25 import com.google.clearsilver.jsilver.template.TemplateLoader; 51 public Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode) { 58 public Template createTemp(String name, String content, EscapeMode escapingMode) {
|
InterpretedMacro.java | 24 import com.google.clearsilver.jsilver.template.Macro; 25 import com.google.clearsilver.jsilver.template.RenderingContext; 26 import com.google.clearsilver.jsilver.template.Template; 39 private final Template owningTemplate; 45 public InterpretedMacro(PCommand command, Template owningTemplate, String macroName,
|
/packages/apps/Browser/src/com/android/browser/homepages/ |
Template.java | 35 public class Template {
37 private static HashMap<Integer, Template> sCachedTemplates = new HashMap<Integer, Template>();
39 public static Template getCachedTemplate(Context context, int id) {
41 Template template = sCachedTemplates.get(id);
local 42 if (template == null) {
43 template = new Template(context, id);
44 sCachedTemplates.put(id, template);
[all...] |
/external/clang/include/clang/AST/ |
TemplateBase.h | 11 // template representation. 37 /// \brief Represents a template argument within a class template 41 /// \brief The kind of template argument we're storing. 43 /// \brief Represents an empty template argument, e.g., one that has not 46 /// The template argument is a type. 48 /// The template argument is a declaration that was provided for a pointer, 49 /// reference, or pointer to member non-type template parameter. 51 /// The template argument is a null pointer or null pointer to member that 52 /// was provided for a non-type template parameter [all...] |
TemplateName.h | 1 //===--- TemplateName.h - C++ Template Name Representation-------*- C++ -*-===// 40 /// template names or an already-substituted template template parameter pack. 53 /// \brief The number of stored templates or template arguments, 91 /// overloaded template name. 112 /// \brief A structure for storing an already-substituted template template 115 /// This kind of template names occurs when the parameter pack has been 116 /// provided with a template template argument pack in a context where it [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/compatibility/ |
ClearsilverRenderer.java | 20 import com.google.clearsilver.jsilver.template.Template; 100 public void render(Template template, Data data, Appendable output, ResourceLoader resourceLoader) 103 + "template names, not Templates"); 107 public void render(Template template, Data data, Appendable output) throws IOException, 109 render(template, data, output, defaultResourceLoader); 113 public String render(Template template, Data data) throws IOException, JSilverException [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
TemplateCompiler.java | 25 import com.google.clearsilver.jsilver.template.DelegatingTemplateLoader; 26 import com.google.clearsilver.jsilver.template.Template; 27 import com.google.clearsilver.jsilver.template.TemplateLoader; 39 * Takes a template AST and compiles it into a Java class, which executes much faster than the 48 // Because each template is isolated in its own ClassLoader, it doesn't 71 public Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode) { 77 public Template createTemp(String name, String content, EscapeMode escapeMode) { 84 * @param ast A template AST. 85 * @param templateName Name of template (e.g. "foo.cs"). Used for error reporting. May be null [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/precompiler/ |
PrecompiledTemplateLoader.java | 24 import com.google.clearsilver.jsilver.template.DelegatingTemplateLoader; 25 import com.google.clearsilver.jsilver.template.Template; 26 import com.google.clearsilver.jsilver.template.TemplateLoader; 33 * TemplateLoader that stores objects from precompiled Template classes and serves them when asked 39 * This is the next TemplateLoader to ask if we don't find the template. 67 // The template's escapeMode is not currently used as the autoescaping is all 98 for (BaseCompiledTemplate template : templateMap.values()) { 99 template.setTemplateLoader(templateLoaderDelegate); 104 public Template load(String templateName, ResourceLoader resourceLoader, EscapeMode escapeMode) 107 Template template = templateMap.get(mapKey); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/ |
StringEvaluator.java | 26 import freemarker.template.Configuration; 27 import freemarker.template.DefaultObjectWrapper; 28 import freemarker.template.Template; 38 * A template handler which can evaluate simple strings. Used to evaluate 42 * full template files (from resources, merging into existing files etc) this 62 // Render the instruction list template. 68 Template inputsTemplate = mFreemarker.getTemplate(expression);
|
/external/clang/test/Parser/ |
cxx0x-attributes.cpp | 8 template <class _E> 91 template<typename> [[]] struct no_init_declarators_template; // expected-error {{an attribute list cannot appear here}} 104 template <typename T> [[]] void template_attr (); 116 [[]] template <typename T> void before_template_attr (); // expected-error {{an attribute list cannot appear here}} 127 template<typename T> using U [[]] = T; 143 template<typename> struct Template {}; 147 struct [[]] Template<int> t; // expected-error {{an attribute list cannot appear here}} 148 struct [[]] ::template Template<int> u; // expected-error {{an attribute list cannot appear here} [all...] |