[kate] doc/katepart: remove child rule description, no longer supported
Christoph Cullmann
null at kde.org
Sun Sep 2 18:19:38 BST 2018
Git commit 8f32f2df2d7f2b93caa17c9ca484da00b928a682 by Christoph Cullmann.
Committed on 02/09/2018 at 17:19.
Pushed by cullmann into branch 'master'.
remove child rule description, no longer supported
Differential Revision: https://phabricator.kde.org/D15219
M +2 -29 doc/katepart/development.docbook
https://commits.kde.org/kate/8f32f2df2d7f2b93caa17c9ca484da00b928a682
diff --git a/doc/katepart/development.docbook b/doc/katepart/development.docbook
index 9fe8ba08a..763116ec3 100644
--- a/doc/katepart/development.docbook
+++ b/doc/katepart/development.docbook
@@ -593,23 +593,9 @@ other context, e.g. <userinput>#pop#pop!OtherContext</userinput>.</para>
</listitem>
</itemizedlist>
-<para>Some rules can have <emphasis>child rules</emphasis> which are
-then evaluated only if the parent rule matched. The entire matched
-string will be given the attribute defined by the parent rule. A rule
-with child rules looks like this:</para>
-
-<programlisting>
-<RuleName (attributes)>
- <ChildRuleName (attributes) />
- ...
-</RuleName>
-</programlisting>
-
-
<para>Rule specific attributes varies and are described in the
following sections.</para>
-
<itemizedlist>
<title>Common attributes</title>
<para>All rules have the following attributes in common and are
@@ -777,18 +763,7 @@ loose its delimiter property in all <emphasis>keyword</emphasis> rules.</para>
<listitem>
<para>Detect an integer number.</para>
<para><programlisting><Int (common attributes) /></programlisting></para>
-<para>This rule has no specific attributes. Child rules are typically
-used to detect combinations of <userinput>L</userinput> and
-<userinput>U</userinput> after the number, indicating the integer type
-in program code. Actually all rules are allowed as child rules, though,
-the <acronym>DTD</acronym> only allows the child rule <userinput>StringDetect</userinput>.</para>
-<para>The following example matches integer numbers follows by the character 'L'.
-<programlisting>
-<Int attribute="Decimal" context="#stay" >
- <StringDetect attribute="Decimal" context="#stay" String="L" insensitive="true"/>
-</Int>
-</programlisting></para>
-
+<para>This rule has no specific attributes.</para>
</listitem>
</varlistentry>
@@ -797,9 +772,7 @@ the <acronym>DTD</acronym> only allows the child rule <userinput>StringDetect</u
<listitem>
<para>Detect a floating point number.</para>
<para><programlisting><Float (common attributes) /></programlisting></para>
-<para>This rule has no specific attributes. <userinput>AnyChar</userinput> is
-allowed as a child rule and typically used to detect combinations, see rule
-<userinput>Int</userinput> for reference.</para>
+<para>This rule has no specific attributes.</para>
</listitem>
</varlistentry>
More information about the kde-doc-english
mailing list