mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-29 23:38:56 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
213 lines
6.6 KiB
XML
213 lines
6.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
|
|
<phpdoc:classref xml:id="class.parle-rlexer" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
|
|
<title>The Parle\RLexer class</title>
|
|
<titleabbrev>Parle\RLexer</titleabbrev>
|
|
|
|
<partintro>
|
|
|
|
<!-- {{{ Parle\RLexer intro -->
|
|
<section xml:id="parle-rlexer.intro">
|
|
&reftitle.intro;
|
|
<para>
|
|
Multistate lexer class. Lexemes can be defined on the fly. If the particular lexer instance is meant to be used with <classname>Parle\RParser</classname>, the token IDs need to be taken from there. Otherwise, arbitrary token IDs can be supplied. Note, that <classname>Parle\Parser</classname> is not compatible with this lexer.
|
|
</para>
|
|
</section>
|
|
<!-- }}} -->
|
|
|
|
<section xml:id="parle-rlexer.synopsis">
|
|
&reftitle.classsynopsis;
|
|
|
|
<!-- {{{ Synopsis -->
|
|
<classsynopsis>
|
|
<ooclass><classname>Parle\RLexer</classname></ooclass>
|
|
|
|
<!-- {{{ Class synopsis -->
|
|
<classsynopsisinfo>
|
|
<ooclass>
|
|
<classname>Parle\RLexer</classname>
|
|
</ooclass>
|
|
</classsynopsisinfo>
|
|
<!-- }}} -->
|
|
<classsynopsisinfo role="comment">Constants</classsynopsisinfo>
|
|
<fieldsynopsis>
|
|
<modifier>const</modifier>
|
|
<type>int</type>
|
|
<varname linkend="parle-rlexer.constants.flag-regex-icase">Parle\RLexer::ICASE</varname>
|
|
<initializer>1</initializer>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>const</modifier>
|
|
<type>int</type>
|
|
<varname linkend="parle-rlexer.constants.flag-regex-dot-not-lf">Parle\RLexer::DOT_NOT_LF</varname>
|
|
<initializer>2</initializer>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>const</modifier>
|
|
<type>int</type>
|
|
<varname linkend="parle-rlexer.constants.flag-regex-dot-not-cr-lf">Parle\RLexer::DOT_NOT_CRLF</varname>
|
|
<initializer>4</initializer>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>const</modifier>
|
|
<type>int</type>
|
|
<varname linkend="parle-rlexer.constants.flag-regex-skip-ws">Parle\RLexer::SKIP_WS</varname>
|
|
<initializer>8</initializer>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>const</modifier>
|
|
<type>int</type>
|
|
<varname linkend="parle-rlexer.constants.flag-regex-match-zero-len">Parle\RLexer::MATCH_ZERO_LEN</varname>
|
|
<initializer>16</initializer>
|
|
</fieldsynopsis>
|
|
|
|
<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<type>bool</type>
|
|
<varname linkend="parle-rlexer.props.bol">bol</varname>
|
|
<initializer>&false;</initializer>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<type>int</type>
|
|
<varname linkend="parle-rlexer.props.flags">flags</varname>
|
|
<initializer>0</initializer>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<type>int</type>
|
|
<varname linkend="parle-rlexer.props.state">state</varname>
|
|
<initializer>0</initializer>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<type>int</type>
|
|
<varname linkend="parle-rlexer.props.marker">marker</varname>
|
|
<initializer>0</initializer>
|
|
</fieldsynopsis>
|
|
<fieldsynopsis>
|
|
<modifier>public</modifier>
|
|
<type>int</type>
|
|
<varname linkend="parle-rlexer.props.cursor">cursor</varname>
|
|
<initializer>0</initializer>
|
|
</fieldsynopsis>
|
|
|
|
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
|
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.parle-rlexer')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
|
|
</classsynopsis>
|
|
<!-- }}} -->
|
|
|
|
</section>
|
|
|
|
<!-- {{{ Parle\RLexer constants -->
|
|
<section xml:id="parle-rlexer.constants">
|
|
&reftitle.constants;
|
|
<variablelist>
|
|
|
|
<varlistentry xml:id="parle-rlexer.constants.flag-regex-icase">
|
|
<term><constant>Parle\RLexer::ICASE</constant></term>
|
|
<listitem>
|
|
<para></para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="parle-rlexer.constants.flag-regex-dot-not-lf">
|
|
<term><constant>Parle\RLexer::DOT_NOT_LF</constant></term>
|
|
<listitem>
|
|
<para></para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="parle-rlexer.constants.flag-regex-dot-not-cr-lf">
|
|
<term><constant>Parle\RLexer::DOT_NOT_CRLF</constant></term>
|
|
<listitem>
|
|
<para></para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="parle-rlexer.constants.flag-regex-skip-ws">
|
|
<term><constant>Parle\RLexer::SKIP_WS</constant></term>
|
|
<listitem>
|
|
<para></para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry xml:id="parle-rlexer.constants.flag-regex-match-zero-len">
|
|
<term><constant>Parle\RLexer::MATCH_ZERO_LEN</constant></term>
|
|
<listitem>
|
|
<para></para>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
</section>
|
|
<!-- }}} -->
|
|
|
|
<!-- {{{ Parle\RLexer properties -->
|
|
<section xml:id="parle-rlexer.props">
|
|
&reftitle.properties;
|
|
<variablelist>
|
|
<varlistentry xml:id="parle-rlexer.props.bol">
|
|
<term><varname>bol</varname></term>
|
|
<listitem>
|
|
<para>Start of input flag.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="parle-rlexer.props.flags">
|
|
<term><varname>flags</varname></term>
|
|
<listitem>
|
|
<para>Lexer flags.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="parle-rlexer.props.state">
|
|
<term><varname>state</varname></term>
|
|
<listitem>
|
|
<para>Current lexer state, readonly.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="parle-rlexer.props.marker">
|
|
<term><varname>marker</varname></term>
|
|
<listitem>
|
|
<para>Position of the latest token match, readonly.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry xml:id="parle-rlexer.props.cursor">
|
|
<term><varname>cursor</varname></term>
|
|
<listitem>
|
|
<para>Current input offset, readonly.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</section>
|
|
<!-- }}} -->
|
|
|
|
</partintro>
|
|
|
|
<!--&reference.parle.entities.parle-rlexer;-->
|
|
&reference.parle.parle.entities.rlexer;
|
|
|
|
</phpdoc:classref>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|