Beispiel #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="name"></param>
        /// <param name="ret_type"></param>
        /// <param name="type_infos"></param>
        ///

        public void AddFunctionProtoType(string name, TYPE_INFO ret_type,
                                         ArrayList type_infos)
        {
            FUNCTION_INFO info = new FUNCTION_INFO(name, ret_type, type_infos);

            protos.Add(info);
        }
Beispiel #2
0
 //fun outsideAdder()fun(int)int
 public FUNCTION_INFO(string name, FUNCTION_INFO ret_value,
                      ArrayList formals)
 {
     closure   = ret_value;
     _typeinfo = formals;
     _name     = name;
 }