source: trunk/packages/libyaml/doc/html/structyaml__token__s.html @ 1414

Last change on this file since 1414 was 898, checked in by hartmans, 16 years ago

Add pyyaml and libyaml packages
backported from lenny.
There is discussion about how these should go in the repository; these are added in this form
in order to make forward progress.

File size: 10.6 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>yaml: yaml_token_s Struct Reference</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5<link href="tabs.css" rel="stylesheet" type="text/css">
6</head><body>
7<!-- Generated by Doxygen 1.5.1 -->
8<div class="tabs">
9  <ul>
10    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
11    <li><a href="modules.html"><span>Modules</span></a></li>
12    <li id="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
13    <li><a href="files.html"><span>Files</span></a></li>
14  </ul></div>
15<div class="tabs">
16  <ul>
17    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
18    <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
19  </ul></div>
20<h1>yaml_token_s Struct Reference<br>
21<small>
22[<a class="el" href="group__tokens.html">Tokens</a>]</small>
23</h1><!-- doxytag: class="yaml_token_s" -->The token structure. 
24<a href="#_details">More...</a>
25<p>
26<code>#include &lt;yaml.h&gt;</code>
27<p>
28<table border="0" cellpadding="0" cellspacing="0">
29<tr><td></td></tr>
30<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
31<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a8aeb89e2e74f5e2f199484177d0ea14"></a><!-- doxytag: member="yaml_token_s::type" ref="a8aeb89e2e74f5e2f199484177d0ea14" args="" -->
32<a class="el" href="group__tokens.html#gba51dda022dced02f8df2224ab7993f7">yaml_token_type_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structyaml__token__s.html#a8aeb89e2e74f5e2f199484177d0ea14">type</a></td></tr>
33
34<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The token type. <br></td></tr>
35<tr><td class="memItemLeft" nowrap><a class="anchor" name="edb5be9b6b8f5ef6c129575e84f63605"></a><!-- doxytag: member="yaml_token_s::data" ref="edb5be9b6b8f5ef6c129575e84f63605" args="" -->
36union {</td></tr>
37
38<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;struct {</td></tr>
39
40<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="el" href="group__basic.html#g2170996d7e636397b5e6bc0c1b7df7c6">yaml_encoding_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="structyaml__token__s.html#ab75b9cb91438e0e1efe2522652cf478">encoding</a></td></tr>
41
42<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The stream encoding. <br></td></tr>
43<tr><td class="memItemLeft" nowrap valign="top">&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;<a class="el" href="structyaml__token__s.html#ab66b62f4507f4fd0e9d2b7548f588e6">stream_start</a></td></tr>
44
45<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The stream start (for <code>YAML_STREAM_START_TOKEN</code>). <br></td></tr>
46<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;struct {</td></tr>
47
48<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="el" href="group__basic.html#gf8657e81f0b8b05d1a081001fc6cb8bd">yaml_char_t</a> *&nbsp;&nbsp;&nbsp;<a class="el" href="structyaml__token__s.html#97ce52329d6093b63fba36817f8bd549">value</a></td></tr>
49
50<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The alias value. <br></td></tr>
51<tr><td class="memItemLeft" nowrap valign="top">&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;<a class="el" href="structyaml__token__s.html#1f942353efa1972a38a0763afefabe0c">alias</a></td></tr>
52
53<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The alias (for <code>YAML_ALIAS_TOKEN</code>). <br></td></tr>
54<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;struct {</td></tr>
55
56<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="el" href="group__basic.html#gf8657e81f0b8b05d1a081001fc6cb8bd">yaml_char_t</a> *&nbsp;&nbsp;&nbsp;<a class="el" href="structyaml__token__s.html#97ce52329d6093b63fba36817f8bd549">value</a></td></tr>
57
58<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The anchor value. <br></td></tr>
59<tr><td class="memItemLeft" nowrap valign="top">&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;<a class="el" href="structyaml__token__s.html#cc0f6636995f5fe332604b74571e6cfa">anchor</a></td></tr>
60
61<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The anchor (for <code>YAML_ANCHOR_TOKEN</code>). <br></td></tr>
62<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;struct {</td></tr>
63
64<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="el" href="group__basic.html#gf8657e81f0b8b05d1a081001fc6cb8bd">yaml_char_t</a> *&nbsp;&nbsp;&nbsp;<a class="el" href="structyaml__token__s.html#01665687653c945a6666dd9debaecd65">handle</a></td></tr>
65
66<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The tag handle. <br></td></tr>
67<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="el" href="group__basic.html#gf8657e81f0b8b05d1a081001fc6cb8bd">yaml_char_t</a> *&nbsp;&nbsp;&nbsp;<a class="el" href="structyaml__token__s.html#61344c49b73da5821cb06cab4cbab505">suffix</a></td></tr>
68
69<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The tag suffix. <br></td></tr>
70<tr><td class="memItemLeft" nowrap valign="top">&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;<a class="el" href="structyaml__token__s.html#b281db5b7563c5489726768fe0fbaac7">tag</a></td></tr>
71
72<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The tag (for <code>YAML_TAG_TOKEN</code>). <br></td></tr>
73<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;struct {</td></tr>
74
75<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="el" href="group__basic.html#gf8657e81f0b8b05d1a081001fc6cb8bd">yaml_char_t</a> *&nbsp;&nbsp;&nbsp;<a class="el" href="structyaml__token__s.html#97ce52329d6093b63fba36817f8bd549">value</a></td></tr>
76
77<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The scalar value. <br></td></tr>
78<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;size_t&nbsp;&nbsp;&nbsp;<a class="el" href="structyaml__token__s.html#06e51daf74cf78103e00608c3c9132e2">length</a></td></tr>
79
80<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The length of the scalar value. <br></td></tr>
81<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="el" href="group__styles.html#g3fa6405631e1afe5bd5c488a6c5e8065">yaml_scalar_style_t</a>&nbsp;&nbsp;&nbsp;<a class="el" href="structyaml__token__s.html#530a8c4d78feaf5496fb9f461674382b">style</a></td></tr>
82
83<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The scalar style. <br></td></tr>
84<tr><td class="memItemLeft" nowrap valign="top">&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;<a class="el" href="structyaml__token__s.html#35e3629351176dd91b38cbfc827a8b00">scalar</a></td></tr>
85
86<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The scalar value (for <code>YAML_SCALAR_TOKEN</code>). <br></td></tr>
87<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;struct {</td></tr>
88
89<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;&nbsp;&nbsp;<a class="el" href="structyaml__token__s.html#ac2ed466afd0390872774238dfcd152c">major</a></td></tr>
90
91<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The major version number. <br></td></tr>
92<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;&nbsp;&nbsp;<a class="el" href="structyaml__token__s.html#97b9f537b24e8413e9fddc6a4b183d30">minor</a></td></tr>
93
94<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The minor version number. <br></td></tr>
95<tr><td class="memItemLeft" nowrap valign="top">&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;<a class="el" href="structyaml__token__s.html#41b30a59ca22d1020d6af4cc7cc0da47">version_directive</a></td></tr>
96
97<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The version directive (for <code>YAML_VERSION_DIRECTIVE_TOKEN</code>). <br></td></tr>
98<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;struct {</td></tr>
99
100<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="el" href="group__basic.html#gf8657e81f0b8b05d1a081001fc6cb8bd">yaml_char_t</a> *&nbsp;&nbsp;&nbsp;<a class="el" href="structyaml__token__s.html#01665687653c945a6666dd9debaecd65">handle</a></td></tr>
101
102<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The tag handle. <br></td></tr>
103<tr><td class="memItemLeft" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a class="el" href="group__basic.html#gf8657e81f0b8b05d1a081001fc6cb8bd">yaml_char_t</a> *&nbsp;&nbsp;&nbsp;<a class="el" href="structyaml__token__s.html#561b3730b9999cfe1010e77aca49c5b8">prefix</a></td></tr>
104
105<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The tag prefix. <br></td></tr>
106<tr><td class="memItemLeft" nowrap valign="top">&nbsp;&nbsp;&nbsp;}&nbsp;&nbsp;&nbsp;<a class="el" href="structyaml__token__s.html#a8a1b9eeee539233e8461773894f4ea0">tag_directive</a></td></tr>
107
108<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The tag directive (for <code>YAML_TAG_DIRECTIVE_TOKEN</code>). <br></td></tr>
109<tr><td class="memItemLeft" nowrap valign="top">}&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structyaml__token__s.html#edb5be9b6b8f5ef6c129575e84f63605">data</a></td></tr>
110
111<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The token data. <br></td></tr>
112<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bdc5f4f2059c5a7bfe8e810b49a53980"></a><!-- doxytag: member="yaml_token_s::start_mark" ref="bdc5f4f2059c5a7bfe8e810b49a53980" args="" -->
113<a class="el" href="structyaml__mark__s.html">yaml_mark_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structyaml__token__s.html#bdc5f4f2059c5a7bfe8e810b49a53980">start_mark</a></td></tr>
114
115<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The beginning of the token. <br></td></tr>
116<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="97f08b38dfb0a5be26ef8831864a5311"></a><!-- doxytag: member="yaml_token_s::end_mark" ref="97f08b38dfb0a5be26ef8831864a5311" args="" -->
117<a class="el" href="structyaml__mark__s.html">yaml_mark_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structyaml__token__s.html#97f08b38dfb0a5be26ef8831864a5311">end_mark</a></td></tr>
118
119<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The end of the token. <br></td></tr>
120</table>
121<hr><a name="_details"></a><h2>Detailed Description</h2>
122The token structure.
123<p>
124<hr>The documentation for this struct was generated from the following file:<ul>
125<li><a class="el" href="yaml_8h.html">yaml.h</a></ul>
126<hr size="1"><address style="align: right;"><small>Generated on Thu May 31 22:50:59 2007 for yaml by&nbsp;
127<a href="http://www.doxygen.org/index.html">
128<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
129</body>
130</html>
Note: See TracBrowser for help on using the repository browser.