autodoc.git
/
traditional.xml
version
»
Context lines:
10
20
40
80
file
none
3
autodoc.git/traditional.xml:1:
<?xml version='1.0' encoding='utf-8'?>
-
<manual time-stamp='2021-05-
09
' version='Pike v8.1.14'>
+
<manual time-stamp='2021-05-
12
' version='Pike v8.1.14'>
<dir name='./traditional_manual'> <file name='./traditional_manual/index.html'> <chapter title='Table of Contents' unnumbered='1'> <dl><dt><url href='index.html'>Table of Contents</url></dt> <dt><url href='chapter_1.html'>1. Introduction</url></dt> <dd><url href='chapter_1.html#1.1'>1.1. Overview</url></dd> <dd><url href='chapter_1.html#1.2'>1.2. The history of Pike</url></dd> <dd><url href='chapter_1.html#1.3'>1.3. A comparison with other languages</url></dd> <dd><url href='chapter_1.html#1.4'>1.4. What is Pike</url></dd> <dd><url href='chapter_1.html#1.5'>1.5. Pike License</url></dd>
autodoc.git/traditional.xml:18699:
<variable name='lr_error'><type><int/></type></variable> </docgroup> <docgroup homogen-name='make_parser' homogen-type='method'><doc><text><p>Compiles the parser-specification given in the first argument. Named actions are taken from the object if available, otherwise left as is.</p> </text><group><bugs/><text><p>Returns error-code in both GrammarParser.error and return_value->lr_error.</p> </text></group></doc> <method name='make_parser'> <arguments><argument name='str'><type><string/></type></argument><argument name='m'><type><or><object resolved='predef::Parser.LR.GrammarParser.make_parser'/><void/></or></type></argument></arguments>
-
<returntype><object resolved='predef::Parser'>Parser</object></returntype>
+
<returntype><object resolved='predef::Parser
.LR.Parser
'>Parser</object></returntype>
</method> </docgroup> <docgroup homogen-name='make_parser_from_file' homogen-type='method'><doc><text><p>Compiles the file specified in the first argument into an LR parser.</p> </text><group><seealso/><text><p><ref resolved='predef::Parser.LR.GrammarParser.make_parser'>make_parser</ref></p> </text></group></doc> <method name='make_parser_from_file'> <arguments><argument name='fname'><type><string/></type></argument><argument name='m'><type><or><object resolved='predef::Parser.LR.GrammarParser.make_parser_from_file'/><void/></or></type></argument></arguments>
-
<returntype><or><int/><object resolved='predef::Parser'>Parser</object></or></returntype>
+
<returntype><or><int/><object resolved='predef::Parser
.LR.Parser
'>Parser</object></or></returntype>
</method> </docgroup> </module> <class name='Parser'> <doc><text><p>This object implements an LALR(1) parser and compiler.</p> <p> Normal use of this object would be:</p> <p> <pre> set_error_handler {add_rule, set_priority, set_associativity}* set_symbol_to_string
autodoc.git/traditional.xml:101361:
but may be accessed directly by calling <ref>cpp()</ref>.</p> </text><group><seealso/><text><p><ref>compile()</ref>, <ref>cpp()</ref>, <ref>CompilerEnvironment.CPP</ref></p> </text></group></doc>
+
<docgroup homogen-type='directive'><doc><text><p>These work as a combined <ref resolved='cpp::'>#else</ref> and <ref resolved='cpp::'>#ifdef</ref> without
+
adding an extra level of nesting.</p>
+
</text><group><example/><text><p>The following two are equivalent:</p>
+
<code><text><p>#ifdef A
+
// Code for A.
+
#else
+
#ifdef B
+
// Code for B.
+
#else
+
#ifdef C
+
// Code for C.
+
#else
+
// Code for D.
+
#endif
+
#endif
+
#endif</p>
+
</text></code><p>And</p>
+
<code><text><p>#ifdef A
+
// Code for A.
+
#elifdef B
+
// Code for B.
+
#elseifdef C
+
// Code for C.
+
#else
+
// Code for D.
+
#endif</p>
+
</text></code>
+
</text></group><group><seealso/><text><p><ref resolved='cpp::'>#if</ref>, <ref resolved='cpp::'>#ifdef</ref>, <ref resolved='cpp::'>#else</ref>, <ref resolved='cpp::defined'>defined()</ref>, <ref resolved='cpp::constant'>constant()</ref></p>
+
</text></group></doc>
+
<directive name='#elifdef'/>
+
<directive name='#elseifdef'/>
+
</docgroup>
+
<docgroup homogen-type='directive'><doc><text><p>These work as a combined <ref resolved='cpp::'>#else</ref> and <ref resolved='cpp::'>#ifndef</ref> without
+
adding an extra level of nesting.</p>
+
</text><group><example/><text><p>The following two are equivalent:</p>
+
<code><text><p>#ifndef A
+
// Code for not A.
+
#else
+
#ifndef B
+
// Code for not B.
+
#else
+
#ifdef C
+
// Code for not C.
+
#else
+
// Code for ABC.
+
#endif
+
#endif
+
#endif</p>
+
</text></code><p>And</p>
+
<code><text><p>#ifndef A
+
// Code for not A.
+
#elifndef B
+
// Code for not B.
+
#elseifndef C
+
// Code for not C.
+
#else
+
// Code for ABC.
+
#endif</p>
+
</text></code>
+
</text></group><group><seealso/><text><p><ref resolved='cpp::'>#if</ref>, <ref resolved='cpp::'>#ifdef</ref>, <ref resolved='cpp::'>#else</ref>, <ref resolved='cpp::defined'>defined()</ref>, <ref resolved='cpp::constant'>constant()</ref></p>
+
</text></group></doc>
+
<directive name='#elifndef'/>
+
<directive name='#elseifndef'/>
+
</docgroup>