package XAspectLanguage; import java.util.*; import java.io.*; import edu.neu.ccs.demeter.aplib.*; import edu.neu.ccs.demeter.dj.ClassGraph; import edu.neu.ccs.demeter.*; class GraphNodes extends Simple { protected StrategyName strategyname; public StrategyName get_strategyname() { return strategyname; } public void set_strategyname(StrategyName new_strategyname) { strategyname = new_strategyname; } public GraphNodes() { super(); } public GraphNodes(StrategyName strategyname) { super(); set_strategyname(strategyname); } public static GraphNodes parse(java.io.Reader in) throws ParseException { return new Parser(in)._GraphNodes(); } public static GraphNodes parse(java.io.InputStream in) throws ParseException { return new Parser(in)._GraphNodes(); } public static GraphNodes parse(String s) { try { return parse(new java.io.StringReader(s)); } catch (ParseException e) { throw new RuntimeException(e.toString()); } } List eval() { // find the strategy this statement refers to and evaluate StrategyExpression nse = findStrategyExpression(get_strategyname().get_name().toString()); return nse.eval(); } void universal_trv0_bef(UniversalVisitor _v_) { super.universal_trv0_bef(_v_); ((UniversalVisitor) _v_).before(this); } void universal_trv0_aft(UniversalVisitor _v_) { ((UniversalVisitor) _v_).after(this); super.universal_trv0_aft(_v_); } void universal_trv0(UniversalVisitor _v_) { universal_trv0_bef(_v_); ((UniversalVisitor) _v_).before_strategyname(this, strategyname); strategyname.universal_trv0(_v_); ((UniversalVisitor) _v_).after_strategyname(this, strategyname); super.universal_trv0(_v_); universal_trv0_aft(_v_); } }