Beispiel #1
0
 @Override
 public ExpressionType validateSemantics() {
   for (GateInstance gateInstance : gateInstanceList) {
     gateInstance.validateSemantics();
   }
   return null;
 }
Beispiel #2
0
 @Override
 public VNode getCopy() {
   ArrayList<GateInstance> newInstances = new ArrayList<GateInstance>();
   for (GateInstance gateInstance : gateInstanceList) {
     newInstances.add((GateInstance) gateInstance.getCopy());
   }
   return new GateDecl(gateType, newInstances, line, column);
 }