PHP Trait Phan\Analysis\Analyzable

Afficher le fichier Open project: etsy/phan

Méthodes publiques

Méthode Description
analyze ( Context $context, CodeBase $code_base ) : Context
getNode ( ) : ast\Node
hasNode ( ) : boolean
setNode ( ast\Node $node )

Method Details

analyze() public méthode

public analyze ( Context $context, CodeBase $code_base ) : Context
$context Phan\Language\Context
$code_base Phan\CodeBase
Résultat Phan\Language\Context Analyze the node associated with this object in the given context

getNode() public méthode

public getNode ( ) : ast\Node
Résultat ast\Node The AST node associated with this object

hasNode() public méthode

public hasNode ( ) : boolean
Résultat boolean True if we have a node defined on this object

setNode() public méthode

public setNode ( ast\Node $node )
$node ast\Node The AST Node defining this object. We keep a reference to this so that we can come to it and