package EDU.neu.ccs.demeter.tools.apstudio.graphedit;
import java.awt.*;
import java.io.*;
import java.util.*;
import EDU.neu.ccs.demeter.*;
import EDU.neu.ccs.demeter.common.tg.*;


import EDU.neu.ccs.demeter.*;
class UVertexName implements ClassNameI, Cloneable {
  protected Ident name;
  public Ident get_name() { return name; }
  public void set_name(Ident new_name)
    { name = new_name; }
  UVertexName() { super(); }
  public UVertexName(Ident name) {
    super();
    set_name(name);
  }
  public static UVertexName parse(java.io.InputStream in) throws ParseException
    { return new Parser(in)._UVertexName(); }
  public static UVertexName parse(String s) {
    try { return parse(new java.io.ByteArrayInputStream(s.getBytes())); }
    catch (ParseException e) { throw new RuntimeException(e.toString()); }
  }
  void universal_trv0_bef(UniversalVisitor _v_) {
    _v_.before(this);
  }
  void universal_trv0_aft(UniversalVisitor _v_) {
    _v_.after(this);
  }
  void universal_trv0(UniversalVisitor _v_) {
    universal_trv0_bef(_v_);
    _v_.before_name(this, name);
    _v_.after_name(this, name);
    universal_trv0_aft(_v_);
  }
  void saveGraph_UGraph_trv_bef(SaveGraphVisitor sgv) {
    sgv.before(this);
  }
  void saveGraph_UGraph_trv_aft(SaveGraphVisitor sgv) {  }
  void saveGraph_UGraph_trv(SaveGraphVisitor sgv) {
    saveGraph_UGraph_trv_bef(sgv);
    saveGraph_UGraph_trv_aft(sgv);
  }
  void saveMarkedGraph_UGraph_trv_bef(SelectMarkedVisitor v) {  }
  void saveMarkedGraph_UGraph_trv_aft(SelectMarkedVisitor v) {  }
  void saveMarkedGraph_UGraph_trv_aro_UVertexName(SelectMarkedVisitor v) {  }
  static java.lang.reflect.Method saveMarkedGraph_UGraph_trv_aro_UVertexName;
  static {
    try {
      saveMarkedGraph_UGraph_trv_aro_UVertexName =
        UVertexName.class.getDeclaredMethod("saveMarkedGraph_UGraph_trv_aro_UVertexName",
          new Class[] { SelectMarkedVisitor.class });
    } catch (NoSuchMethodException e) {
      throw new RuntimeException(e.toString());
    }
  }
  void saveMarkedGraph_UGraph_trv(SelectMarkedVisitor v) {
    saveMarkedGraph_UGraph_trv_bef(v);
    v.around(new __Subtraversal(saveMarkedGraph_UGraph_trv_aro_UVertexName, this, new Object[] { v }), this);
    saveMarkedGraph_UGraph_trv_aft(v);
  }
  void toallCdString_UVertex_trv_bef(cdStringVisitor __v0) {
    __v0.before(this);
  }
  void toallCdString_UVertex_trv_aft(cdStringVisitor __v0) {  }
  void toallCdString_UVertex_trv(cdStringVisitor __v0) {
    toallCdString_UVertex_trv_bef(__v0);
    toallCdString_UVertex_trv_aft(__v0);
  }
}

