/usr/share/doc/jaula/html/classJAULA_1_1Parser_1_1Value__Parser.html is in libjaula-doc 1.4.0-5build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>jaula API Reference: JAULA::Parser::Value_Parser Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">jaula API Reference
 <span id="projectnumber">version 1.4.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classJAULA_1_1Parser_1_1Value__Parser.html','');});
</script>
<div id="doc-content">
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="#pri-types">Private Types</a> |
<a href="#pri-static-methods">Static Private Member Functions</a> </div>
<div class="headertitle">
<div class="title">JAULA::Parser::Value_Parser Class Reference<div class="ingroups"><a class="el" href="group__jaula__parse.html">JAULA: JSON data parser</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p>JSON <a class="el" href="classJAULA_1_1Value.html" title="Base class for handling values. ">Value</a> <a class="el" href="classJAULA_1_1Parser.html" title="JSON Data Parser. ">Parser</a>.
<a href="classJAULA_1_1Parser_1_1Value__Parser.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a5bed90e97045515bfbb27b7bd95c2366"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classJAULA_1_1Parser_1_1Value__Parser.html#a5bed90e97045515bfbb27b7bd95c2366">Value_Parser</a> (void)</td></tr>
<tr class="memdesc:a5bed90e97045515bfbb27b7bd95c2366"><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a href="#a5bed90e97045515bfbb27b7bd95c2366">More...</a><br /></td></tr>
<tr class="separator:a5bed90e97045515bfbb27b7bd95c2366"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa7524b93701f500afea6acc105b3f274"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classJAULA_1_1Parser_1_1Value__Parser.html#aa7524b93701f500afea6acc105b3f274">~Value_Parser</a> (void)</td></tr>
<tr class="memdesc:aa7524b93701f500afea6acc105b3f274"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#aa7524b93701f500afea6acc105b3f274">More...</a><br /></td></tr>
<tr class="separator:aa7524b93701f500afea6acc105b3f274"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a5a2a1f978b794f68ce0bbeb7e2e695ee"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classJAULA_1_1Value.html">Value</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classJAULA_1_1Parser_1_1Value__Parser.html#a5a2a1f978b794f68ce0bbeb7e2e695ee">parseValue</a> (<a class="el" href="classJAULA_1_1Lexan.html">Lexan</a> &lexan, unsigned int token) throw (Exception)</td></tr>
<tr class="memdesc:a5a2a1f978b794f68ce0bbeb7e2e695ee"><td class="mdescLeft"> </td><td class="mdescRight">reads a single JSON value <a href="#a5a2a1f978b794f68ce0bbeb7e2e695ee">More...</a><br /></td></tr>
<tr class="separator:a5a2a1f978b794f68ce0bbeb7e2e695ee"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-types"></a>
Private Types</h2></td></tr>
<tr class="memitem:a366dc338d1feb888b8de6daad983df20"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classJAULA_1_1Parser_1_1Value__Parser.html#a366dc338d1feb888b8de6daad983df20">parser_states</a> { <br />
  <a class="el" href="classJAULA_1_1Parser_1_1Value__Parser.html#a366dc338d1feb888b8de6daad983df20abfb7a1643918a14199028352df2419d3">START</a>,
<a class="el" href="classJAULA_1_1Parser_1_1Value__Parser.html#a366dc338d1feb888b8de6daad983df20a5ee13bc8854e3b7215b9a3f3836cd3f2">array_addItem</a>,
<a class="el" href="classJAULA_1_1Parser_1_1Value__Parser.html#a366dc338d1feb888b8de6daad983df20ac1aa6c57fcf7a5a4f03c6af82d014a9e">array_nextItem</a>,
<a class="el" href="classJAULA_1_1Parser_1_1Value__Parser.html#a366dc338d1feb888b8de6daad983df20ae0a97711b9c3b12b5bf28ff43121812f">error</a>,
<br />
  <a class="el" href="classJAULA_1_1Parser_1_1Value__Parser.html#a366dc338d1feb888b8de6daad983df20aebce9e4f1690c868cbb5e2604fcf0850">false_value</a>,
<a class="el" href="classJAULA_1_1Parser_1_1Value__Parser.html#a366dc338d1feb888b8de6daad983df20a7719644f860e93318363b00b6fd99b7e">null_value</a>,
<a class="el" href="classJAULA_1_1Parser_1_1Value__Parser.html#a366dc338d1feb888b8de6daad983df20aedb1b3d056af80b858493a3ff716ac7c">number_int_value</a>,
<a class="el" href="classJAULA_1_1Parser_1_1Value__Parser.html#a366dc338d1feb888b8de6daad983df20a1f676c7e90534a89b6424f9aedb929c3">number_value</a>,
<br />
  <a class="el" href="classJAULA_1_1Parser_1_1Value__Parser.html#a366dc338d1feb888b8de6daad983df20a0b48ecffa79b8fb7c55a23319627ac23">property_begin</a>,
<a class="el" href="classJAULA_1_1Parser_1_1Value__Parser.html#a366dc338d1feb888b8de6daad983df20a78a422d9cb7233820d9a5cf4905fc535">property_name</a>,
<a class="el" href="classJAULA_1_1Parser_1_1Value__Parser.html#a366dc338d1feb888b8de6daad983df20abfaec35e11b2e5efd23be272fbf4ad19">property_value</a>,
<a class="el" href="classJAULA_1_1Parser_1_1Value__Parser.html#a366dc338d1feb888b8de6daad983df20a1c9b4d78847a1be843e963f3efe6a250">property_next</a>,
<br />
  <a class="el" href="classJAULA_1_1Parser_1_1Value__Parser.html#a366dc338d1feb888b8de6daad983df20a6dd8215d80dc6e7353906c7985427f66">string_value</a>,
<a class="el" href="classJAULA_1_1Parser_1_1Value__Parser.html#a366dc338d1feb888b8de6daad983df20a76f3b2dfe868b980fa654512d3d3cf16">true_value</a>,
<a class="el" href="classJAULA_1_1Parser_1_1Value__Parser.html#a366dc338d1feb888b8de6daad983df20abb853ad99155e70881d201a30f1e1bba">END</a>
<br />
}<tr class="memdesc:a366dc338d1feb888b8de6daad983df20"><td class="mdescLeft"> </td><td class="mdescRight">Enumeration for the parser state machine. <a href="classJAULA_1_1Parser_1_1Value__Parser.html#a366dc338d1feb888b8de6daad983df20">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a366dc338d1feb888b8de6daad983df20"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-methods"></a>
Static Private Member Functions</h2></td></tr>
<tr class="memitem:a44aec82b6f9b4ab649c1b1435ae46946"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classJAULA_1_1Parser_1_1Value__Parser.html#a44aec82b6f9b4ab649c1b1435ae46946">EOFError</a> (<a class="el" href="classJAULA_1_1Lexan.html">Lexan</a> &lexan, <a class="el" href="classJAULA_1_1Syntax__Error.html">Syntax_Error</a> const &ex) throw (Exception)</td></tr>
<tr class="memdesc:a44aec82b6f9b4ab649c1b1435ae46946"><td class="mdescLeft"> </td><td class="mdescRight">Analyzes the reason for an EOF condition. <a href="#a44aec82b6f9b4ab649c1b1435ae46946">More...</a><br /></td></tr>
<tr class="separator:a44aec82b6f9b4ab649c1b1435ae46946"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>JSON <a class="el" href="classJAULA_1_1Value.html" title="Base class for handling values. ">Value</a> <a class="el" href="classJAULA_1_1Parser.html" title="JSON Data Parser. ">Parser</a>. </p>
<dl class="section user"><dt></dt><dd>Parses a value from the input stream.</dd></dl>
<dl class="section author"><dt>Author</dt><dd>Kombo Morongo <a href="#" onclick="location.href='mai'+'lto:'+'mor'+'on'+'go6'+'66'+'@gm'+'ai'+'l.c'+'om'; return false;">moron<span style="display: none;">.nosp@m.</span>go66<span style="display: none;">.nosp@m.</span>6@gma<span style="display: none;">.nosp@m.</span>il.c<span style="display: none;">.nosp@m.</span>om</a> </dd></dl>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="a366dc338d1feb888b8de6daad983df20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a366dc338d1feb888b8de6daad983df20">◆ </a></span>parser_states</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">enum <a class="el" href="classJAULA_1_1Parser_1_1Value__Parser.html#a366dc338d1feb888b8de6daad983df20">JAULA::Parser::Value_Parser::parser_states</a></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Enumeration for the parser state machine. </p>
<dl class="section user"><dt>Description</dt><dd>This type defines a constant for each state that the parser may assume during the process. </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="a366dc338d1feb888b8de6daad983df20abfb7a1643918a14199028352df2419d3"></a>START </td><td class="fielddoc"><p>initial state </p>
</td></tr>
<tr><td class="fieldname"><a id="a366dc338d1feb888b8de6daad983df20a5ee13bc8854e3b7215b9a3f3836cd3f2"></a>array_addItem </td><td class="fielddoc"><p>a new item for an array has been read </p>
</td></tr>
<tr><td class="fieldname"><a id="a366dc338d1feb888b8de6daad983df20ac1aa6c57fcf7a5a4f03c6af82d014a9e"></a>array_nextItem </td><td class="fielddoc"><p>an inter-item delimiter for an array has been read </p>
</td></tr>
<tr><td class="fieldname"><a id="a366dc338d1feb888b8de6daad983df20ae0a97711b9c3b12b5bf28ff43121812f"></a>error </td><td class="fielddoc"><p>error condition detected (pseudostate that launches an exception terminating the process) </p>
</td></tr>
<tr><td class="fieldname"><a id="a366dc338d1feb888b8de6daad983df20aebce9e4f1690c868cbb5e2604fcf0850"></a>false_value </td><td class="fielddoc"><p>a boolean false value constant has been read (pseudostate) </p>
</td></tr>
<tr><td class="fieldname"><a id="a366dc338d1feb888b8de6daad983df20a7719644f860e93318363b00b6fd99b7e"></a>null_value </td><td class="fielddoc"><p>a null value constant has been read (pseudostate) </p>
</td></tr>
<tr><td class="fieldname"><a id="a366dc338d1feb888b8de6daad983df20aedb1b3d056af80b858493a3ff716ac7c"></a>number_int_value </td><td class="fielddoc"><p>a numeric (integer) value has been read (pseudostate) </p>
</td></tr>
<tr><td class="fieldname"><a id="a366dc338d1feb888b8de6daad983df20a1f676c7e90534a89b6424f9aedb929c3"></a>number_value </td><td class="fielddoc"><p>a numeric (float) value has been read (pseudostate) </p>
</td></tr>
<tr><td class="fieldname"><a id="a366dc338d1feb888b8de6daad983df20a0b48ecffa79b8fb7c55a23319627ac23"></a>property_begin </td><td class="fielddoc"><p>an object initial delimiter has been read </p>
</td></tr>
<tr><td class="fieldname"><a id="a366dc338d1feb888b8de6daad983df20a78a422d9cb7233820d9a5cf4905fc535"></a>property_name </td><td class="fielddoc"><p>an object property name has been read </p>
</td></tr>
<tr><td class="fieldname"><a id="a366dc338d1feb888b8de6daad983df20abfaec35e11b2e5efd23be272fbf4ad19"></a>property_value </td><td class="fielddoc"><p>an object property delimiter has been read </p>
</td></tr>
<tr><td class="fieldname"><a id="a366dc338d1feb888b8de6daad983df20a1c9b4d78847a1be843e963f3efe6a250"></a>property_next </td><td class="fielddoc"><p>an inter-property delimiter for an object has been read </p>
</td></tr>
<tr><td class="fieldname"><a id="a366dc338d1feb888b8de6daad983df20a6dd8215d80dc6e7353906c7985427f66"></a>string_value </td><td class="fielddoc"><p>a string value has been read (pseudostate) </p>
</td></tr>
<tr><td class="fieldname"><a id="a366dc338d1feb888b8de6daad983df20a76f3b2dfe868b980fa654512d3d3cf16"></a>true_value </td><td class="fielddoc"><p>a boolean true value constant has been read (pseudostate) </p>
</td></tr>
<tr><td class="fieldname"><a id="a366dc338d1feb888b8de6daad983df20abb853ad99155e70881d201a30f1e1bba"></a>END </td><td class="fielddoc"><p>final state (pseudostate) </p>
</td></tr>
</table>
</div>
</div>
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a5bed90e97045515bfbb27b7bd95c2366"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5bed90e97045515bfbb27b7bd95c2366">◆ </a></span>Value_Parser()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">JAULA::Parser::Value_Parser::Value_Parser </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor. </p>
</div>
</div>
<a id="aa7524b93701f500afea6acc105b3f274"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7524b93701f500afea6acc105b3f274">◆ </a></span>~Value_Parser()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">JAULA::Parser::Value_Parser::~Value_Parser </td>
<td>(</td>
<td class="paramtype">void </td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Destructor. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a44aec82b6f9b4ab649c1b1435ae46946"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a44aec82b6f9b4ab649c1b1435ae46946">◆ </a></span>EOFError()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void JAULA::Parser::Value_Parser::EOFError </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classJAULA_1_1Lexan.html">Lexan</a> & </td>
<td class="paramname"><em>lexan</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classJAULA_1_1Syntax__Error.html">Syntax_Error</a> const & </td>
<td class="paramname"><em>ex</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
<tr>
<td align="right">throw </td><td>(</td><td colspan="2"><a class="el" href="classJAULA_1_1Exception.html">Exception</a></td>
</tr>
<tr>
<td align="right"></td><td>)</td><td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Analyzes the reason for an EOF condition. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">lexan</td><td>Reference to the lexical analysis instance that reads from the input.</td></tr>
<tr><td class="paramname">ex</td><td>Syntax error to be thrown detailing why an EOF at this point is an error.</td></tr>
</table>
</dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classJAULA_1_1Exception.html" title="Base class for error handling exceptions. ">Exception</a></td><td>As a result of the execution of this method an exception is thrown with the data conatined in the input parameter or with a JAULA::LEXAN_ERROR type if the EOF is due to an error in the lexical analysis phase.</td></tr>
</table>
</dd>
</dl>
<dl class="section user"><dt>Description</dt><dd>This method is to be launched whenever an unexpected end of file is encountered. Its implementation includes analyzing if the EOF condition is real or a side effect from a lexical analysis error and chooses to send the <a class="el" href="classJAULA_1_1Lexan.html#af199e41cdb2ef2fd75df4c3e95ae1e26" title="Error report. ">Lexan::LexerError</a> <a class="el" href="classJAULA_1_1Exception.html" title="Base class for error handling exceptions. ">Exception</a> or the one received in the input parameter based on this. </dd></dl>
<p class="reference">References <a class="el" href="classJAULA_1_1Exception.html#a5a8a30a5c52dbda332d7a6cee79a7476">JAULA::Exception::addOrigin()</a>.</p>
</div>
</div>
<a id="a5a2a1f978b794f68ce0bbeb7e2e695ee"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a2a1f978b794f68ce0bbeb7e2e695ee">◆ </a></span>parseValue()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classJAULA_1_1Value.html">Value</a> * JAULA::Parser::Value_Parser::parseValue </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classJAULA_1_1Lexan.html">Lexan</a> & </td>
<td class="paramname"><em>lexan</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned int </td>
<td class="paramname"><em>token</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
<tr>
<td align="right">throw </td><td>(</td><td colspan="2"><a class="el" href="classJAULA_1_1Exception.html">Exception</a></td>
</tr>
<tr>
<td align="right"></td><td>)</td><td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>reads a single JSON value </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">lexan</td><td>Reference to the lexical analysis instance that reads from the input.</td></tr>
<tr><td class="paramname">token</td><td>Token read from the upper level.<ul>
<li>If this token does not belong to an starting value token, an error condition will arise.</li>
</ul>
</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a pointer to memory taken from the heap containing the value read. If this value belongs to a complex type, all the items that it contains have been recursively parsed.</dd></dl>
<dl class="exception"><dt>Exceptions</dt><dd>
<table class="exception">
<tr><td class="paramname"><a class="el" href="classJAULA_1_1Exception.html" title="Base class for error handling exceptions. ">Exception</a></td><td>An exception will be thrown as soon as a lexical or syntax error is found analyzing the stream. The result of printing the exception retrurned through a stream is a human readable text explaining the error found and an approximation of the error line where it occurred.</td></tr>
</table>
</dd>
</dl>
<dl class="section user"><dt>Description</dt><dd>This method fully reads a whole value from the input or until a syntax or lexical error is found. Upon execution input stream is positioned so that a new token or EOF can be read from the input. </dd></dl>
<p class="reference">References <a class="el" href="classJAULA_1_1Exception.html#a5a8a30a5c52dbda332d7a6cee79a7476">JAULA::Exception::addOrigin()</a>, and <a class="el" href="classJAULA_1_1Value__String.html#a0effa17b5660c2f4b1396213824919d2">JAULA::Value_String::getData()</a>.</p>
<p class="reference">Referenced by <a class="el" href="classJAULA_1_1Parser.html#a24cecaf6c3836a5036603dc9b079e4f9">JAULA::Parser::parseStream()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="jaula__parse_8h_source.html">jaula_parse.h</a></li>
<li>jaula_parse.cc</li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- svn info -->
<!-- $Author: morongo $ -->
<!-- $Date: 2009-01-11 17:17:03 +0100 (dom, 11 ene 2009) $ -->
<!-- $HeadURL: https://jaula.svn.sourceforge.net/svnroot/jaula/tags/jaula-1.4.0/doc/api_footer.html $ -->
<!-- $Revision: 45 $ -->
<div>
<p><hr/></p>
<p style="text-align : center;"><a
href="http://morongo.homelinux.net/jaula/docs"
target="_parent"
title="JAULA Project Documentation Page">Back to
<acronym title="JSON Analysis User Library Acronym">JAULA</acronym>
Project Documentation Page</a>.</p>
<p style="text-align : center;"><a
href="http://morongo.homelinux.net/jaula"
target="_parent"
title="JAULA Project Home Page">Go to
<acronym title="JSON Analysis User Library Acronym">JAULA</acronym>
Project Home Page</a>.</p>
</div>
<div>
<p><hr/></p>
<p>Copyright (c) 2007, 2008, 2009 <a href="http://sourceforge.net/users/morongo"
target="_parent" title="Morongo at SourceForge">Kombo Morongo</a>.</p>
<p>Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled <a
href="main.html" target="_parent"
>"GNU Free Documentation License"</a>.</p>
<!--<div style="float : left; width : 250px; margin-right : 5px;">-->
<div style="float : left;">
<address style="text-align: center;"><p><small>API Reference Generated for jaula by
</small></p></address>
<div style="width : 100px; margin-left: auto; margin-right : auto;">
<a href="http://www.doxygen.org/index.html" target="_parent"
><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a>
</div>
</div>
<!--<div style="float : right; width : 150px; margin-left : 5px;">-->
<div style="float : right;">
<address style="text-align: center;"><p><small>jaula project hosted by
</small></p></address>
<div style="width: 125px; margin-left: auto; margin-right : auto;">
<a href="http://sourceforge.net" target="_parent"
>SourceForge.net</a>
</div>
</div>
</div>
<!-- $Id: api_footer.html 45 2009-01-11 16:17:03Z morongo $ -->
|