Class Index | File Index

Classes


Class RXBuild.Dom.NodeVisitor

The RXBuild.Dom.NodeVisitor is an abstrcact class that implements the hierarchical visitor pattern in a way suitable for building trees
Defined in: regex_dom_node.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Creates a new instance of RXBuild.Dom.NodeVisitor
Method Summary
Method Attributes Method Name and Description
 
visit(leafNode)
Called when visiting a leaf node
 
visitEnter(compositeNode)
Called when visiting a parent node
 
visitLeave(compositeNode)
Called when finished visiting a parent node
Class Detail
RXBuild.Dom.NodeVisitor(params)
Creates a new instance of RXBuild.Dom.NodeVisitor
Parameters:
params
Method Detail
{Boolean} visit(leafNode)
Called when visiting a leaf node
Parameters:
{RXBuild.Dom.Node} leafNode
The node being visited
Returns:
{Boolean} Return true to continue visit

{Boolean} visitEnter(compositeNode)
Called when visiting a parent node
Parameters:
{RXBuild.Dom.Node} compositeNode
The node being visited
Returns:
{Boolean} Return true to visit children on this node

{Boolean} visitLeave(compositeNode)
Called when finished visiting a parent node
Parameters:
{RXBuild.Dom.Node} compositeNode
The node that completed visit
Returns:
{Boolean} Return true to continue the visit after the compositeNode

Documentation generated by JsDoc Toolkit 2.0.2 on Mon May 02 2016 20:27:56 GMT+0200 (CEST)