PHP Class Sstalle\php7cc\NodeVisitor\ReservedClassNameVisitor

Inheritance: extends AbstractVisitor
Mostrar archivo 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_oe property

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

$futureReservedClassNames protected_oe property

protected string[] $futureReservedClassNames
return string[]

$reservedClassNames protected_oe property

protected string[] $reservedClassNames
return string[]

$reservedNamesToMessagesMap protected_oe property

protected array $reservedNamesToMessagesMap
return array