1
edit
Changes
→Parser Interface
===Parser Interface===
<pre>
/* Add an event listener to the parser. Once the event fires, the associated function will be called, which will pass in a reference to itself. This way the library knows which parser it is working with. @param {String} eventName - can be "onstart", - must occur exactly once "onparse" - must occur one or many times "onfinish"- must occur exactly once "hook" - ?
@param {Function} func - the function to call when the event occurs