예제 #1
0
        // <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);
        }
예제 #2
0
 /// <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;
 }