Example #1
0
        public void Leave(LexicalMode mode, CssTokenizer tokenizer = null)
        {
            if (current != mode) throw new UnexpectedModeChange(current, mode, (tokenizer == null) ? 0 : tokenizer.Current.Position);

            modes.Pop();

            current = modes.Peek();
        }
Example #2
0
 public CssParser(CssTokenizer tokenizer)
 {
     this.tokenizer = tokenizer;
 }
Example #3
0
 public CssParser(CssTokenizer tokenizer)
 {
     this.tokenizer = tokenizer;
 }