LiteralNode
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
at line 38
mixed
toValue()
No description
at line 45
static mixed
parse(string $value, bool $isKey = false)
No description
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.
at line 96
string
toString()
Converts the node back to its NEON representation.