Ejemplo n.º 1
0
        public static IList <PairLiteralIntegerIdRef> ParseCollection(WordReader reader, uint wordCount)
        {
            var end = reader.Position + wordCount;
            var res = new PrintableList <PairLiteralIntegerIdRef>();

            while (reader.Position < end)
            {
                res.Add(Parse(reader, end - reader.Position));
            }
            return(res);
        }
Ejemplo n.º 2
0
        public static IList <FunctionControl> ParseCollection(WordReader reader, uint wordCount)
        {
            var end = reader.Position + wordCount;
            var res = new PrintableList <FunctionControl>();

            while (reader.Position < end)
            {
                res.Add(Parse(reader, end - reader.Position));
            }
            return(res);
        }
Ejemplo n.º 3
0
        public static IList <LiteralContextDependentNumber> ParseCollection(WordReader reader, uint wordCount, TypeInstruction type)
        {
            var end = reader.Position + wordCount;
            var res = new PrintableList <LiteralContextDependentNumber>();

            while (reader.Position < end)
            {
                res.Add(Parse(reader, end - reader.Position, type));
            }
            return(res);
        }
Ejemplo n.º 4
0
        public static IList <ImageChannelDataType> ParseCollection(WordReader reader, uint wordCount)
        {
            var end = reader.Position + wordCount;
            var res = new PrintableList <ImageChannelDataType>();

            while (reader.Position < end)
            {
                res.Add(Parse(reader, end - reader.Position));
            }
            return(res);
        }
Ejemplo n.º 5
0
        public static IList <SamplerAddressingMode> ParseCollection(WordReader reader, uint wordCount)
        {
            var end = reader.Position + wordCount;
            var res = new PrintableList <SamplerAddressingMode>();

            while (reader.Position < end)
            {
                res.Add(Parse(reader, end - reader.Position));
            }
            return(res);
        }
Ejemplo n.º 6
0
        public static IList <KernelProfilingInfo> ParseCollection(WordReader reader, uint wordCount)
        {
            var end = reader.Position + wordCount;
            var res = new PrintableList <KernelProfilingInfo>();

            while (reader.Position < end)
            {
                res.Add(Parse(reader, end - reader.Position));
            }
            return(res);
        }
Ejemplo n.º 7
0
        public static IList <IdRef <TypeInstruction> > ParseCollection(WordReader reader, uint wordCount)
        {
            var end = reader.Position + wordCount;
            var res = new PrintableList <IdRef <TypeInstruction> >();

            while (reader.Position < end)
            {
                res.Add(Parse(reader, end - reader.Position));
            }
            return(res);
        }