extends |
ScalarNode |
---|
Methods | ||
---|---|---|
public
|
__construct(int $value, int $kind = self::KindDecimal, ?Position $position = null)
|
# |
public
static
|
parse(string $str, Position $position): static
|
# |
public
|
print(PrintContext $context): string
|
# |
Methods inherited from Latte\Compiler\Nodes\Php\ScalarNode |
---|
getIterator() |
Methods inherited from Latte\Compiler\Nodes\Php\ExpressionNode |
---|
isWritable(), isVariable(), isCall() |
Constants | |||
---|---|---|---|
public
|
KindBinary = 2
|
# | |
public
|
KindOctal = 8
|
# | |
public
|
KindDecimal = 10
|
# | |
public
|
KindHexa = 16
|
# |
Properties | |||
---|---|---|---|
public
|
int
|
$value
|
# |
public
|
int
|
$kind
|
# |
public
|
?Position
|
$position
|
# |