Esempio n. 1
0
        public CompilationUnit Parse(string text)
        {
            LexReader       src    = new LexReader(text);
            HtmlLexer       lexer  = new HtmlLexer();
            TokenCollection tokens = lexer.Lex(src);

            return(Parse(tokens));
        }
Esempio n. 2
0
        public CompilationUnit Parse(string text)
        {
            LexReader src = new LexReader(text);
            HtmlLexer lexer = new HtmlLexer();
            TokenCollection tokens = lexer.Lex(src);

            return Parse(tokens);
        }
Esempio n. 3
0
        public TokenCollection Lex(LexReader src)
        {
            _stack = new Stack<TokenId>();
            _tokens = new TokenCollection();
            _src = src;
            _curChar = src.Read();

            Lex();

            return _tokens;
        }
Esempio n. 4
0
        public TokenCollection Lex(LexReader src)
        {
            _stack   = new Stack <TokenId>();
            _tokens  = new TokenCollection();
            _src     = src;
            _curChar = src.Read();

            Lex();

            return(_tokens);
        }
Esempio n. 5
0
        public TokenCollection Lex(LexReader src)
        {
            TokenCollection tokens = new TokenCollection();

            return(tokens);
        }
Esempio n. 6
0
        public TokenCollection Lex(LexReader src)
        {
            TokenCollection tokens = new TokenCollection();

            return tokens;
        }