summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--REFLECTION162
-rw-r--r--php-pecl-parle.spec5
2 files changed, 154 insertions, 13 deletions
diff --git a/REFLECTION b/REFLECTION
index 13282ac..1d3da2d 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,6 +1,6 @@
-Extension [ <persistent> extension #116 parle version 0.6.5 ] {
+Extension [ <persistent> extension #116 parle version 0.7.0 ] {
- - Classes [9] {
+ - Classes [10] {
Class [ <internal:parle> class Parle\ErrorInfo ] {
- Constants [0] {
@@ -117,7 +117,7 @@ Extension [ <persistent> extension #116 parle version 0.6.5 ] {
}
}
- Class [ <internal:parle> class Parle\RLexer extends Parle\Lexer ] {
+ Class [ <internal:parle> class Parle\RLexer ] {
- Constants [5] {
Constant [ integer ICASE ] { 1 }
@@ -142,36 +142,36 @@ Extension [ <persistent> extension #116 parle version 0.6.5 ] {
}
- Methods [9] {
- Method [ <internal:parle, overwrites Parle\Lexer, prototype Parle\Lexer> public method push ] {
+ Method [ <internal:parle> public method push ] {
}
- Method [ <internal:parle, overwrites Parle\Lexer, prototype Parle\Lexer> public method getToken ] {
+ Method [ <internal:parle> public method getToken ] {
- Parameters [0] {
}
- Return [ Parle\Token ]
}
- Method [ <internal:parle, overwrites Parle\Lexer, prototype Parle\Lexer> public method build ] {
+ Method [ <internal:parle> public method build ] {
- Parameters [0] {
}
}
- Method [ <internal:parle, overwrites Parle\Lexer, prototype Parle\Lexer> public method consume ] {
+ Method [ <internal:parle> public method consume ] {
- Parameters [1] {
Parameter #0 [ <required> string $data ]
}
}
- Method [ <internal:parle, overwrites Parle\Lexer, prototype Parle\Lexer> public method advance ] {
+ Method [ <internal:parle> public method advance ] {
- Parameters [0] {
}
}
- Method [ <internal:parle, overwrites Parle\Lexer, prototype Parle\Lexer> public method restart ] {
+ Method [ <internal:parle> public method restart ] {
- Parameters [1] {
Parameter #0 [ <required> integer $pos ]
@@ -186,10 +186,10 @@ Extension [ <persistent> extension #116 parle version 0.6.5 ] {
- Return [ integer ]
}
- Method [ <internal:parle, overwrites Parle\Lexer, prototype Parle\Lexer> public method insertMacro ] {
+ Method [ <internal:parle> public method insertMacro ] {
}
- Method [ <internal:parle, overwrites Parle\Lexer, prototype Parle\Lexer> public method dump ] {
+ Method [ <internal:parle> public method dump ] {
- Parameters [0] {
}
@@ -274,8 +274,146 @@ Extension [ <persistent> extension #116 parle version 0.6.5 ] {
Method [ <internal:parle> public method validate ] {
+ - Parameters [2] {
+ Parameter #0 [ <optional> string $data ]
+ Parameter #1 [ <optional> Parle\Lexer $lexer ]
+ }
+ - Return [ boolean ]
+ }
+
+ Method [ <internal:parle> public method tokenId ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> string $tok ]
+ }
+ - 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> Parle\Lexer $lexer ]
+ }
+ }
+
+ Method [ <internal:parle> public method dump ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:parle> public method trace ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string or NULL ]
+ }
+
+ Method [ <internal:parle> public method errorInfo ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Parle\ErrorInfo ]
+ }
+ }
+ }
+
+ Class [ <internal:parle> 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 [ <default> public $action ]
+ Property [ <default> public $reduceId ]
+ }
+
+ - Methods [15] {
+ 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 [2] {
+ Parameter #0 [ <optional> string $data ]
+ Parameter #1 [ <optional> Parle\RLexer $lexer ]
+ }
- Return [ boolean ]
}
@@ -305,7 +443,7 @@ Extension [ <persistent> extension #116 parle version 0.6.5 ] {
- Parameters [2] {
Parameter #0 [ <required> string $data ]
- Parameter #1 [ <required> $lexer ]
+ Parameter #1 [ <required> Parle\RLexer $lexer ]
}
}
diff --git a/php-pecl-parle.spec b/php-pecl-parle.spec
index f19c88a..47fb321 100644
--- a/php-pecl-parle.spec
+++ b/php-pecl-parle.spec
@@ -26,7 +26,7 @@ BuildRequires: devtoolset-6-toolchain
Summary: Parsing and lexing
Name: %{?sub_prefix}php-pecl-%{pecl_name}
-Version: 0.6.5
+Version: 0.7.0
Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
# Extension is BSD, libraries are Boost
License: BSD and Boost
@@ -240,6 +240,9 @@ fi
%changelog
+* Mon Oct 2 2017 Remi Collet <remi@remirepo.net> - 0.7.0-1
+- Update to 0.7.0
+
* Fri Sep 29 2017 Remi Collet <remi@remirepo.net> - 0.6.5-1
- Update to 0.6.5