nodeName() public static method

public static nodeName ( $node ) : string
return string The name of the node
コード例 #1
0
ファイル: AssignmentVisitor.php プロジェクト: etsy/phan
 /**
  * Default visitor for node kinds that do not have
  * an overriding method
  *
  * @param Node $node
  * A node to parse
  *
  * @return Context
  * A new or an unchanged context resulting from
  * parsing the node
  */
 public function visit(Node $node) : Context
 {
     assert(false, "Unknown left side of assignment in {$this->context} with node type " . Debug::nodeName($node));
     return $this->visitVar($node);
 }