extensions/felixfbecker.php-intellisense-0.0.12/vendor/felixfbecker/language-server/src/Protocol/Range.php
/**
     * Returns the range the node spans
     *
     * @param Node $node
     * @return self
     */
Returns the range the node spans
@param Node $node
@return self
Returns the range the node spans @param Node $node @return self
public static function fromNode(Node $node)
    {
        return new self(
            new Position($node->getAttribute('startLine') - 1, $node->getAttribute('startColumn') - 1),
            new Position($node->getAttribute('endLine') - 1, $node->getAttribute('endColumn'))
        );
    }
public static function fromNode ( Node $ node ) { return new self ( new Position ( $ node -> getAttribute ( 'startLine' ) - 1 , $ node -> getAttribute ( 'startColumn' ) - 1 ) , new Position ( $ node -> getAttribute ( 'endLine' ) - 1 , $ node -> getAttribute ( 'endColumn' ) ) ) ; }
Returns the range the node spans
 @param Node $node
 @return self
Returns the range the node spans @param Node $node @return self