Home
last modified time | relevance | path

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

/external/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/runtime/directive/
DVelocimacroProxy.java52 private List<MacroArg> macroArgs = null; field in VelocimacroProxy
100 macroArgs = args; in setMacroArgs()
106 literalArgArray = new String[macroArgs.size()]; in setMacroArgs()
107 for (int i = 0; i < macroArgs.size(); i++) in setMacroArgs()
109 literalArgArray[i] = ".literal.$" + macroArgs.get(i).name; in setMacroArgs()
118 numMacroArgs = macroArgs.size() - 1; in setMacroArgs()
127 return macroArgs; in getMacroArgs()
252 for (int i = 1; i < macroArgs.size(); i++) in render()
254 MacroArg macroArg = macroArgs.get(i); in render()
301 if (callArgNum > macroArgs.size() - 1) in checkArgumentCount()
[all …]
DMacro.java120 List<MacroArg> macroArgs = getArgArray(node, rsvc); in init() local
122 rsvc.addVelocimacro(macroArgs.get(0).name, node.jjtGetChild(numArgs - 1), in init()
123 macroArgs, node.getTemplate()); in init()
203 ArrayList<MacroArg> macroArgs = new ArrayList<>(); in getArgArray() local
232 macroArgs.add(macroArg); in getArgArray()
239 macroToString(msg, macroArgs, rsvc); in getArgArray()
243 return macroArgs; in getArgArray()
276 …public static StringBuilder macroToString(final StringBuilder buf, List<MacroArg> macroArgs, Runti… in macroToString() argument
280 …ret.append(rsvc.getParserConfiguration().getHashChar()).append(macroArgs.get(0).name).append("( "); in macroToString()
281 for (MacroArg marg : macroArgs) in macroToString()
/external/apache-velocity-engine/velocity-engine-core/src/main/java/org/apache/velocity/runtime/
DVelocimacroManager.java95 public boolean addVM(final String vmName, final Node macroBody, List<Macro.MacroArg> macroArgs, in addVM() argument
105 … MacroEntry me = new MacroEntry(vmName, macroBody, macroArgs, definingTemplate.getName(), rsvc); in addVM()
314 List<Macro.MacroArg> macroArgs, final String sourceTemplate, in MacroEntry() argument
322 vp.setMacroArgs(macroArgs); in MacroEntry()
DVelocimacroFactory.java335 List<Macro.MacroArg> macroArgs, Template definingTemplate) in addVelocimacro() argument
347 if (name == null || macroBody == null || macroArgs == null || in addVelocimacro()
359 else if (macroArgs == null) in addVelocimacro()
383 vmManager.addVM(name, macroBody, macroArgs, definingTemplate, replaceAllowed); in addVelocimacro()
DRuntimeSingleton.java415 List<Macro.MacroArg> macroArgs, Template definingTemplate) in addVelocimacro() argument
417 return ri.addVelocimacro(name, macro, macroArgs, definingTemplate); in addVelocimacro()
DRuntimeServices.java339 List<Macro.MacroArg> macroArgs, in addVelocimacro() argument
DRuntimeInstance.java1837 List<Macro.MacroArg> macroArgs, in addVelocimacro() argument
1840 …return vmFactory.addVelocimacro(stringInterning ? name.intern() : name, macro, macroArgs, defining… in addVelocimacro()