Lines Matching refs:handlers
19 var SimpleApiParser = module.exports = function (handlers, options) {
21 this.handlers = {
22 doctype: this._wrapHandler(handlers.doctype),
23 startTag: this._wrapHandler(handlers.startTag),
24 endTag: this._wrapHandler(handlers.endTag),
25 text: this._wrapHandler(handlers.text),
26 comment: this._wrapHandler(handlers.comment)
83 this.handlers.startTag(token.tagName, token.attrs, token.selfClosing);
86 this.handlers.endTag(token.tagName);
89 this.handlers.comment(token.data);
92 this.handlers.doctype(token.name, token.publicId, token.systemId);
104 this.handlers.text(this.pendingText);