final |
|---|
| Methods | ||
|---|---|---|
public
|
__construct(int $type, $value, int $lineno)
|
# |
public
|
__toString()
|
# |
public
|
test(array|string|int $type, array|string|null $values = null): bool
|
# |
public
|
getLine(): int
|
# |
public
|
getType(): int
|
# |
public
|
getValue()
|
# |
public
static
|
typeToString(int $type, bool $short = false): string
|
# |
public
static
|
typeToEnglish(int $type): string
|
# |
| Constants | ||
|---|---|---|
public
|
EOF_TYPE = -1
|
# |
public
|
TEXT_TYPE = 0
|
# |
public
|
BLOCK_START_TYPE = 1
|
# |
public
|
VAR_START_TYPE = 2
|
# |
public
|
BLOCK_END_TYPE = 3
|
# |
public
|
VAR_END_TYPE = 4
|
# |
public
|
NAME_TYPE = 5
|
# |
public
|
NUMBER_TYPE = 6
|
# |
public
|
STRING_TYPE = 7
|
# |
public
|
OPERATOR_TYPE = 8
|
# |
public
|
PUNCTUATION_TYPE = 9
|
# |
public
|
INTERPOLATION_START_TYPE = 10
|
# |
public
|
INTERPOLATION_END_TYPE = 11
|
# |
public
|
ARROW_TYPE = 12
|
# |
public
|
SPREAD_TYPE = 13
|
# |
| Properties | |||
|---|---|---|---|
private
|
|
$value
|
# |
private
|
|
$type
|
# |
private
|
|
$lineno
|
# |