Exemple #1
0
        public Structure Find(GenericPrototype prototype)
        {
            TypeGroupName gname = new TypeGroupName(null, prototype);
            TypeGroupName res   = types.Find(gname);

            if (res != null)
            {
                return(res.GetBuilding());
            }
            return(null);
        }
Exemple #2
0
        public Function Find(FunctionType type, bool isStatic)
        {
            MakeConcrete();
            FunctionGroupName gname   = new FunctionGroupName(type, isStatic);
            FunctionGroupName oldName = functions.Find(gname);

            if (oldName != null)
            {
                return(oldName.GetFunction());
            }
            return(null);
        }