/** Returns a formatted text string of this class. */
  public String asString(int indent, int increment) {

    StringBuffer sb = new StringBuffer();

    printSpace(indent, sb);
    sb.append("RealizationParamDec\n");

    if (name != null) {
      sb.append(name.asString(indent + increment, increment));
    }

    if (conceptName != null) {
      sb.append(conceptName.asString(indent + increment, increment));
    }

    return sb.toString();
  }
Exemplo n.º 2
0
  /** Returns a formatted text string of this class. */
  public String asString(int indent, int increment) {

    StringBuffer sb = new StringBuffer();

    printSpace(indent, sb);
    sb.append("ProgramParamExp\n");

    if (name != null) {
      sb.append(name.asString(indent + increment, increment));
    }

    if (arguments != null) {
      sb.append(arguments.asString(indent + increment, increment));
    }

    if (semanticExp != null) {
      sb.append(semanticExp.asString(indent + increment, increment));
    }

    return sb.toString();
  }