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='2018-05-
17
' version='Pike v8.1.13'>
+
<manual time-stamp='2018-05-
18
' version='Pike v8.1.13'>
<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. Overview</url></dd> <dd><url href='chapter_1.html#2'>1.2. The history of Pike</url></dd> <dd><url href='chapter_1.html#3'>1.3. A comparison with other languages</url></dd> <dd><url href='chapter_1.html#4'>1.4. What is Pike</url></dd> <dd><url href='chapter_1.html#5'>1.5. Pike License</url></dd>
autodoc.git/traditional.xml:18374:
<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:92202:
<returntype><string/></returntype> </method> <method name='utf8_to_string'> <arguments><argument name='s'><type><object>utf8_string</object></type></argument><argument name='extended'><type><int/></type></argument></arguments> <returntype><string/></returntype> </method> </docgroup> <docgroup homogen-name='validate_utf8' homogen-type='method'><doc><text><p>Checks whether a string is a valid UTF-8 byte-stream.</p> </text><group><param name='s'/><text><p>String of UTF-8 encoded data to validate.</p> </text></group><group><param name='extended'/><text><p>Bitmask with extension options.</p>
-
<int><group><value>1</value><text><p>Accept the extension used by <ref resolved='predef::string_to_utf8'>string_to_utf8()</ref>.</p>
+
<int><group><value>1</value><text><p>Accept the extension used by <ref resolved='predef::string_to_utf8'>string_to_utf8()</ref>
, including
+
lone UTF-16 surrogates
.</p>
</text></group><group><value>2</value><text><p>Accept UTF-8 encoded UTF-16 (ie accept valid surrogate-pairs).</p>
-
</text></group><group><value>4</value><text><p>Accept UTF-8 encoded invalid UTF-16 (ie accept lone surrogates).</p>
+
</text></group></int> </text></group><group><returns/><text><p>Returns <expr>0</expr> (zero) if the stream is not a legal UTF-8 byte-stream, and <expr>1</expr> if it is.</p> </text></group><group><note/><text><p>In conformance with <rfc>3629</rfc> and Unicode 3.1 and later, non-shortest forms are considered invalid.</p> </text></group><group><seealso/><text><p><ref resolved='predef::Charset.encoder'>Charset.encoder()</ref>, <ref resolved='predef::string_to_unicode'>string_to_unicode()</ref>, <ref resolved='predef::string_to_utf8'>string_to_utf8()</ref>, <ref resolved='predef::unicode_to_string'>unicode_to_string()</ref>, <ref resolved='predef::utf8_to_string'>utf8_to_string()</ref></p> </text></group></doc> <method name='validate_utf8'> <arguments><argument name='s'><type><object>utf8_string</object></type></argument></arguments>