public Structure Find(GenericPrototype prototype) { TypeGroupName gname = new TypeGroupName(null, prototype); TypeGroupName res = types.Find(gname); if (res != null) { return(res.GetBuilding()); } return(null); }
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); }