diff options
author | Remi Collet <remi@remirepo.net> | 2017-09-09 07:59:22 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-09-09 07:59:22 +0200 |
commit | b23ca0c48d9f564ba9833d26f0639773f4476e03 (patch) | |
tree | 267b448ebac59a0b94469dd11b443e6075700cb4 /REFLECTION |
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
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 539 |
1 files changed, 539 insertions, 0 deletions
diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..e6bc66b --- /dev/null +++ b/REFLECTION @@ -0,0 +1,539 @@ +Extension [ <persistent> extension #115 parle version 0.5.1 ] { + + - Classes [6] { + Class [ <internal:parle> 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 [ <internal:parle> public method push ] { + } + + Method [ <internal:parle> public method getToken ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ <internal:parle> public method build ] { + + - Parameters [0] { + } + } + + Method [ <internal:parle> public method consume ] { + + - Parameters [1] { + Parameter #0 [ <required> string $data ] + } + } + + Method [ <internal:parle> public method skip ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ <internal:parle> public method eoi ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ <internal:parle> public method advance ] { + + - Parameters [0] { + } + } + + Method [ <internal:parle> public method npos ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ <internal:parle> public method bol ] { + + - Parameters [1] { + Parameter #0 [ <optional> boolean $bol ] + } + - Return [ boolean or NULL ] + } + + Method [ <internal:parle> public method restart ] { + + - Parameters [1] { + Parameter #0 [ <required> integer $pos ] + } + } + + Method [ <internal:parle> public method insertMacro ] { + } + + Method [ <internal:parle> public method dump ] { + + - Parameters [0] { + } + } + + Method [ <internal:parle> public method flags ] { + + - Parameters [1] { + Parameter #0 [ <optional> integer $state ] + } + - Return [ integer ] + } + } + } + + Class [ <internal:parle> 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 [ <internal:parle, overwrites Parle\Lexer, prototype Parle\Lexer> public method push ] { + } + + Method [ <internal:parle, overwrites Parle\Lexer, prototype Parle\Lexer> public method getToken ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ <internal:parle, overwrites Parle\Lexer, prototype Parle\Lexer> public method build ] { + + - Parameters [0] { + } + } + + Method [ <internal:parle, overwrites Parle\Lexer, prototype Parle\Lexer> public method consume ] { + + - Parameters [1] { + Parameter #0 [ <required> string $data ] + } + } + + Method [ <internal:parle, overwrites Parle\Lexer, prototype Parle\Lexer> public method skip ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ <internal:parle, overwrites Parle\Lexer, prototype Parle\Lexer> public method eoi ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ <internal:parle, overwrites Parle\Lexer, prototype Parle\Lexer> public method advance ] { + + - Parameters [0] { + } + } + + Method [ <internal:parle, overwrites Parle\Lexer, prototype Parle\Lexer> public method npos ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ <internal:parle, overwrites Parle\Lexer, prototype Parle\Lexer> public method bol ] { + + - Parameters [1] { + Parameter #0 [ <optional> boolean $bol ] + } + - Return [ boolean or NULL ] + } + + Method [ <internal:parle, overwrites Parle\Lexer, prototype Parle\Lexer> public method restart ] { + + - Parameters [1] { + Parameter #0 [ <required> integer $pos ] + } + } + + Method [ <internal:parle> public method pushState ] { + + - Parameters [1] { + Parameter #0 [ <required> string $state ] + } + - Return [ integer ] + } + + Method [ <internal:parle> public method state ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ <internal:parle, overwrites Parle\Lexer, prototype Parle\Lexer> public method insertMacro ] { + } + + Method [ <internal:parle, overwrites Parle\Lexer, prototype Parle\Lexer> public method dump ] { + + - Parameters [0] { + } + } + + Method [ <internal:parle, overwrites Parle\Lexer, prototype Parle\Lexer> public method flags ] { + + - Parameters [1] { + Parameter #0 [ <optional> integer $state ] + } + - Return [ integer ] + } + } + } + + Class [ <internal:parle> 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 [ <internal:parle> public method token ] { + + - Parameters [1] { + Parameter #0 [ <required> string $tok ] + } + } + + Method [ <internal:parle> public method left ] { + + - Parameters [1] { + Parameter #0 [ <required> string $tok ] + } + } + + Method [ <internal:parle> public method right ] { + + - Parameters [1] { + Parameter #0 [ <required> string $tok ] + } + } + + Method [ <internal:parle> public method nonassoc ] { + + - Parameters [1] { + Parameter #0 [ <required> string $tok ] + } + } + + Method [ <internal:parle> public method precedence ] { + + - Parameters [1] { + Parameter #0 [ <required> string $tok ] + } + } + + Method [ <internal:parle> public method build ] { + + - Parameters [0] { + } + } + + Method [ <internal:parle> public method push ] { + + - Parameters [2] { + Parameter #0 [ <required> string $name ] + Parameter #1 [ <required> string $rule ] + } + - Return [ integer ] + } + + Method [ <internal:parle> public method validate ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ <internal:parle> public method tokenId ] { + + - Parameters [1] { + Parameter #0 [ <required> string $tok ] + } + - Return [ integer ] + } + + Method [ <internal:parle> public method reduceId ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ <internal:parle> public method action ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ <internal:parle> public method sigil ] { + + - Parameters [1] { + Parameter #0 [ <optional> integer $idx ] + } + - Return [ string ] + } + + Method [ <internal:parle> public method advance ] { + + - Parameters [0] { + } + } + + Method [ <internal:parle> public method consume ] { + + - Parameters [2] { + Parameter #0 [ <required> string $data ] + Parameter #1 [ <required> $lexer ] + } + } + + Method [ <internal:parle> public method dump ] { + + - Parameters [0] { + } + } + + Method [ <internal:parle> public method trace ] { + + - Parameters [0] { + } + - Return [ string ] + } + + Method [ <internal:parle> public method errorInfo ] { + + - Parameters [0] { + } + - Return [ array ] + } + } + } + + Class [ <internal:parle> class Parle\Stack ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [5] { + Method [ <internal:parle> public method empty ] { + + - Parameters [0] { + } + - Return [ boolean ] + } + + Method [ <internal:parle> public method pop ] { + + - Parameters [0] { + } + } + + Method [ <internal:parle> public method push ] { + + - Parameters [1] { + Parameter #0 [ <required> $item ] + } + } + + Method [ <internal:parle> public method size ] { + + - Parameters [0] { + } + - Return [ integer ] + } + + Method [ <internal:parle> public method top ] { + + - Parameters [1] { + Parameter #0 [ <optional> $new_top ] + } + } + } + } + + Class [ <internal:parle> class Parle\LexerException extends Exception implements Throwable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { + } + } + } + + Class [ <internal:parle> class Parle\ParserException extends Exception implements Throwable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ <default> protected $message ] + Property [ <default> protected $code ] + Property [ <default> protected $file ] + Property [ <default> protected $line ] + } + + - Methods [10] { + Method [ <internal:Core, inherits Exception, ctor> public method __construct ] { + + - Parameters [3] { + Parameter #0 [ <optional> $message ] + Parameter #1 [ <optional> $code ] + Parameter #2 [ <optional> $previous ] + } + } + + Method [ <internal:Core, inherits Exception> public method __wakeup ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getMessage ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getCode ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getFile ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getLine ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTrace ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getPrevious ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> final public method getTraceAsString ] { + } + + Method [ <internal:Core, inherits Exception, prototype Throwable> public method __toString ] { + } + } + } + } +} + |