PHP Class Sstalle\php7cc\NodeVisitor\ReservedClassNameVisitor

Inheritance: extends AbstractVisitor
Show file Open project: sstalle/php7cc

Protected Properties

Property Type Description
$functionAnalyzer Sstalle\php7cc\NodeAnalyzer\FunctionAnalyzer
$futureReservedClassNames string[]
$reservedClassNames string[]
$reservedNamesToMessagesMap array

Public Methods

Method Description
__construct ( FunctionAnalyzer $functionAnalyzer )
enterNode ( PhpParser\Node $node )

Method Details

__construct() public method

public __construct ( FunctionAnalyzer $functionAnalyzer )
$functionAnalyzer Sstalle\php7cc\NodeAnalyzer\FunctionAnalyzer

enterNode() public method

public enterNode ( PhpParser\Node $node )
$node PhpParser\Node

Property Details

$functionAnalyzer protected property

protected FunctionAnalyzer,Sstalle\php7cc\NodeAnalyzer $functionAnalyzer
return Sstalle\php7cc\NodeAnalyzer\FunctionAnalyzer

$futureReservedClassNames protected property

protected string[] $futureReservedClassNames
return string[]

$reservedClassNames protected property

protected string[] $reservedClassNames
return string[]

$reservedNamesToMessagesMap protected property

protected array $reservedNamesToMessagesMap
return array