public visit ( ast\Node $node ) : |
||
$node | ast\Node | A node to parse |
Résultat | A new or an unchanged context resulting from parsing the node |
public function visit(Node $node) : Context
{
// Many nodes don't change the context and we
// don't need to read them.
return $this->context;
}