コード例 #1
0
        private Object handleStruct(Object tag, int fields)
        {
            ReadHandler h = Fns.lookup <object, ReadHandler>(handlerLookup, tag);

            if (h == null)
            {
                if (standardExtensionHandlers.ContainsKey(tag))
                {
                    h = standardExtensionHandlers[tag];
                }
            }
            if (h == null)
            {
                return(new TaggedObject(tag, readObjects(fields)));
            }
            else
            {
                return(h.read(this, tag, fields));
            }
        }