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 NodeSubsetName extends Simple { protected Ident name; public Ident get_name() { return name; } public void set_name(Ident new_name) { name = new_name; } public NodeSubsetName() { super(); } public NodeSubsetName(Ident name) { super(); set_name(name); } public static NodeSubsetName parse(java.io.Reader in) throws ParseException { return new Parser(in)._NodeSubsetName(); } public static NodeSubsetName parse(java.io.InputStream in) throws ParseException { return new Parser(in)._NodeSubsetName(); } public static NodeSubsetName parse(String s) { try { return parse(new java.io.StringReader(s)); } catch (ParseException e) { throw new RuntimeException(e.toString()); } } List eval() { // find the definition and evaluate NodeSubsetExpression theExp = findNodeSubsetExpression(get_name().toString()); return theExp.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_name(this, name); ((UniversalVisitor) _v_).after_name(this, name); super.universal_trv0(_v_); universal_trv0_aft(_v_); } }