MediaWiki REL1_33
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

◆ enterNode()

FileAwareNodeVisitor::enterNode ( PhpParser\Node  $node)

Reimplemented in DeprecatedInterfaceFinder.

Definition at line 34 of file findDeprecated.php.

References $currentFile.

◆ getCurrentFile()

FileAwareNodeVisitor::getCurrentFile ( )

Definition at line 44 of file findDeprecated.php.

References $currentFile.

◆ setCurrentFile()

FileAwareNodeVisitor::setCurrentFile (   $filename)

Definition at line 40 of file findDeprecated.php.

Member Data Documentation

◆ $currentFile

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: