Searched refs:macroName (Results 1 – 5 of 5) sorted by relevance
/external/clang/utils/TableGen/ |
D | ClangASTNodesEmitter.cpp | 36 static std::string macroName(std::string S) { in macroName() function in __anonf83aa6ab0111::ClangASTNodesEmitter 76 std::string BaseName = macroName(Base->getName()); in EmitNode() 89 std::string NodeName = macroName(R->getName()); in EmitNode() 97 OS << "ABSTRACT_" << macroName(Root.getName()) << "(" << NodeName << "(" in EmitNode() 125 OS << "LAST_" << macroName(Root.getName()) << "_RANGE("; in EmitNode() 127 OS << macroName(Root.getName()) << "_RANGE("; in EmitNode() 139 OS << "#ifndef ABSTRACT_" << macroName(Root.getName()) << "\n"; in run() 140 OS << "# define ABSTRACT_" << macroName(Root.getName()) << "(Type) Type\n"; in run() 143 OS << "#ifndef " << macroName(Root.getName()) << "_RANGE\n"; in run() 145 << macroName(Root.getName()) << "_RANGE(Base, First, Last)\n"; in run() [all …]
|
/external/jsilver/src/com/google/clearsilver/jsilver/interpreter/ |
D | InterpretedMacro.java | 40 private final String macroName; field in InterpretedMacro 45 public InterpretedMacro(PCommand command, Template owningTemplate, String macroName, in InterpretedMacro() argument 50 this.macroName = macroName; in InterpretedMacro() 94 return owningTemplate.getDisplayName() + ":" + macroName; in getDisplayName() 99 return macroName; in getMacroName() 107 throw new JSilverInterpreterException("Too many arguments supplied to macro " + macroName); in getArgumentName()
|
D | TemplateInterpreter.java | 435 String macroName = makeWord(node.getMacro()); in caseADefCommand() local 441 throw new JSilverInterpreterException("Invalid name for macro '" + macroName in caseADefCommand() 448 context.registerMacro(macroName, new InterpretedMacro(node.getCommand(), template, macroName, in caseADefCommand() 472 String macroName = makeWord(node.getMacro()); in caseACallCommand() local 473 Macro macro = context.findMacro(macroName); in caseACallCommand() 478 throw new JSilverInterpreterException("Number of arguments to macro " + macroName + " (" in caseACallCommand()
|
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
D | BaseCompiledTemplate.java | 246 private final String macroName; field in BaseCompiledTemplate.CompiledMacro 249 protected CompiledMacro(String macroName, String... argumentsNames) { in CompiledMacro() argument 250 this.macroName = macroName; in CompiledMacro() 272 return macroName; in getMacroName() 280 throw new JSilverInterpreterException("Too many arguments supplied to macro " + macroName); in getArgumentName() 300 return BaseCompiledTemplate.this.getDisplayName() + ":" + macroName; in getDisplayName()
|
D | TemplateTranslator.java | 656 public void parseDefNode(JavaExpression macroName, ADefCommand node) { in parseDefNode() argument 657 java.startField("Macro", macroName); in parseDefNode()
|