Exemplo n.º 1
0
 /**
  * @param Node $node
  * A node to parse
  *
  * @return Context
  * A new or an unchanged context resulting from
  * parsing the node
  */
 public function visitClosure(Node $node) : Context
 {
     $this->analyzeNoOp($node, "no-op closure");
     return $this->context->withClosureFQSEN(FullyQualifiedFunctionName::fromClosureInContext($this->context));
 }