/// <summary> /// Initializes a new instance of the Lexer class with the specified /// TextReader to lex. /// </summary> /// <param name="source">A TextReader to lex.</param> public PageTextHtmlLexer(string html) { // token queue tokens = new List<string>(); // read the file contents reader = new CharReader(html); }
/// <summary> /// Initializes a new instance of the Lexer class with the specified /// TextReader to lex. /// </summary> /// <param name="source">A TextReader to lex.</param> public Lexer(TextReader source) { // token queue tokens = new TokenList(); // read the file contents reader = new CharReader(source); }
/// <summary> /// Initializes a new instance of the Lexer class with the specified /// TextReader to lex. /// </summary> /// <param name="source">A TextReader to lex.</param> public PageTextHtmlCmdLexer(string htmlcmd) { // read the file contents reader = new CharReader(htmlcmd); }