public function isExpressionPath($path, $node)
    {
        if (is_scalar($node)) {
            foreach ($this->expressionPaths as $callable) {
                if (call_user_func($callable, $path)) {
                    return true;
                }
            }
        }
        return false;
    }
public function isExpressionPath($path, $node)
    {
        if (is_scalar($node)) {
            foreach ($this->expressionPaths as $callable) {
                if (call_user_func($callable, $path)) {
                    return true;
                }
            }
        }
        return false;
    }
public function isExpressionPath ( $ path , $ node ) { if ( is_scalar ( $ node ) ) { foreach ( $ this -> expressionPaths as $ callable ) { if ( call_user_func ( $ callable , $ path ) ) { return true ; } } } return false ; }
Decides if a node should be an expression.

@param array $path
@param mixed $node
@return bool
Decides if a node should be an expression .