Exemplo n.º 1
0
        public ParameterPack(NodeArray data) : base(ItaniumDemangleNodeType.ParameterPack)
        {
            this.data = data;

            this.ArrayCache = this.FunctionCache = this.RHSComponentCache = Cache.Unknown;

            if (data.All(p => p.ArrayCache == Cache.No))
            {
                ArrayCache = Cache.No;
            }
            if (data.All(p => p.FunctionCache == Cache.No))
            {
                FunctionCache = Cache.No;
            }
            if (data.All(p => p.RHSComponentCache == Cache.No))
            {
                RHSComponentCache = Cache.No;
            }
        }