Esempio n. 1
0
 /** Accepts the specified visitor. */
 public void accept(KjcVisitor p) {
   if (p instanceof SLIRVisitor) {
     ((SLIRVisitor) p).visitMarker(this);
   } else {
     // otherwise, do nothing
   }
 }
Esempio n. 2
0
 /** Accepts the specified visitor. */
 public void accept(KjcVisitor p) {
   if (p instanceof SLIRVisitor) {
     ((SLIRVisitor) p).visitPushExpression(this, tapeType, arg);
   } else {
     // otherwise, visit the argument
     arg.accept(p);
   }
 }
Esempio n. 3
0
 public void accept(SLIRVisitor v) {
   int[] weights = null;
   if (this.weights != null) {
     weights = new int[ways];
     getWeights(weights);
   }
   v.visitSetJoiner(this, getStreamContext(), type, ways, weights);
 }
 /** Accepts the specified visitor. */
 public void accept(KjcVisitor p) {
   if (p instanceof SLIRVisitor) {
     ((SLIRVisitor) p).visitMessageStatement(this, portal, iname, ident, args, latency);
   } else {
     // otherwise, visit the arguments
     for (int i = 0; i < args.length; i++) {
       args[i].accept(p);
     }
   }
 }