virtual public void VisitTraitsUse(TraitsUse x) { // visits adaptation list var list = x.TraitAdaptationList; if (list != null && list.Any()) foreach(PHP.Core.AST.TraitsUse.TraitAdaptation t in list) VisitElement(t); }
virtual public void VisitTraitsUse(TraitsUse x) { // visits adaptation list var list = x.TraitAdaptationList; if (list != null) { for (int i = 0; i < list.Count; i++) { list[i].VisitMe(this); } } }
virtual public void VisitTraitAdaptationAlias(TraitsUse.TraitAdaptationAlias x) { }
virtual public void VisitTraitAdaptationPrecedence(TraitsUse.TraitAdaptationPrecedence x) { }
virtual public void VisitTraitsUse(TraitsUse x) { // visits adaptation list var list = x.TraitAdaptationList; if (list != null) foreach(PHP.Core.AST.TraitsUse.TraitAdaptation t in list) VisitElement(t); }