tra-analysis/website/functions/node_modules/power-assert-renderer-base
2019-01-06 13:14:45 -06:00
..
index.js push all website files 2019-01-06 13:14:45 -06:00
package.json push all website files 2019-01-06 13:14:45 -06:00
README.md push all website files 2019-01-06 13:14:45 -06:00

power-assert

Build Status NPM version License

Provides base class of various power-assert-renderers.

API

Override these methods as necessary.

BaseRenderer.prototype.onStart = function (powerAssertContext)

Called once when traversal starts. Argument is the powerAssertContext object under traversal.

BaseRenderer.prototype.onData = function (esNode)

Called for each Node of AST in powerAssertContext. Argument is a EsNode object.

BaseRenderer.prototype.onEnd = function ()

Called once when traversal ends.

INSTALL

$ npm install --save-dev power-assert-renderer-base

AUTHOR

LICENSE

Licensed under the MIT license.