code: function Lexer(text, cfg) {
          var self = this;
          self.page = new Page(text);
          self.cursor = new Cursor();
          self.nodeFactory = this;
          this.cfg = cfg || {};
      }
docs: Lexer for html parser
  @param {String} text html content
  @param {Object} cfg config object
  @class KISSY.HtmlParser.Lexer
   
  Lexer for html parser
  @param {String} text html content
  @param {Object} cfg config object
  @class KISSY.HtmlParser.Lexer