class IntegerNode extends ScalarNode

Constants

KindBinary

KindOctal

KindDecimal

KindHexa

Methods

__construct(int $value, int $kind = self::KindDecimal, Position|null $position = null)

No description

static IntegerNode
parse(string $str, Position $position)

No description

string
print(PrintContext $context)

No description

Details

at line 27
__construct(int $value, int $kind = self::KindDecimal, Position|null $position = null)

No description

Parameters

int $value
int $kind
Position|null $position

at line 35
static IntegerNode parse(string $str, Position $position)

No description

Parameters

string $str
Position $position

Return Value

IntegerNode

at line 45
string print(PrintContext $context)

No description

Parameters

PrintContext $context

Return Value

string