ASTSystemVariable.java

package edu.udel.cis.vsl.tass.front.minimp.ast.expression;

import edu.udel.cis.vsl.tass.front.minimp.ast.type.ASTTypeIF;

public class ASTSystemVariable extends ASTLiteralExpression {
  public enum SYS_VAR {
    NPROCS, PID
  };

  private SYS_VAR name;

  public ASTSystemVariable(ASTTypeIF type, SYS_VAR name) {
    super(type);
    this.name = name;
  }

  public SYS_VAR getName() {
    return this.name;
  }

  public String toString() {
    return this.name.toString();
  }
}