1 package org.jicengine.element.impl; 2 3 import org.jicengine.element.*; 4 import org.jicengine.operation.Context; 5 import org.jicengine.operation.Operation; 6 import org.jicengine.operation.PushVariableOperation; 7 import org.jicengine.operation.EmptyOperation; 8 import java.util.*; 9 10 21 22 public class ContainerElementCompiler extends ElementCompiler { 23 24 public ContainerElementCompiler(String name, Location location) 25 { 26 super(name, location); 27 } 28 29 33 protected ActionElement handleLooseVariableElement(VariableElement child) throws org.jicengine.element.ElementException 34 { 35 return new WrapperActionElement(child, child.getLocation(), new PushVariableOperation(Element.VARIABLE_NAME_ELEMENT_INSTANCE, child.getName())); 36 } 37 38 } 39 | Popular Tags |