示例#1
0
文件: LexicalMode.cs 项目: carbon/Css
        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();
        }
示例#2
0
文件: CssParser.cs 项目: carbon/Css
 public CssParser(CssTokenizer tokenizer)
 {
     this.tokenizer = tokenizer;
 }
示例#3
0
 public CssParser(CssTokenizer tokenizer)
 {
     this.tokenizer = tokenizer;
 }