Пример #1
0
        public CompilationUnit Parse(string text)
        {
            LexReader       src    = new LexReader(text);
            HtmlLexer       lexer  = new HtmlLexer();
            TokenCollection tokens = lexer.Lex(src);

            return(Parse(tokens));
        }
Пример #2
0
        public CompilationUnit Parse(string text)
        {
            LexReader src = new LexReader(text);
            HtmlLexer lexer = new HtmlLexer();
            TokenCollection tokens = lexer.Lex(src);

            return Parse(tokens);
        }
Пример #3
0
        public TokenCollection Lex(LexReader src)
        {
            _stack = new Stack<TokenId>();
            _tokens = new TokenCollection();
            _src = src;
            _curChar = src.Read();

            Lex();

            return _tokens;
        }
Пример #4
0
        public TokenCollection Lex(LexReader src)
        {
            _stack   = new Stack <TokenId>();
            _tokens  = new TokenCollection();
            _src     = src;
            _curChar = src.Read();

            Lex();

            return(_tokens);
        }
Пример #5
0
        public TokenCollection Lex(LexReader src)
        {
            TokenCollection tokens = new TokenCollection();

            return(tokens);
        }
Пример #6
0
        public TokenCollection Lex(LexReader src)
        {
            TokenCollection tokens = new TokenCollection();

            return tokens;
        }