Restore the RLexer::push() variants

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343204 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Anatol Belski 2017-10-07 09:08:24 +00:00
parent d7e95883ec
commit 0ef69e6aa1

View file

@ -15,6 +15,20 @@
<methodparam><type>integer</type><parameter>id</parameter></methodparam>
<!--<methodparam choice="opt"><type>integer</type><parameter>userId</parameter></methodparam>-->
</methodsynopsis>
<methodsynopsis>
<modifier>public</modifier> <type>void</type><methodname>Parle\RLexer::push</methodname>
<methodparam><type>string</type><parameter>state</parameter></methodparam>
<methodparam><type>string</type><parameter>regex</parameter></methodparam>
<methodparam><type>integer</type><parameter>id</parameter></methodparam>
<methodparam><type>string</type><parameter>newState</parameter></methodparam>
<!--<methodparam choice="opt"><type>integer</type><parameter>userId</parameter></methodparam>-->
</methodsynopsis>
<methodsynopsis>
<modifier>public</modifier> <type>void</type><methodname>Parle\RLexer::push</methodname>
<methodparam><type>string</type><parameter>state</parameter></methodparam>
<methodparam><type>string</type><parameter>regex</parameter></methodparam>
<methodparam><type>string</type><parameter>newState</parameter></methodparam>
</methodsynopsis>
<para>
Push a pattern for lexeme recognition.
</para>
@ -39,6 +53,22 @@
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>state</parameter></term>
<listitem>
<para>
State name.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>newState</parameter></term>
<listitem>
<para>
New state name, after the rule was applied.
</para>
</listitem>
</varlistentry>
<!--<varlistentry>
<term><parameter>userId</parameter></term>
<listitem>