Example #1
0
        internal void AddStatment(StyleIdScope IdScope)
        {
            if (this.Ids == null)
            {
                this.Ids = new List <RSSStyleItem>();
            }

            Ids.Add(new RSSStyleItem(IdScope.ClassNames, IdScope.Ids));
        }
Example #2
0
        private void ProcessStyleId(string[] details, Statment stat)
        {
            if (Scopes.Count == 0)
            {
                throw new ParserException("Can't open a style id this scope.");
            }

            StyleIdScope StScope = (StyleIdScope)stat.Generate(null, (Scopes.Count == 0 ? this : Scopes.Peek()));

            StScope.ClassNames = details;

            Scopes.Push(StScope);
        }