Skip to content

Commit

Permalink
Use new class synopsis markup
Browse files Browse the repository at this point in the history
Following php/phd#77
  • Loading branch information
kocsismate committed Jul 27, 2023
1 parent b574a9a commit e3127dc
Show file tree
Hide file tree
Showing 260 changed files with 1,224 additions and 2,709 deletions.
20 changes: 7 additions & 13 deletions language/predefined/argumentcounterror.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,16 @@
&reftitle.classsynopsis;

<!-- {{{ Synopsis -->
<classsynopsis>
<classsynopsis class="class">
<ooexception>
<exceptionname>ArgumentCountError</exceptionname>
</ooexception>

<ooclass>
<classname>ArgumentCountError</classname>
<modifier>extends</modifier>
<classname>TypeError</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<classname>ArgumentCountError</classname>
</ooclass>

<ooclass>
<modifier>extends</modifier>
<classname>TypeError</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))">
<xi:fallback/>
Expand Down
20 changes: 7 additions & 13 deletions language/predefined/arithmeticerror.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,16 @@
&reftitle.classsynopsis;

<!-- {{{ Synopsis -->
<classsynopsis>
<classsynopsis class="class">
<ooexception>
<exceptionname>ArithmeticError</exceptionname>
</ooexception>

<ooclass>
<classname>ArithmeticError</classname>
<modifier>extends</modifier>
<classname>Error</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<classname>ArithmeticError</classname>
</ooclass>

<ooclass>
<modifier>extends</modifier>
<classname>Error</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))">
<xi:fallback/>
Expand Down
12 changes: 3 additions & 9 deletions language/predefined/arrayaccess.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,9 @@

<!-- {{{ Synopsis -->
<classsynopsis class="interface">
<ooclass>
<classname>ArrayAccess</classname>
</ooclass>

<classsynopsisinfo>
<oointerface>
<interfacename>ArrayAccess</interfacename>
</oointerface>
</classsynopsisinfo>
<oointerface>
<interfacename>ArrayAccess</interfacename>
</oointerface>

<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.arrayaccess')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='ArrayAccess'])">
Expand Down
20 changes: 7 additions & 13 deletions language/predefined/assertionerror.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,16 @@
&reftitle.classsynopsis;

<!-- {{{ Synopsis -->
<classsynopsis>
<classsynopsis class="class">
<ooexception>
<exceptionname>AssertionError</exceptionname>
</ooexception>

<ooclass>
<classname>AssertionError</classname>
<modifier>extends</modifier>
<classname>Error</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<classname>AssertionError</classname>
</ooclass>

<ooclass>
<modifier>extends</modifier>
<classname>Error</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))">
<xi:fallback/>
Expand Down
10 changes: 2 additions & 8 deletions language/predefined/attributes/allowdynamicproperties.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,12 @@
<section xml:id="allowdynamicproperties.synopsis">
&reftitle.classsynopsis;

<classsynopsis>
<classsynopsis class="class">
<ooclass>
<modifier>final</modifier>
<classname>AllowDynamicProperties</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<modifier>final</modifier>
<classname>AllowDynamicProperties</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.allowdynamicproperties')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='AllowDynamicProperties'])">
<xi:fallback/>
Expand Down
10 changes: 2 additions & 8 deletions language/predefined/attributes/attribute.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,12 @@
<section xml:id="attribute.synopsis">
&reftitle.classsynopsis;

<classsynopsis>
<classsynopsis class="class">
<ooclass>
<modifier>final</modifier>
<classname>Attribute</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<modifier>final</modifier>
<classname>Attribute</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&Constants;</classsynopsisinfo>
<fieldsynopsis>
<modifier>const</modifier>
Expand Down
10 changes: 2 additions & 8 deletions language/predefined/attributes/returntypewillchange.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,12 @@
<section xml:id="returntypewillchange.synopsis">
&reftitle.classsynopsis;

<classsynopsis>
<classsynopsis class="class">
<ooclass>
<modifier>final</modifier>
<classname>ReturnTypeWillChange</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<modifier>final</modifier>
<classname>ReturnTypeWillChange</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.returntypewillchange')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='ReturnTypeWillChange'])">
<xi:fallback/>
Expand Down
10 changes: 2 additions & 8 deletions language/predefined/attributes/sensitiveparameter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,12 @@
<section xml:id="sensitiveparameter.synopsis">
&reftitle.classsynopsis;

<classsynopsis>
<classsynopsis class="class">
<ooclass>
<modifier>final</modifier>
<classname>SensitiveParameter</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<modifier>final</modifier>
<classname>SensitiveParameter</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.sensitiveparameter')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='SensitiveParameter'])">
<xi:fallback/>
Expand Down
19 changes: 7 additions & 12 deletions language/predefined/backedenum.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,14 @@

<!-- {{{ Synopsis -->
<classsynopsis class="interface">
<ooclass>
<classname>BackedEnum</classname>
</ooclass>
<oointerface>
<interfacename>BackedEnum</interfacename>
</oointerface>

<classsynopsisinfo>
<oointerface>
<interfacename>BackedEnum</interfacename>
</oointerface>

<oointerface>
<interfacename>UnitEnum</interfacename>
</oointerface>
</classsynopsisinfo>
<oointerface>
<modifier>extends</modifier>
<interfacename>UnitEnum</interfacename>
</oointerface>

<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.backedenum')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='BackedEnum'])">
Expand Down
10 changes: 2 additions & 8 deletions language/predefined/closure.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,12 @@
&reftitle.classsynopsis;

<!-- {{{ Synopsis -->
<classsynopsis>
<classsynopsis class="class">
<ooclass>
<modifier>final</modifier>
<classname>Closure</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<modifier>final</modifier>
<classname>Closure</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.closure')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='Closure'])">
<xi:fallback/>
Expand Down
20 changes: 7 additions & 13 deletions language/predefined/compileerror.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,16 @@
&reftitle.classsynopsis;

<!-- {{{ Synopsis -->
<classsynopsis>
<classsynopsis class="class">
<ooexception>
<exceptionname>CompileError</exceptionname>
</ooexception>

<ooclass>
<classname>CompileError</classname>
<modifier>extends</modifier>
<classname>Error</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<classname>CompileError</classname>
</ooclass>

<ooclass>
<modifier>extends</modifier>
<classname>Error</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))">
<xi:fallback/>
Expand Down
20 changes: 7 additions & 13 deletions language/predefined/divisionbyzeroerror.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,16 @@
&reftitle.classsynopsis;

<!-- {{{ Synopsis -->
<classsynopsis>
<classsynopsis class="class">
<ooexception>
<exceptionname>DivisionByZeroError</exceptionname>
</ooexception>

<ooclass>
<classname>DivisionByZeroError</classname>
<modifier>extends</modifier>
<classname>ArithmeticError</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<classname>DivisionByZeroError</classname>
</ooclass>

<ooclass>
<modifier>extends</modifier>
<classname>ArithmeticError</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&InheritedProperties;</classsynopsisinfo>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.error')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Properties;']]))">
<xi:fallback/>
Expand Down
21 changes: 8 additions & 13 deletions language/predefined/error.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,15 @@
&reftitle.classsynopsis;

<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass>
<classname>Error</classname>
</ooclass>
<classsynopsis class="class">
<ooexception>
<exceptionname>Error</exceptionname>
</ooexception>

<classsynopsisinfo>
<ooclass>
<classname>Error</classname>
</ooclass>

<oointerface>
<interfacename>Throwable</interfacename>
</oointerface>
</classsynopsisinfo>
<oointerface>
<modifier>implements</modifier>
<interfacename>Throwable</interfacename>
</oointerface>

<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
<fieldsynopsis>
Expand Down
20 changes: 7 additions & 13 deletions language/predefined/errorexception.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,16 @@
&reftitle.classsynopsis;

<!-- {{{ Synopsis -->
<classsynopsis>
<classsynopsis class="class">
<ooexception>
<exceptionname>ErrorException</exceptionname>
</ooexception>

<ooclass>
<classname>ErrorException</classname>
<modifier>extends</modifier>
<classname>Exception</classname>
</ooclass>

<classsynopsisinfo>
<ooclass>
<classname>ErrorException</classname>
</ooclass>

<ooclass>
<modifier>extends</modifier>
<classname>Exception</classname>
</ooclass>
</classsynopsisinfo>

<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
<fieldsynopsis>
<modifier>protected</modifier>
Expand Down
21 changes: 8 additions & 13 deletions language/predefined/exception.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,15 @@
&reftitle.classsynopsis;

<!-- {{{ Synopsis -->
<classsynopsis>
<ooclass>
<classname>Exception</classname>
</ooclass>
<classsynopsis class="class">
<ooexception>
<exceptionname>Exception</exceptionname>
</ooexception>

<classsynopsisinfo>
<ooclass>
<classname>Exception</classname>
</ooclass>

<oointerface>
<interfacename>Throwable</interfacename>
</oointerface>
</classsynopsisinfo>
<oointerface>
<modifier>implements</modifier>
<interfacename>Throwable</interfacename>
</oointerface>

<classsynopsisinfo role="comment">&Properties;</classsynopsisinfo>
<fieldsynopsis>
Expand Down
Loading

0 comments on commit e3127dc

Please sign in to comment.