Documentation

Range
in package

A range in a text document expressed as (zero-based) start and end positions.

Table of Contents

Properties

$end  : Position
The range's end position.
$start  : Position
The range's start position.

Methods

__construct()  : mixed
includes()  : bool
Checks if a position is within the range

Properties

Methods

includes()

Checks if a position is within the range

public includes(Position $position) : bool
Parameters
$position : Position
Return values
bool

        
On this page

Search results