private Variable(int index, Type type, VariableKind kind, string name) { this.index = index; this.type = type; this.kind = kind; this.name = name; options = new OptionsHash(); usersArray = new NodeArray(); }
public void CopyFrom(OptionsHash from) { options = from.options.Clone() as Hashtable; }
internal Variable(Type type, VariableKind kind) { index = freeIndex++; this.type = type; this.kind = kind; options = new OptionsHash(); usersArray = new NodeArray(); switch (kind) { case VariableKind.Local: name = "Loc" + index; break; case VariableKind.Parameter: name = "Arg" + index; break; case VariableKind.ArgList: name = "ArgList"; break; } }
protected Node(int nextCount) { parent = null; options = new OptionsHash(); prevArray = new NodeArray(); prevIndexes = new ArrayList(); nextArray = new NextNodeArray(this,nextCount); }