CommentaryNodeVisitor
extends AbstractNodeVisitor
in package
Table of Contents
- UNDEFINED = '_undefined'
- $enabled : mixed
- $messages : mixed
- disable() : mixed
- enable() : mixed
- getMessages() : mixed
- getPriority() : mixed
- {@inheritdoc}
- doEnterNode() : mixed
- {@inheritdoc}
- doLeaveNode() : mixed
- {@inheritdoc}
- getReadFromArguments() : string|null
- getReadFromNode() : string|null
Constants
UNDEFINED
public
mixed
UNDEFINED
= '_undefined'
Properties
$enabled
private
mixed
$enabled
= false
$messages
private
mixed
$messages
= []
Methods
disable()
public
disable() : mixed
Return values
mixed —enable()
public
enable() : mixed
Return values
mixed —getMessages()
public
getMessages() : mixed
Return values
mixed —getPriority()
{@inheritdoc}
public
getPriority() : mixed
Return values
mixed —doEnterNode()
{@inheritdoc}
protected
doEnterNode(Node $node, Environment $env) : mixed
Parameters
- $node : Node
- $env : Environment
Return values
mixed —doLeaveNode()
{@inheritdoc}
protected
doLeaveNode(Node $node, Environment $env) : mixed
Parameters
- $node : Node
- $env : Environment
Return values
mixed —getReadFromArguments()
private
getReadFromArguments(string $name, Node $arguments, int $index) : string|null
Parameters
- $name : string
- $arguments : Node
- $index : int
Return values
string|null —getReadFromNode()
private
getReadFromNode(Node $node) : string|null
Parameters
- $node : Node