Beispiel #1
0
            public GlowContainer Visit(GlowQualifiedFunction glow, object state)
            {
                var newPath      = PrependPathWithEndPointNumber(glow.Path);
                var newQualified = new GlowQualifiedFunction(newPath);

                foreach (var ember in glow)
                {
                    if (ember.Tag != GlowTags.QualifiedMatrix.Path)
                    {
                        newQualified.Insert(ember);
                    }
                }

                return(newQualified);
            }
Beispiel #2
0
            public IEnumerable <GlowContainer> Visit(GlowQualifiedFunction glow, object state)
            {
                EndPointNumber = glow.Path[0];

                var newPath      = glow.Path.Skip(1).ToArray();
                var newQualified = new GlowQualifiedFunction(newPath);

                foreach (var ember in glow)
                {
                    if (ember.Tag != GlowTags.QualifiedFunction.Path)
                    {
                        newQualified.Insert(ember);
                    }
                }

                yield return(newQualified);
            }