From 9a4ae3386f2373bb814e7fe35a44d6aba62abadf Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 16 Apr 2022 07:50:13 +0200 Subject: refresh reflection with 8.0 --- REFLECTION | 218 +++++++++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 160 insertions(+), 58 deletions(-) diff --git a/REFLECTION b/REFLECTION index 9ead55c..9a9b951 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #119 parle version 0.8.2 ] { +Extension [ extension #120 parle version 0.8.2 ] { - Constants [1] { Constant [ bool Parle\INTERNAL_UTF32 ] { } @@ -17,9 +17,9 @@ Extension [ extension #119 parle version 0.8.2 ] { } - Properties [3] { - Property [ public $id ] - Property [ public $position ] - Property [ public $token ] + Property [ public $id = 0 ] + Property [ public $position = 0 ] + Property [ public $token = NULL ] } - Methods [0] { @@ -41,8 +41,8 @@ Extension [ extension #119 parle version 0.8.2 ] { } - Properties [2] { - Property [ public $id ] - Property [ public $value ] + Property [ public $id = 65535 ] + Property [ public $value = NULL ] } - Methods [0] { @@ -66,11 +66,11 @@ Extension [ extension #119 parle version 0.8.2 ] { } - Properties [5] { - Property [ public $bol ] - Property [ public $flags ] - Property [ public $state ] - Property [ public $marker ] - Property [ public $cursor ] + Property [ public $bol = false ] + Property [ public $flags = 0 ] + Property [ public $state = 0 ] + Property [ public $marker = -1 ] + Property [ public $cursor = -1 ] } - Methods [9] { @@ -155,11 +155,11 @@ Extension [ extension #119 parle version 0.8.2 ] { } - Properties [5] { - Property [ public $bol ] - Property [ public $flags ] - Property [ public $state ] - Property [ public $marker ] - Property [ public $cursor ] + Property [ public $bol = false ] + Property [ public $flags = 0 ] + Property [ public $state = 0 ] + Property [ public $marker = -1 ] + Property [ public $cursor = -1 ] } - Methods [10] { @@ -255,8 +255,8 @@ Extension [ extension #119 parle version 0.8.2 ] { } - Properties [2] { - Property [ public $action ] - Property [ public $reduceId ] + Property [ public $action = 0 ] + Property [ public $reduceId = 0 ] } - Methods [16] { @@ -313,8 +313,8 @@ Extension [ extension #119 parle version 0.8.2 ] { Method [ public method validate ] { - Parameters [2] { - Parameter #0 [ string $data ] - Parameter #1 [ Parle\Lexer $lexer ] + Parameter #0 [ string $data = ] + Parameter #1 [ Parle\Lexer $lexer = ] } - Return [ bool ] } @@ -330,7 +330,7 @@ Extension [ extension #119 parle version 0.8.2 ] { Method [ public method sigil ] { - Parameters [1] { - Parameter #0 [ int $idx ] + Parameter #0 [ int $idx = ] } - Return [ string ] } @@ -359,7 +359,7 @@ Extension [ extension #119 parle version 0.8.2 ] { - Parameters [0] { } - - Return [ string or NULL ] + - Return [ ?string ] } Method [ public method errorInfo ] { @@ -398,8 +398,8 @@ Extension [ extension #119 parle version 0.8.2 ] { } - Properties [2] { - Property [ public $action ] - Property [ public $reduceId ] + Property [ public $action = 0 ] + Property [ public $reduceId = 0 ] } - Methods [16] { @@ -456,8 +456,8 @@ Extension [ extension #119 parle version 0.8.2 ] { Method [ public method validate ] { - Parameters [2] { - Parameter #0 [ string $data ] - Parameter #1 [ Parle\RLexer $lexer ] + Parameter #0 [ string $data = ] + Parameter #1 [ Parle\RLexer $lexer = ] } - Return [ bool ] } @@ -473,7 +473,7 @@ Extension [ extension #119 parle version 0.8.2 ] { Method [ public method sigil ] { - Parameters [1] { - Parameter #0 [ int $idx ] + Parameter #0 [ int $idx = ] } - Return [ string ] } @@ -502,7 +502,7 @@ Extension [ extension #119 parle version 0.8.2 ] { - Parameters [0] { } - - Return [ string or NULL ] + - Return [ ?string ] } Method [ public method errorInfo ] { @@ -533,9 +533,9 @@ Extension [ extension #119 parle version 0.8.2 ] { } - Properties [3] { - Property [ public $empty ] - Property [ public $size ] - Property [ public $top ] + Property [ public $empty = false ] + Property [ public $size = 0 ] + Property [ public $top = 0 ] } - Methods [2] { @@ -554,7 +554,7 @@ Extension [ extension #119 parle version 0.8.2 ] { } } - Class [ class Parle\LexerException extends Exception implements Throwable ] { + Class [ class Parle\LexerException extends Exception implements Throwable, Stringable ] { - Constants [0] { } @@ -566,52 +566,86 @@ Extension [ extension #119 parle version 0.8.2 ] { } - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + 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 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + 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 ] { + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ class Parle\ParserException extends Exception implements Throwable ] { + Class [ class Parle\ParserException extends Exception implements Throwable, Stringable ] { - Constants [0] { } @@ -623,52 +657,86 @@ Extension [ extension #119 parle version 0.8.2 ] { } - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + 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 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + 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 ] { + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } - Class [ class Parle\StackException extends Exception implements Throwable ] { + Class [ class Parle\StackException extends Exception implements Throwable, Stringable ] { - Constants [0] { } @@ -680,47 +748,81 @@ Extension [ extension #119 parle version 0.8.2 ] { } - Properties [4] { - Property [ protected $message ] - Property [ protected $code ] - Property [ protected $file ] - Property [ protected $line ] + 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 [ $message ] - Parameter #1 [ $code ] - Parameter #2 [ $previous ] + 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 ] { + Method [ public method __toString ] { + + - Parameters [0] { + } + - Return [ string ] } } } -- cgit