예제 #1
0
  public void caseAProd(AProd node) {
    AElem[] temp = (AElem[]) node.getProdTransform().toArray(new AElem[0]);

    Object[] list_alts = node.getAlts().toArray();
    for (int j = 0; j < list_alts.length; j++) {
      ((PAlt) list_alts[j]).apply(this);
    }
  }
 @Override
 public void inAProd(AProd node) {
   currentProd = ResolveIds.name(node.getId().getText());
   ids.names.put(node, currentProd);
 }