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 StrategyVariable extends StrategyExpression {
  protected StrategyName strategyname;
  public StrategyName get_strategyname() { return strategyname; }
  public void set_strategyname(StrategyName new_strategyname)
    { strategyname = new_strategyname; }
  StrategyVariable() { super(); }
  public StrategyVariable(StrategyName strategyname) {
    super();
    set_strategyname(strategyname);
  }
  public static StrategyVariable parse(java.io.InputStream in) throws ParseException
    { return new Parser(in)._StrategyVariable(); }
  public static StrategyVariable parse(String s) {
    try { return parse(new java.io.ByteArrayInputStream(s.getBytes())); }
    catch (ParseException e) { throw new RuntimeException(e.toString()); }
  }
  StrategyGraph toGraph(ClassName source) {
    System.err.println("Error: strategy variables not yet implemented.");
    return null;
  }
  void universal_trv0_bef(UniversalVisitor _v_) {
    super.universal_trv0_bef(_v_);
    _v_.before(this);
  }
  void universal_trv0_aft(UniversalVisitor _v_) {
    _v_.after(this);
    super.universal_trv0_aft(_v_);
  }
  void universal_trv0(UniversalVisitor _v_) {
    universal_trv0_bef(_v_);
    _v_.before_strategyname(this, strategyname);
    strategyname.universal_trv0(_v_);
    _v_.after_strategyname(this, strategyname);
    super.universal_trv0(_v_);
    universal_trv0_aft(_v_);
  }
  void toAllSubclasses_Program_trv(ClassNameTranspVisitor cntv, EdgeVisitor aev) {  }
  void checkStars_ProgramBehavior_trv_bef(DummyVisitor dv) {
    super.checkStars_ProgramBehavior_trv_bef(dv);
    dv.before(this);
  }
  void checkStars_ProgramBehavior_trv_aft(DummyVisitor dv) {
    super.checkStars_ProgramBehavior_trv_aft(dv);
  }
  void checkStars_ProgramBehavior_trv(DummyVisitor dv) {
    checkStars_ProgramBehavior_trv_bef(dv);
    checkStars_ProgramBehavior_trv_aft(dv);
  }
  void allSources_StrategyGraph_trv(GlobVisitor __v0) {  }
  void allDests_StrategyGraph_trv(GlobVisitor __v0) {  }
  void __trav_markReachableForwardFromSources_StrategyGraph_trv(__V_StrategyGraph_markReachableForwardFromSources __v0) {  }
  void __trav_markReachableBackwardFromTargets_StrategyGraph_trv(__V_StrategyGraph_markReachableBackwardFromTargets __v0) {  }
  void __trav_allSourcesAndTargetsMarked_StrategyGraph_trv(__V_StrategyGraph_allSourcesAndTargetsMarked __v0) {  }
  void __trav_getFirst_StrategyGraph_trv(java.util.BitSet nodes, __V_StrategyGraph_getFirst __v0) {  }
  void __trav_toGraph_PathDirective_trv(__V_PathDirective_toGraph __v0) {  }
}

