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 ClassGlob extends Glob { protected ClassNameGlob name; public ClassNameGlob get_name() { return name; } public void set_name(ClassNameGlob new_name) { name = new_name; } ClassGlob() { super(); } public ClassGlob(ClassNameGlob name) { super(); set_name(name); } public static ClassGlob parse(java.io.InputStream in) throws ParseException { return new Parser(in)._ClassGlob(); } public static ClassGlob parse(String s) { try { return parse(new java.io.ByteArrayInputStream(s.getBytes())); } catch (ParseException e) { throw new RuntimeException(e.toString()); } } public ClassGlob(ClassName name) { this(new ClassNameExact(name)); } 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_name(this, name); name.universal_trv0(_v_); _v_.after_name(this, name); super.universal_trv0(_v_); universal_trv0_aft(_v_); } void toAllSubclasses_Program_trv_bef(ClassNameTranspVisitor cntv, EdgeVisitor aev) { super.toAllSubclasses_Program_trv_bef(cntv, aev); } void toAllSubclasses_Program_trv_aft(ClassNameTranspVisitor cntv, EdgeVisitor aev) { super.toAllSubclasses_Program_trv_aft(cntv, aev); } void toAllSubclasses_Program_trv(ClassNameTranspVisitor cntv, EdgeVisitor aev) { toAllSubclasses_Program_trv_bef(cntv, aev); name.toAllSubclasses_Program_trv(cntv, aev); toAllSubclasses_Program_trv_aft(cntv, aev); } void checkStars_ProgramBehavior_trv_bef(DummyVisitor dv) { super.checkStars_ProgramBehavior_trv_bef(dv); } void checkStars_ProgramBehavior_trv_aft(DummyVisitor dv) { super.checkStars_ProgramBehavior_trv_aft(dv); } void checkStars_ProgramBehavior_trv(DummyVisitor dv) { checkStars_ProgramBehavior_trv_bef(dv); name.checkStars_ProgramBehavior_trv(dv); checkStars_ProgramBehavior_trv_aft(dv); } void allSources_StrategyGraph_trv_bef(GlobVisitor __v0) { super.allSources_StrategyGraph_trv_bef(__v0); __v0.before(this); } void allSources_StrategyGraph_trv_aft(GlobVisitor __v0) { super.allSources_StrategyGraph_trv_aft(__v0); } void allSources_StrategyGraph_trv(GlobVisitor __v0) { allSources_StrategyGraph_trv_bef(__v0); allSources_StrategyGraph_trv_aft(__v0); } void allDests_StrategyGraph_trv_bef(GlobVisitor __v0) { super.allDests_StrategyGraph_trv_bef(__v0); __v0.before(this); } void allDests_StrategyGraph_trv_aft(GlobVisitor __v0) { super.allDests_StrategyGraph_trv_aft(__v0); } void allDests_StrategyGraph_trv(GlobVisitor __v0) { allDests_StrategyGraph_trv_bef(__v0); allDests_StrategyGraph_trv_aft(__v0); } void __trav_markReachableForwardFromSources_StrategyGraph_trv_bef(__V_StrategyGraph_markReachableForwardFromSources __v0) { super.__trav_markReachableForwardFromSources_StrategyGraph_trv_bef(__v0); } void __trav_markReachableForwardFromSources_StrategyGraph_trv_aft(__V_StrategyGraph_markReachableForwardFromSources __v0) { super.__trav_markReachableForwardFromSources_StrategyGraph_trv_aft(__v0); } void __trav_markReachableForwardFromSources_StrategyGraph_trv(__V_StrategyGraph_markReachableForwardFromSources __v0) { __trav_markReachableForwardFromSources_StrategyGraph_trv_bef(__v0); name.__trav_markReachableForwardFromSources_StrategyGraph_trv(__v0); __trav_markReachableForwardFromSources_StrategyGraph_trv_aft(__v0); } void __trav_markReachableBackwardFromTargets_StrategyGraph_trv_bef(__V_StrategyGraph_markReachableBackwardFromTargets __v0) { super.__trav_markReachableBackwardFromTargets_StrategyGraph_trv_bef(__v0); } void __trav_markReachableBackwardFromTargets_StrategyGraph_trv_aft(__V_StrategyGraph_markReachableBackwardFromTargets __v0) { super.__trav_markReachableBackwardFromTargets_StrategyGraph_trv_aft(__v0); } void __trav_markReachableBackwardFromTargets_StrategyGraph_trv(__V_StrategyGraph_markReachableBackwardFromTargets __v0) { __trav_markReachableBackwardFromTargets_StrategyGraph_trv_bef(__v0); name.__trav_markReachableBackwardFromTargets_StrategyGraph_trv(__v0); __trav_markReachableBackwardFromTargets_StrategyGraph_trv_aft(__v0); } void __trav_allSourcesAndTargetsMarked_StrategyGraph_trv_bef(__V_StrategyGraph_allSourcesAndTargetsMarked __v0) { super.__trav_allSourcesAndTargetsMarked_StrategyGraph_trv_bef(__v0); } void __trav_allSourcesAndTargetsMarked_StrategyGraph_trv_aft(__V_StrategyGraph_allSourcesAndTargetsMarked __v0) { super.__trav_allSourcesAndTargetsMarked_StrategyGraph_trv_aft(__v0); } void __trav_allSourcesAndTargetsMarked_StrategyGraph_trv(__V_StrategyGraph_allSourcesAndTargetsMarked __v0) { __trav_allSourcesAndTargetsMarked_StrategyGraph_trv_bef(__v0); name.__trav_allSourcesAndTargetsMarked_StrategyGraph_trv(__v0); __trav_allSourcesAndTargetsMarked_StrategyGraph_trv_aft(__v0); } void __trav_getFirst_StrategyGraph_trv_bef(__V_StrategyGraph_getFirst __v0) { super.__trav_getFirst_StrategyGraph_trv_bef(__v0); } void __trav_getFirst_StrategyGraph_trv_aft(__V_StrategyGraph_getFirst __v0) { super.__trav_getFirst_StrategyGraph_trv_aft(__v0); } void __trav_getFirst_StrategyGraph_trv(java.util.BitSet nodes, __V_StrategyGraph_getFirst __v0) { __trav_getFirst_StrategyGraph_trv_bef(__v0); { java.util.BitSet newnodes = new java.util.BitSet(); newnodes.set(1); newnodes.and(nodes); if (!newnodes.equals(new java.util.BitSet())) name.__trav_getFirst_StrategyGraph_trv(newnodes, __v0); } __trav_getFirst_StrategyGraph_trv_aft(__v0); } void collectSource_SGEdge_trv_bef(VecVisitor vv) { super.collectSource_SGEdge_trv_bef(vv); } void collectSource_SGEdge_trv_aft(VecVisitor vv) { super.collectSource_SGEdge_trv_aft(vv); } void collectSource_SGEdge_trv(VecVisitor vv) { collectSource_SGEdge_trv_bef(vv); name.collectSource_SGEdge_trv(vv); collectSource_SGEdge_trv_aft(vv); } void collectDest_SGEdge_trv_bef(VecVisitor vv) { super.collectDest_SGEdge_trv_bef(vv); } void collectDest_SGEdge_trv_aft(VecVisitor vv) { super.collectDest_SGEdge_trv_aft(vv); } void collectDest_SGEdge_trv(VecVisitor vv) { collectDest_SGEdge_trv_bef(vv); name.collectDest_SGEdge_trv(vv); collectDest_SGEdge_trv_aft(vv); } void collectBypassVs_SGEdge_trv_bef(VecVisitor vv) { super.collectBypassVs_SGEdge_trv_bef(vv); } void collectBypassVs_SGEdge_trv_aft(VecVisitor vv) { super.collectBypassVs_SGEdge_trv_aft(vv); } void collectBypassVs_SGEdge_trv(VecVisitor vv) { collectBypassVs_SGEdge_trv_bef(vv); name.collectBypassVs_SGEdge_trv(vv); collectBypassVs_SGEdge_trv_aft(vv); } void collectOnlyThruVs_SGEdge_trv_bef(VecVisitor vv) { super.collectOnlyThruVs_SGEdge_trv_bef(vv); } void collectOnlyThruVs_SGEdge_trv_aft(VecVisitor vv) { super.collectOnlyThruVs_SGEdge_trv_aft(vv); } void collectOnlyThruVs_SGEdge_trv(VecVisitor vv) { collectOnlyThruVs_SGEdge_trv_bef(vv); name.collectOnlyThruVs_SGEdge_trv(vv); collectOnlyThruVs_SGEdge_trv_aft(vv); } void collectPartGlob_SGEdge_trv(VecVisitor vv) { } void collectSubclassGlob_SGEdge_trv(VecVisitor vv) { } void allGlobs_GlobSpec_trv_bef(GlobVisitor v) { super.allGlobs_GlobSpec_trv_bef(v); v.before(this); } void allGlobs_GlobSpec_trv_aft(GlobVisitor v) { super.allGlobs_GlobSpec_trv_aft(v); } void allGlobs_GlobSpec_trv(GlobVisitor v) { allGlobs_GlobSpec_trv_bef(v); allGlobs_GlobSpec_trv_aft(v); } void allClassGlobs_GlobSpec_trv_bef(GlobVisitor v) { super.allClassGlobs_GlobSpec_trv_bef(v); v.before(this); } void allClassGlobs_GlobSpec_trv_aft(GlobVisitor v) { super.allClassGlobs_GlobSpec_trv_aft(v); } void allClassGlobs_GlobSpec_trv(GlobVisitor v) { allClassGlobs_GlobSpec_trv_bef(v); allClassGlobs_GlobSpec_trv_aft(v); } void allEdgeGlobs_GlobSpec_trv(GlobVisitor v) { } void __trav_isExact_Glob_trv_bef(__V_Glob_isExact __v0) { super.__trav_isExact_Glob_trv_bef(__v0); } void __trav_isExact_Glob_trv_aft(__V_Glob_isExact __v0) { super.__trav_isExact_Glob_trv_aft(__v0); } void __trav_isExact_Glob_trv(__V_Glob_isExact __v0) { __trav_isExact_Glob_trv_bef(__v0); name.__trav_isExact_Glob_trv(__v0); __trav_isExact_Glob_trv_aft(__v0); } void __trav_isPartNameGlob_Glob_trv_bef(__V_Glob_isPartNameGlob __v0) { super.__trav_isPartNameGlob_Glob_trv_bef(__v0); } void __trav_isPartNameGlob_Glob_trv_aft(__V_Glob_isPartNameGlob __v0) { super.__trav_isPartNameGlob_Glob_trv_aft(__v0); } void __trav_isPartNameGlob_Glob_trv(__V_Glob_isPartNameGlob __v0) { __trav_isPartNameGlob_Glob_trv_bef(__v0); name.__trav_isPartNameGlob_Glob_trv(__v0); __trav_isPartNameGlob_Glob_trv_aft(__v0); } void __trav_get_partname_Glob_trv(__V_Glob_get_partname __v0) { } void getSourceName_PartGlob_trv(StringVisitor sv) { } void getDestName_PartGlob_trv(StringVisitor sv) { } void getPartName_PartGlob_trv(StringVisitor sv) { } void getSourceName_SubclassGlob_trv(StringVisitor sv) { } void getDestName_SubclassGlob_trv(StringVisitor sv) { } void allClassNames_ClassGlobSpec_trv_bef(ClassGlobVisitor v) { super.allClassNames_ClassGlobSpec_trv_bef(v); } void allClassNames_ClassGlobSpec_trv_aft(ClassGlobVisitor v) { super.allClassNames_ClassGlobSpec_trv_aft(v); } void allClassNames_ClassGlobSpec_trv(ClassGlobVisitor v) { allClassNames_ClassGlobSpec_trv_bef(v); name.allClassNames_ClassGlobSpec_trv(v); allClassNames_ClassGlobSpec_trv_aft(v); } void allGlobs_ClassGlobSpec_trv_bef(GlobVisitor v) { super.allGlobs_ClassGlobSpec_trv_bef(v); v.before(this); } void allGlobs_ClassGlobSpec_trv_aft(GlobVisitor v) { super.allGlobs_ClassGlobSpec_trv_aft(v); } void allGlobs_ClassGlobSpec_trv(GlobVisitor v) { allGlobs_ClassGlobSpec_trv_bef(v); allGlobs_ClassGlobSpec_trv_aft(v); } }