Method |
Description |
|
__construct ( ) |
Initialization of properties |
|
__destruct ( ) |
De-initialization of properties, after finish() |
|
addSpot ( $cate, $identified, $message, $line = null, $file = null ) |
Quick method to add spot to visitor |
|
afterTraverse ( array $nodes ) |
Called after Traverser woking done |
|
beforeTraverse ( array $nodes ) |
Called before Traverser woking |
|
enterNode ( $node ) |
Called when Traverser enter a node |
|
finish ( ) |
Called after all file have been parsed
Usually process data collected in traversing, and return |
|
leaveNode ( $node ) |
Called when Traverser leave a node |
|
prepare ( ) |
Called before any processing, after __construct() |
|
setVisitor ( $visitor ) |
Assign visitor |
|