src/ValueResolver/NodeExpressionResolver.php
protected function resolve(Node $node)
    {
        $value = null;
        try {
            ++$this->nodeLevel;

            $methodName = $this->getDispatchMethodFor($node);
            if (method_exists($this, $methodName)) {
                $value = $this->$methodName($node);
            }
        } finally {
            --$this->nodeLevel;
        }

        return $value;
    }
protected function resolve(Node $node)
    {
        $value = null;
        try {
            ++$this->nodeLevel;

            $methodName = $this->getDispatchMethodFor($node);
            if (method_exists($this, $methodName)) {
                $value = $this->$methodName($node);
            }
        } finally {
            --$this->nodeLevel;
        }

        return $value;
    }
protected function resolve ( Node $ node ) { $ value = null ; try { ++ $ this -> nodeLevel ; $ methodName = $ this -> getDispatchMethodFor ( $ node ) ; if ( method_exists ( $ this , $ methodName ) ) { $ value = $ this -> $ methodName ( $ node ) ; } } finally { -- $ this -> nodeLevel ; } return $ value ; }
Resolves node into valid value

@param Node $node

@return mixed
Resolves node into valid value