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(); }
public CssParser(CssTokenizer tokenizer) { this.tokenizer = tokenizer; }