//public SimplePTGNode(PTGID id, SimplePTGNodeKind kind = SimplePTGNodeKind.Null) // { // this.Id = id; // this.Kind = kind; // this.Variables = new HashSet<IVariable>(); // this.Sources = new MapSet<IFieldReference, SimplePTGNode>(); // this.Targets = new MapSet<IFieldReference, SimplePTGNode>(); // } public SimplePTGNode(PTGID id, ITypeReference type, SimplePTGNodeKind kind = SimplePTGNodeKind.Object) // : this(id, kind) { this.Id = id; this.Type = type; this.Kind = kind; this.Variables = new HashSet <IVariable>(); this.Sources = new MapSet <IFieldReference, SimplePTGNode>(); this.Targets = new MapSet <IFieldReference, SimplePTGNode>(); }
public JSonNode(PTGID id, ITypeReference oType) : base(id, oType, SimplePTGNodeKind.Json) { this.ObjectType = oType; }
public DelegateNode(PTGID id, IMethodReference method, IVariable instance) : base(id, method.Type, SimplePTGNodeKind.Delegate) { this.Method = method; this.Instance = instance; this.IsStatic = instance == null; }
public ParameterNode(PTGID id, string parameter, ITypeReference type, SimplePTGNodeKind kind = SimplePTGNodeKind.Null) : base(id, type, SimplePTGNodeKind.Parameter) { this.Parameter = parameter; }