@Override
  public void inAAlt(AAlt node) {
    counter = 0;
    processingParsedAlt = true;

    if (node.getAltName() != null) {
      currentAlt = "A" + ResolveIds.name(node.getAltName().getText()) + currentProd;
    } else {
      currentAlt = "A" + currentProd;
    }

    ids.names.put(node, currentAlt);
  }
 @Override
 public void inAProd(AProd node) {
   currentProd = ResolveIds.name(node.getId().getText());
   ids.names.put(node, currentProd);
 }