VelocimacroProxy createVelocimacro(String namespace) { VelocimacroProxy vp = new VelocimacroProxy(); vp.setName(this.macroname); vp.setArgArray(this.argarray); vp.setNodeTree(this.nodeTree); vp.setNamespace(namespace); return vp; }
private MacroEntry( final String vmName, final Node macro, final String argArray[], final String sourceTemplate, RuntimeServices rsvc) { this.vmName = vmName; this.argArray = argArray; this.nodeTree = (SimpleNode) macro; this.sourceTemplate = sourceTemplate; vp = new VelocimacroProxy(); vp.setName(this.vmName); vp.setArgArray(this.argArray); vp.setNodeTree(this.nodeTree); vp.setLocation(macro.getLine(), macro.getColumn(), macro.getTemplateName()); vp.init(rsvc); }