public CodeMember(ScriptNumber mem, CodeObject parent) { this.Parent = parent; this.MemberNumber = mem.ToInt32(); this.MemberNumberObject = mem.ObjectValue; this.Type = MEMBER_TYPE.NUMBER; }
public CodeMember(ScriptNumber mem, CodeObject parent) { this.Parent = parent; if (mem.ObjectValue is double) { this.MemberIndex = mem.ToInt32(); this.Type = MEMBER_TYPE.INDEX; } else { this.MemberNumber = mem.ObjectValue; this.Type = MEMBER_TYPE.NUMBER; } }
public CodeMember(CodeObject member, CodeObject parent) { this.MemberObject = member; this.Parent = parent; this.Type = MEMBER_TYPE.OBJECT; }
public CodeMember(object value, CodeObject parent) { this.Parent = parent; this.MemberValue = value; this.Type = MEMBER_TYPE.VALUE; }
public CodeMember(string name, CodeObject parent) { this.Parent = parent; this.MemberString = name; this.Type = MEMBER_TYPE.STRING; }
public CodeMember(CodeObject member, CodeObject parent) { this.MemberObject = member; this.Parent = parent; this.Type = MEMBER_TYPE.OBJECT; }
public CodeMember(object value, CodeObject parent) { this.Parent = parent; this.MemberValue = value; this.Type = MEMBER_TYPE.VALUE; }