final class LiteralNode extends Node

internal  
 

Constants

private SimpleTypes

private PatternDatetime

private PatternHex

private PatternOctal

private PatternBinary

Methods

__construct(mixed $value)

No description

mixed
toValue()

No description

static mixed
parse(string $value, bool $isKey = false)

No description

static string|int
baseConvert(string $number, int $base)

Converts a base-N digit string to an integer, or to a decimal string if it exceeds PHP_INT_MAX.

string
toString()

Converts the node back to its NEON representation.

Details

at line 30
__construct(mixed $value)

No description

Parameters

mixed $value

at line 38
mixed toValue()

No description

Return Value

mixed

at line 45
static mixed parse(string $value, bool $isKey = false)

No description

Parameters

string $value
bool $isKey

Return Value

mixed

at line 72
static string|int baseConvert(string $number, int $base)

Converts a base-N digit string to an integer, or to a decimal string if it exceeds PHP_INT_MAX.

Parameters

string $number
int $base

Return Value

string|int

at line 96
string toString()

Converts the node back to its NEON representation.

Return Value

string