From b23ca0c48d9f564ba9833d26f0639773f4476e03 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 9 Sep 2017 07:59:22 +0200 Subject: initial package, version 0.5.1 (alpha) open https://github.com/BenHanson/parsertl14/issues/1 license file open https://github.com/weltling/parle/pull/1 missing license file open https://github.com/weltling/parle/pull/2 fix roles open https://github.com/weltling/parle/issues/3 is header needed --- REFLECTION | 539 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 539 insertions(+) create mode 100644 REFLECTION (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..e6bc66b --- /dev/null +++ b/REFLECTION @@ -0,0 +1,539 @@ +Extension [ extension #115 parle version 0.5.1 ] { + + - Classes [6] { + Class [ class Parle\Lexer ] { + + - Constants [5] { + Constant [ integer FLAG_REGEX_ICASE ] { 1 } + Constant [ integer FLAG_REGEX_DOT_NOT_LF ] { 2 } + Constant [ integer FLAG_REGEX_DOT_NOT_CR_LF ] { 4 } + Constant [ integer FLAG_REGEX_SKIP_WS ] { 8 } + Constant [ integer FLAG_REGEX_MATCH_ZERO_LEN ] { 16 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [13] { + Method [ public method push ] { + } + + Method [ public method getToken ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method build ] { + + - Parameters [0] { + } + } + + Method [ public method consume ] { + + - Parameters [1] { + Parameter #0 [ string $data ] + } + } + + Method [ public method skip ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method eoi ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method advance ] { + + - Parameters [0] { + } + } + + Method [ public method npos ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method bol ] { + + - Parameters [1] { + Parameter #0 [ boolean $bol ] + } + - Return [ boolean or NULL ] + } + + Method [ public method restart ] { + + - Parameters [1] { + Parameter #0 [ integer $pos ] + } + } + + Method [ public method insertMacro ] { + } + + Method [ public method dump ] { + + - Parameters [0] { + } + } + + Method [ public method flags ] { + + - Parameters [1] { + Parameter #0 [ integer $state ] + } + - Return [ integer ] + } + } + } + + Class [ class Parle\RLexer extends Parle\Lexer ] { + + - Constants [5] { + Constant [ integer FLAG_REGEX_ICASE ] { 1 } + Constant [ integer FLAG_REGEX_DOT_NOT_LF ] { 2 } + Constant [ integer FLAG_REGEX_DOT_NOT_CR_LF ] { 4 } + Constant [ integer FLAG_REGEX_SKIP_WS ] { 8 } + Constant [ integer FLAG_REGEX_MATCH_ZERO_LEN ] { 16 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [15] { + Method [ public method push ] { + } + + Method [ public method getToken ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method build ] { + + - Parameters [0] { + } + } + + Method [ public method consume ] { + + - Parameters [1] { + Parameter #0 [ string $data ] + } + } + + Method [ public method skip ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method eoi ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method advance ] { + + - Parameters [0] { + } + } + + Method [ public method npos ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method bol ] { + + - Parameters [1] { + Parameter #0 [ boolean $bol ] + } + - Return [ boolean or NULL ] + } + + Method [ public method restart ] { + + - Parameters [1] { + Parameter #0 [ integer $pos ] + } + } + + Method [ public method pushState ] { + + - Parameters [1] { + Parameter #0 [ string $state ] + } + - Return [ integer ] + } + + Method [ public method state ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method insertMacro ] { + } + + Method [ public method dump ] { + + - Parameters [0] { + } + } + + Method [ public method flags ] { + + - Parameters [1] { + Parameter #0 [ integer $state ] + } + - Return [ integer ] + } + } + } + + Class [ class Parle\Parser ] { + + - Constants [8] { + Constant [ integer ACTION_ERROR ] { 0 } + Constant [ integer ACTION_SHIFT ] { 1 } + Constant [ integer ACTION_REDUCE ] { 2 } + Constant [ integer ACTION_GOTO ] { 3 } + Constant [ integer ACTION_ACCEPT ] { 4 } + Constant [ integer ERROR_SYNTAX ] { 0 } + Constant [ integer ERROR_NON_ASSOCIATIVE ] { 1 } + Constant [ integer ERROR_UNKOWN_TOKEN ] { 2 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [17] { + Method [ public method token ] { + + - Parameters [1] { + Parameter #0 [ string $tok ] + } + } + + Method [ public method left ] { + + - Parameters [1] { + Parameter #0 [ string $tok ] + } + } + + Method [ public method right ] { + + - Parameters [1] { + Parameter #0 [ string $tok ] + } + } + + Method [ public method nonassoc ] { + + - Parameters [1] { + Parameter #0 [ string $tok ] + } + } + + Method [ public method precedence ] { + + - Parameters [1] { + Parameter #0 [ string $tok ] + } + } + + Method [ public method build ] { + + - Parameters [0] { + } + } + + Method [ public method push ] { + + - Parameters [2] { + Parameter #0 [ string $name ] + Parameter #1 [ string $rule ] + } + - Return [ integer ] + } + + Method [ public method validate ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method tokenId ] { + + - Parameters [1] { + Parameter #0 [ string $tok ] + } + - Return [ integer ] + } + + Method [ public method reduceId ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method action ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method sigil ] { + + - Parameters [1] { + Parameter #0 [ integer $idx ] + } + - Return [ string ] + } + + Method [ public method advance ] { + + - Parameters [0] { + } + } + + Method [ public method consume ] { + + - Parameters [2] { + Parameter #0 [ string $data ] + Parameter #1 [ $lexer ] + } + } + + Method [ public method dump ] { + + - Parameters [0] { + } + } + + Method [ public method trace ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ public method errorInfo ] { + + - Parameters [0] { + } + - Return [ array ] + } + } + } + + Class [ class Parle\Stack ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [5] { + Method [ public method empty ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ public method pop ] { + + - Parameters [0] { + } + } + + Method [ public method push ] { + + - Parameters [1] { + Parameter #0 [ $item ] + } + } + + Method [ public method size ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ public method top ] { + + - Parameters [1] { + Parameter #0 [ $new_top ] + } + } + } + } + + Class [ class Parle\LexerException extends Exception implements Throwable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Parle\ParserException extends Exception implements Throwable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + } +} + -- cgit