public override void Accept (StructuralVisitor visitor) { visitor.Visit (this); if (visitor.AutoVisit) { if (visitor.Skip) { visitor.Skip = false; return; } if (visitor.Continue && visitor.Depth >= VisitDepth.MethodBodies) this.block.Accept (visitor); } }
public override object Accept (StructuralVisitor visitor) { var ret = visitor.Visit (this); if (visitor.AutoVisit) { if (visitor.Skip) { visitor.Skip = false; return ret; } if (visitor.Continue && elements != null) { foreach (var elem in elements) { if (visitor.Continue) elem.Accept (visitor); } } } return ret; }
public override void Accept (StructuralVisitor visitor) { visitor.Visit (this); }
public override object Accept (StructuralVisitor visitor) { var ret = visitor.Visit (this); if (visitor.AutoVisit) { if (visitor.Continue && arguments != null) { foreach (var arg in arguments) { if (visitor.Continue) arg.Expr.Accept (visitor); } } } return ret; }
public override void Accept (StructuralVisitor visitor) { throw new InternalErrorException ("should not be called"); }
public abstract void Accept (StructuralVisitor visitor);
public override object Accept (StructuralVisitor visitor) { var ret = visitor.Visit (this); if (visitor.AutoVisit) { if (visitor.Continue) this.Block.Accept (visitor); } return ret; }
public override object Accept (StructuralVisitor visitor) { var ret = visitor.Visit (this); if (visitor.AutoVisit) { if (visitor.Skip) { visitor.Skip = false; return ret; } if (visitor.Continue) this.target.Accept (visitor); if (visitor.Continue) this.source.Accept (visitor); } return ret; }
public virtual object Accept(StructuralVisitor visitor) { return(visitor.Visit(this)); }
public override void Accept (StructuralVisitor visitor) { visitor.Visit (this); if (visitor.AutoVisit && visitor.Depth >= VisitDepth.MethodBodies) { if (visitor.Continue && Get != null && visitor.Depth >= VisitDepth.MethodBodies) Get.Accept (visitor); if (visitor.Continue && Set != null && visitor.Depth >= VisitDepth.MethodBodies) Set.Accept (visitor); } }
public override void Accept(StructuralVisitor visitor) { visitor.Visit(this); }
public override object Accept(StructuralVisitor visitor) { return(visitor.Visit(this)); }
public virtual void Accept(StructuralVisitor visitor) { visitor.Visit(this); }
public override void Accept (StructuralVisitor visitor) { visitor.Visit (this); if (visitor.AutoVisit) { if (visitor.Skip) { visitor.Skip = false; return; } foreach (var cont in containers) { if (visitor.Continue && visitor.Depth >= VisitDepth.Namespaces) cont.Accept (visitor); } } }
protected void AcceptChildContainers (StructuralVisitor visitor) { if (visitor.AutoVisit) { if (visitor.Skip) { visitor.Skip = false; return; } if (visitor.Continue && containers != null && containers.Count > 0) { foreach (var container in containers) { if (visitor.Continue) { if (container is TypeDefinition && visitor.Depth >= VisitDepth.Types) container.Accept (visitor); else if (container is NamespaceContainer && visitor.Depth >= VisitDepth.Namespaces) container.Accept (visitor); } } } } }
public override void Accept (StructuralVisitor visitor) { visitor.Visit (this); if (visitor.AutoVisit) { if (visitor.Skip) { visitor.Skip = false; return; } foreach (var member in Members) { if (visitor.Continue) member.Accept (visitor); } } }
public override void Accept (StructuralVisitor visitor) { visitor.Visit (this); AcceptChildContainers (visitor); }
public virtual object Accept (StructuralVisitor visitor) { return visitor.Visit (this); }
public override void Accept (StructuralVisitor visitor) { visitor.Visit (this); if (visitor.AutoVisit) { if (visitor.Skip) { visitor.Skip = false; return; } if (visitor.Continue) AcceptChildContainers (visitor); if (visitor.Continue && members != null && members.Count > 0 && visitor.Depth >= VisitDepth.Members) { foreach (var member in members) { if (visitor.Continue && (visitor.Depth & VisitDepth.Members) != 0) member.Accept (visitor); } } } }
public virtual void Accept (StructuralVisitor visitor) { visitor.Visit (this); }
public override void Accept (StructuralVisitor visitor) { visitor.Visit (this); if (visitor.AutoVisit) { if (visitor.Skip) { visitor.Skip = false; return; } if (visitor.Continue && this.Initializer != null && visitor.Depth >= VisitDepth.Initializers) this.Initializer.Accept (visitor); if (visitor.Continue && declarators != null && visitor.Depth >= VisitDepth.Initializers) { foreach (var decl in declarators) { if (visitor.Continue && decl.Initializer != null && decl.Initializer != null) { decl.Initializer.Accept (visitor); } } } } }
public override void Accept (StructuralVisitor visitor) { base.Accept (visitor); }
public override void Accept (StructuralVisitor visitor) { visitor.Visit (this); if (visitor.AutoVisit) { if (visitor.Skip) { visitor.Skip = false; return; } if (visitor.Continue) this.block.Accept (visitor); } }
public override object Accept (StructuralVisitor visitor) { return visitor.Visit (this); }
public override object Accept (StructuralVisitor visitor) { var ret = visitor.Visit (this); if (visitor.AutoVisit) { if (visitor.Skip) { visitor.Skip = false; return ret; } if (visitor.Continue && this.expr != null) this.expr.Accept (visitor); } return ret; }