internal ReferenceBTValue(BTType btType) { this.next = null; this.types = new ArrayList(); this.btType = btType; this.flds = new Hashtable(); this.crtrs = new Creators(); }
public static BTType[] GetObjectFieldBTTypes(NewObject upNode) { ReferenceBTValue obj = AnnotatingVisitor.GetNewBTValue(upNode); FieldInfo[] fldInfos = ReflectionUtils.GetAllFields(upNode.Constructor.DeclaringType); BTType[] btTypes = new BTType[fldInfos.Length]; for (int i = 0; i < btTypes.Length; i++) btTypes[i] = obj[fldInfos[i]].BTType; return btTypes; }
internal override Creators Lift() { if (this.btType == BTType.Static) { this.btType = BTType.Dynamic; return(this.crtrs); } else { return(new Creators()); } }
private Creators lift() { if (this.btType == BTType.Static) { this.btType = BTType.Dynamic; this.flds.Clear(); return(this.crtrs); } else { return(new Creators()); } }
private Creators lift() { if (this.btType == BTType.Static) { this.btType = BTType.Dynamic; this.flds.Clear(); return this.crtrs; } else return new Creators(); }
internal static ReferenceBTValue NewReferenceBTValue(Type type, BTType btType) { return type == typeof(void) ? null : new ReferenceBTValue(btType); }
internal ReferenceBTValue(Type type, BTType btType) { this.next = null; this.types = new ArrayList(); this.addType(type); this.btType = btType; this.flds = new Hashtable(); this.crtrs = new Creators(); }
internal override Creators Lift() { if (this.btType == BTType.Static) { this.btType = BTType.Dynamic; return this.crtrs; } else return new Creators(); }
internal PrimitiveBTValue(BTType btType) { this.btType = btType; this.crtrs = new Creators(); }
internal NBTValue(BTType btType) { this.next = null; this.types = new ArrayList(); this.btType = btType; this.flds = new Hashtable(); this.crtrs = new Creators(); }
internal static void SetNodeBTType(Node upNode, BTType btType) { upNode.Options["BTType"] = btType; }
internal static ReferenceBTValue NewReferenceBTValue(Type type, BTType btType) { return(type == typeof(void) ? null : new ReferenceBTValue(btType)); }