MediaWiki  1.28.1
FileAwareNodeVisitor Class Reference

A PHPParser node visitor that associates each node with its file name. More...

Inheritance diagram for FileAwareNodeVisitor:
Collaboration diagram for FileAwareNodeVisitor:

Public Member Functions

 enterNode (PhpParser\Node $node)
 
 getCurrentFile ()
 
 setCurrentFile ($filename)
 

Private Attributes

 $currentFile = null
 

Detailed Description

A PHPParser node visitor that associates each node with its file name.

Definition at line 31 of file findDeprecated.php.

Member Function Documentation

FileAwareNodeVisitor::enterNode ( PhpParser\Node  $node)

Definition at line 34 of file findDeprecated.php.

References $currentFile.

FileAwareNodeVisitor::getCurrentFile ( )

Definition at line 44 of file findDeprecated.php.

References $currentFile.

FileAwareNodeVisitor::setCurrentFile (   $filename)

Definition at line 40 of file findDeprecated.php.

Member Data Documentation

FileAwareNodeVisitor::$currentFile = null
private

Definition at line 32 of file findDeprecated.php.

Referenced by enterNode(), and getCurrentFile().


The documentation for this class was generated from the following file: