Sync with lexer const name changes

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343100 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Anatol Belski 2017-09-17 14:06:58 +00:00
parent 86e21d98a1
commit 0dc0158937
3 changed files with 20 additions and 42 deletions

View file

@ -35,31 +35,31 @@
<fieldsynopsis>
<modifier>const</modifier>
<type>integer</type>
<varname linkend="parle-lexer.constants.flag-regex-icase">Parle\Lexer::FLAG_REGEX_ICASE</varname>
<varname linkend="parle-lexer.constants.flag-regex-icase">Parle\Lexer::ICASE</varname>
<initializer>1</initializer>
</fieldsynopsis>
<fieldsynopsis>
<modifier>const</modifier>
<type>integer</type>
<varname linkend="parle-lexer.constants.flag-regex-dot-not-lf">Parle\Lexer::FLAG_REGEX_DOT_NOT_LF</varname>
<varname linkend="parle-lexer.constants.flag-regex-dot-not-lf">Parle\Lexer::DOT_NOT_LF</varname>
<initializer>2</initializer>
</fieldsynopsis>
<fieldsynopsis>
<modifier>const</modifier>
<type>integer</type>
<varname linkend="parle-lexer.constants.flag-regex-dot-not-cr-lf">Parle\Lexer::FLAG_REGEX_DOT_NOT_CR_LF</varname>
<varname linkend="parle-lexer.constants.flag-regex-dot-not-cr-lf">Parle\Lexer::DOT_NOT_CRLF</varname>
<initializer>4</initializer>
</fieldsynopsis>
<fieldsynopsis>
<modifier>const</modifier>
<type>integer</type>
<varname linkend="parle-lexer.constants.flag-regex-skip-ws">Parle\Lexer::FLAG_REGEX_SKIP_WS</varname>
<varname linkend="parle-lexer.constants.flag-regex-skip-ws">Parle\Lexer::SKIP_WS</varname>
<initializer>8</initializer>
</fieldsynopsis>
<fieldsynopsis>
<modifier>const</modifier>
<type>integer</type>
<varname linkend="parle-lexer.constants.flag-regex-match-zero-len">Parle\Lexer::FLAG_REGEX_MATCH_ZERO_LEN</varname>
<varname linkend="parle-lexer.constants.flag-regex-match-zero-len">Parle\Lexer::MATCH_ZERO_LEN</varname>
<initializer>16</initializer>
</fieldsynopsis>
@ -96,35 +96,35 @@
<variablelist>
<varlistentry xml:id="parle-lexer.constants.flag-regex-icase">
<term><constant>Parle\Lexer::FLAG_REGEX_ICASE</constant></term>
<term><constant>Parle\Lexer::ICASE</constant></term>
<listitem>
<para></para>
</listitem>
</varlistentry>
<varlistentry xml:id="parle-lexer.constants.flag-regex-dot-not-lf">
<term><constant>Parle\Lexer::FLAG_REGEX_DOT_NOT_LF</constant></term>
<term><constant>Parle\Lexer::DOT_NOT_LF</constant></term>
<listitem>
<para></para>
</listitem>
</varlistentry>
<varlistentry xml:id="parle-lexer.constants.flag-regex-dot-not-cr-lf">
<term><constant>Parle\Lexer::FLAG_REGEX_DOT_NOT_CR_LF</constant></term>
<term><constant>Parle\Lexer::DOT_NOT_CRLF</constant></term>
<listitem>
<para></para>
</listitem>
</varlistentry>
<varlistentry xml:id="parle-lexer.constants.flag-regex-skip-ws">
<term><constant>Parle\Lexer::FLAG_REGEX_SKIP_WS</constant></term>
<term><constant>Parle\Lexer::SKIP_WS</constant></term>
<listitem>
<para></para>
</listitem>
</varlistentry>
<varlistentry xml:id="parle-lexer.constants.flag-regex-match-zero-len">
<term><constant>Parle\Lexer::FLAG_REGEX_MATCH_ZERO_LEN</constant></term>
<term><constant>Parle\Lexer::MATCH_ZERO_LEN</constant></term>
<listitem>
<para></para>
</listitem>

View file

@ -40,31 +40,31 @@
<fieldsynopsis>
<modifier>const</modifier>
<type>integer</type>
<varname linkend="parle-rlexer.constants.flag-regex-icase">Parle\RLexer::FLAG_REGEX_ICASE</varname>
<varname linkend="parle-rlexer.constants.flag-regex-icase">Parle\RLexer::ICASE</varname>
<initializer>1</initializer>
</fieldsynopsis>
<fieldsynopsis>
<modifier>const</modifier>
<type>integer</type>
<varname linkend="parle-rlexer.constants.flag-regex-dot-not-lf">Parle\RLexer::FLAG_REGEX_DOT_NOT_LF</varname>
<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>integer</type>
<varname linkend="parle-rlexer.constants.flag-regex-dot-not-cr-lf">Parle\RLexer::FLAG_REGEX_DOT_NOT_CR_LF</varname>
<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>integer</type>
<varname linkend="parle-rlexer.constants.flag-regex-skip-ws">Parle\RLexer::FLAG_REGEX_SKIP_WS</varname>
<varname linkend="parle-rlexer.constants.flag-regex-skip-ws">Parle\RLexer::SKIP_WS</varname>
<initializer>8</initializer>
</fieldsynopsis>
<fieldsynopsis>
<modifier>const</modifier>
<type>integer</type>
<varname linkend="parle-rlexer.constants.flag-regex-match-zero-len">Parle\RLexer::FLAG_REGEX_MATCH_ZERO_LEN</varname>
<varname linkend="parle-rlexer.constants.flag-regex-match-zero-len">Parle\RLexer::MATCH_ZERO_LEN</varname>
<initializer>16</initializer>
</fieldsynopsis>
@ -105,35 +105,35 @@
<variablelist>
<varlistentry xml:id="parle-rlexer.constants.flag-regex-icase">
<term><constant>Parle\RLexer::FLAG_REGEX_ICASE</constant></term>
<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::FLAG_REGEX_DOT_NOT_LF</constant></term>
<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::FLAG_REGEX_DOT_NOT_CR_LF</constant></term>
<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::FLAG_REGEX_SKIP_WS</constant></term>
<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::FLAG_REGEX_MATCH_ZERO_LEN</constant></term>
<term><constant>Parle\RLexer::MATCH_ZERO_LEN</constant></term>
<listitem>
<para></para>
</listitem>

View file

@ -14,12 +14,6 @@
<methodparam><type>string</type><parameter>name</parameter></methodparam>
<methodparam><type>string</type><parameter>regex</parameter></methodparam>
</methodsynopsis>
<methodsynopsis>
<modifier>public</modifier> <type>void</type><methodname>Parle\Lexer::insertMacro</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
<methodparam><type>string</type><parameter>regexStart</parameter></methodparam>
<methodparam><type>string</type><parameter>regexEnd</parameter></methodparam>
</methodsynopsis>
<para>
Insert a regex macro, that can be later used as a shortcut and included in other regular expressions.
</para>
@ -44,22 +38,6 @@
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>regexStart</parameter></term>
<listitem>
<para>
Regular expression start.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>regexEnd</parameter></term>
<listitem>
<para>
Regular expression end.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>