implements |
JsonSerializable |
---|
Methods | ||
---|---|---|
public
|
__construct(
string $text,
int $startLine = -1,
int $startFilePos = -1,
int $startTokenPos = -1,
int $endLine = -1,
int $endFilePos = -1,
int $endTokenPos = -1,
)
|
# |
public
|
getText(): string
|
# |
public
|
getStartLine(): int
|
# |
public
|
getStartFilePos(): int
|
# |
public
|
getStartTokenPos(): int
|
# |
public
|
getEndLine(): int
|
# |
public
|
getEndFilePos(): int
|
# |
public
|
getEndTokenPos(): int
|
# |
public
|
getLine(): int
|
# |
public
|
getFilePos(): int
|
# |
public
|
getTokenPos(): int
|
# |
public
|
__toString(): string
|
# |
public
|
getReformattedText(): mixed|string
|
# |
public
|
jsonSerialize(): array
|
# |
Properties | |||
---|---|---|---|
protected
|
|
$text
|
# |
protected
|
|
$startLine
|
# |
protected
|
|
$startFilePos
|
# |
protected
|
|
$startTokenPos
|
# |
protected
|
|
$endLine
|
# |
protected
|
|
$endFilePos
|
# |
protected
|
|
$endTokenPos
|
# |