MediaWiki  master
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 32 of file findDeprecated.php.

Member Function Documentation

◆ enterNode()

FileAwareNodeVisitor::enterNode ( PhpParser\Node  $node)

Definition at line 35 of file findDeprecated.php.

References $currentFile.

◆ getCurrentFile()

FileAwareNodeVisitor::getCurrentFile ( )

Definition at line 45 of file findDeprecated.php.

References $currentFile.

◆ setCurrentFile()

FileAwareNodeVisitor::setCurrentFile (   $filename)

Definition at line 41 of file findDeprecated.php.

Member Data Documentation

◆ $currentFile

FileAwareNodeVisitor::$currentFile = null
private

Definition at line 33 of file findDeprecated.php.

Referenced by enterNode(), and getCurrentFile().


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