From 36c1db7931960e4f638bbba090ba04d856754d9c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 2 Oct 2017 06:19:24 +0200 Subject: v0.7.0 --- REFLECTION | 162 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 150 insertions(+), 12 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index 13282ac..1d3da2d 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,6 +1,6 @@ -Extension [ extension #116 parle version 0.6.5 ] { +Extension [ extension #116 parle version 0.7.0 ] { - - Classes [9] { + - Classes [10] { Class [ class Parle\ErrorInfo ] { - Constants [0] { @@ -117,7 +117,7 @@ Extension [ extension #116 parle version 0.6.5 ] { } } - Class [ class Parle\RLexer extends Parle\Lexer ] { + Class [ class Parle\RLexer ] { - Constants [5] { Constant [ integer ICASE ] { 1 } @@ -142,36 +142,36 @@ Extension [ extension #116 parle version 0.6.5 ] { } - Methods [9] { - Method [ public method push ] { + Method [ public method push ] { } - Method [ public method getToken ] { + Method [ public method getToken ] { - Parameters [0] { } - Return [ Parle\Token ] } - Method [ public method build ] { + Method [ public method build ] { - Parameters [0] { } } - Method [ public method consume ] { + Method [ public method consume ] { - Parameters [1] { Parameter #0 [ string $data ] } } - Method [ public method advance ] { + Method [ public method advance ] { - Parameters [0] { } } - Method [ public method restart ] { + Method [ public method restart ] { - Parameters [1] { Parameter #0 [ integer $pos ] @@ -186,10 +186,10 @@ Extension [ extension #116 parle version 0.6.5 ] { - Return [ integer ] } - Method [ public method insertMacro ] { + Method [ public method insertMacro ] { } - Method [ public method dump ] { + Method [ public method dump ] { - Parameters [0] { } @@ -274,8 +274,146 @@ Extension [ extension #116 parle version 0.6.5 ] { Method [ public method validate ] { + - Parameters [2] { + Parameter #0 [ string $data ] + Parameter #1 [ Parle\Lexer $lexer ] + } + - Return [ boolean ] + } + + Method [ public method tokenId ] { + + - Parameters [1] { + Parameter #0 [ string $tok ] + } + - 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 [ Parle\Lexer $lexer ] + } + } + + Method [ public method dump ] { + + - Parameters [0] { + } + } + + Method [ public method trace ] { + + - Parameters [0] { + } + - Return [ string or NULL ] + } + + Method [ public method errorInfo ] { + + - Parameters [0] { + } + - Return [ Parle\ErrorInfo ] + } + } + } + + Class [ class Parle\RParser ] { + + - 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 [2] { + Property [ public $action ] + Property [ public $reduceId ] + } + + - Methods [15] { + 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 [2] { + Parameter #0 [ string $data ] + Parameter #1 [ Parle\RLexer $lexer ] + } - Return [ boolean ] } @@ -305,7 +443,7 @@ Extension [ extension #116 parle version 0.6.5 ] { - Parameters [2] { Parameter #0 [ string $data ] - Parameter #1 [ $lexer ] + Parameter #1 [ Parle\RLexer $lexer ] } } -- cgit