From e75a77dc5d00465f2fd1f33e14b641c10dbd4243 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 17 Oct 2022 15:50:38 +0200 Subject: update to 3.0.0 --- REFLECTION | 111 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 102 insertions(+), 9 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index 6e82e70..d401e4b 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,9 +1,9 @@ -Extension [ extension #118 simdjson version 2.1.0 ] { +Extension [ extension #118 simdjson version 3.0.0 ] { - Dependencies { } - - Constants [30] { + - Constants [31] { Constant [ int SIMDJSON_ERR_CAPACITY ] { 1 } Constant [ int SIMDJSON_ERR_TAPE_ERROR ] { 3 } Constant [ int SIMDJSON_ERR_DEPTH_ERROR ] { 4 } @@ -33,6 +33,7 @@ Extension [ extension #118 simdjson version 2.1.0 ] { Constant [ int SIMDJSON_ERR_SCALAR_DOCUMENT_AS_VALUE ] { 28 } Constant [ int SIMDJSON_ERR_OUT_OF_BOUNDS ] { 29 } Constant [ int SIMDJSON_ERR_TRAILING_CONTENT ] { 30 } + Constant [ int SIMDJSON_ERR_KEY_COUNT_NOT_COUNTABLE ] { 254 } Constant [ int SIMDJSON_ERR_INVALID_PROPERTY ] { 255 } } @@ -43,13 +44,13 @@ Extension [ extension #118 simdjson version 2.1.0 ] { Parameter #0 [ string $json ] Parameter #1 [ int $depth = ] } - - Return [ ?bool ] + - Return [ bool ] } Function [ function simdjson_decode ] { - Parameters [3] { Parameter #0 [ string $json ] - Parameter #1 [ bool $assoc = ] + Parameter #1 [ bool $associative = ] Parameter #2 [ int $depth = ] } } @@ -58,7 +59,7 @@ Extension [ extension #118 simdjson version 2.1.0 ] { - Parameters [4] { Parameter #0 [ string $json ] Parameter #1 [ string $key ] - Parameter #2 [ bool $assoc = ] + Parameter #2 [ bool $associative = ] Parameter #3 [ int $depth = ] } } @@ -69,20 +70,21 @@ Extension [ extension #118 simdjson version 2.1.0 ] { Parameter #1 [ string $key ] Parameter #2 [ int $depth = ] } - - Return [ ?bool ] + - Return [ bool ] } Function [ function simdjson_key_count ] { - - Parameters [3] { + - Parameters [4] { Parameter #0 [ string $json ] Parameter #1 [ string $key ] Parameter #2 [ int $depth = ] + Parameter #3 [ bool $throw_if_uncountable = ] } - - Return [ ?int ] + - Return [ int ] } } - - Classes [1] { + - Classes [2] { Class [ class SimdJsonException extends RuntimeException implements Stringable, Throwable ] { - Constants [0] { @@ -173,6 +175,97 @@ Extension [ extension #118 simdjson version 2.1.0 ] { } } } + + Class [ class SimdJsonValueError extends ValueError implements Stringable, Throwable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message = '' ] + Property [ protected $code = 0 ] + Property [ protected $file = NULL ] + Property [ protected $line = NULL ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ string $message = "" ] + Parameter #1 [ int $code = 0 ] + Parameter #2 [ ?Throwable $previous = null ] + } + } + + Method [ public method __wakeup ] { + + - Parameters [0] { + } + } + + Method [ final public method getMessage ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ final public method getCode ] { + + - Parameters [0] { + } + } + + Method [ final public method getFile ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ final public method getLine ] { + + - Parameters [0] { + } + - Return [ int ] + } + + Method [ final public method getTrace ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ final public method getPrevious ] { + + - Parameters [0] { + } + - Return [ ?Throwable ] + } + + Method [ final public method getTraceAsString ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] + } + } + } } } -- cgit