pike.git / refdoc / xml.txt

version» Context lines:

pike.git/refdoc/xml.txt:125:    <method>    <modifier>    <module>    <typedef>    <variable>      The names speak for themselves, except: <modifier> which is used for modifier   ranges:       //! Some variables: -  static nomask { +  protected final {    int x, y;       string n;    }      A Pike entity may also have the following properties:       Name - Given as a name="..." attribute:    <variable name="i"> ... </variable>   
pike.git/refdoc/xml.txt:193:    <doc>    <text><p>Documented inherit</p></text>    </doc>    <inherit><source-position ... />    <classname>Sven</classname></inherit>    </docgroup>    ...    </class>      <constant> -  Only has a name. The element is empty (or has a <source-position> child.) +  Has a name attribute. Contains optional <type> and +  <source-position> child elements.      <enum>    Works as a container. Has a <doc> child element with the documentation of    the enum itself, and <docgroup> elements with a <constant> for each enum    constant. So:       enum E    //! enum E    {    //! Three constants:
pike.git/refdoc/xml.txt:281:   e) Pike types   ----------------------------------------------------------------------      Above we have seen the types int and float represented as <int/> and <float/>.   Some of the types are complex, some are simple. The simpler types are just on   the form <foo/>:       <float/>    <mixed/>    <program/> -  <string/> +     <void/>      The same goes for mapping, array, function, object, multiset, &c that have   no narrowing type qualification: <mapping/>, <array/>, <function/> ...      The complex types are represented as follows:      array    If the type of the elements of the array is specified it is given in a    <valuetype> child element:
pike.git/refdoc/xml.txt:317:    </function>      int    An int type can have a min and/or max value. The values can be numbers or    identifiers:       int(0..MAX)       <int><min>0</min><max>MAX</max></int>    + string +  A string type can have a numerical min and/or max character value. +  The values can be numbers or identifiers: +  +  string(0..255) +  +  <string><min>0</min><max>255</max></string> +    mapping    The types of the indices and values are given:       mapping(int:int)       <mapping>    <indextype><int/></indextype>    <valuetype><int/></valuetype>      multiset