// <summary> // Create a VarInfo for a collection typed Var // </summary> // <param name="v"> The collection-typed Var </param> // <param name="newVar"> the new Var </param> // <returns> the VarInfo </returns> internal VarInfo CreateCollectionVarInfo(Var v, Var newVar) { VarInfo varInfo = new CollectionVarInfo(newVar); m_map.Add(v, varInfo); return(varInfo); }
/// <summary> /// Create a VarInfo for a collection typed Var /// </summary> /// <param name="v"> The collection-typed Var </param> /// <param name="newVar"> the new Var </param> /// <returns> the VarInfo </returns> internal VarInfo CreateCollectionVarInfo(Var v, Var newVar) { VarInfo varInfo = new CollectionVarInfo(newVar); m_map.Add(v, varInfo); return varInfo; }