Improve doc on Lexer::push()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343149 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Anatol Belski 2017-09-26 17:38:16 +00:00
parent 61cc4bc1bd
commit 3be9d6602c
2 changed files with 4 additions and 4 deletions

View file

@ -16,7 +16,7 @@
<!--<methodparam choice="opt"><type>integer</type><parameter>userId</parameter></methodparam>-->
</methodsynopsis>
<para>
Push a pattern for lexeme recognition.
</para>
</refsect1>
@ -35,7 +35,7 @@
<term><parameter>id</parameter></term>
<listitem>
<para>
Auto assigned token id.
Token id. If the lexer instance is meant to be used standalone, this can be an arbitrary number. If the lexer instance is going to be passed to the parser, it has to be an id returned by <methodname>Parle\Parser::tokenid</methodname>.
</para>
</listitem>
</varlistentry>

View file

@ -30,7 +30,7 @@
<methodparam><type>string</type><parameter>newState</parameter></methodparam>
</methodsynopsis>
<para>
Push a pattern for lexeme recognition.
</para>
</refsect1>
@ -49,7 +49,7 @@
<term><parameter>id</parameter></term>
<listitem>
<para>
Auto assigned token id.
Token id. If the lexer instance is meant to be used standalone, this can be an arbitrary number. If the lexer instance is going to be passed to the parser, it has to be an id returned by <methodname>Parle\Parser::tokenid</methodname>.
</para>
</listitem>
</varlistentry>