mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
61cc4bc1bd
commit
3be9d6602c
2 changed files with 4 additions and 4 deletions
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue