Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-release > by-pkgid > 058bd62f54850fdc6f0231b268975025 > files > 2163

antlr3-C-docs-3.4-17.mga7.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ANTLR3C: include/antlr3recognizersharedstate.h File 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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</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">ANTLR3C
   &#160;<span id="projectnumber">3.3.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','Search');
});
/* @license-end */</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">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('antlr3recognizersharedstate_8h.html','');});
/* @license-end */
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#typedef-members">Typedefs</a>  </div>
  <div class="headertitle">
<div class="title">antlr3recognizersharedstate.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>While the C runtime does not need to model the state of multiple lexers and parsers in the same way as the Java runtime does it is no overhead to reflect that model.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;<a class="el" href="antlr3defs_8h.html">antlr3defs.h</a>&gt;</code><br />
</div><div class="textblock"><div class="dynheader">
Include dependency graph for antlr3recognizersharedstate.h:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3recognizersharedstate_8h__incl.png" border="0" usemap="#include_2antlr3recognizersharedstate_8h" alt=""/></div>
<map name="include_2antlr3recognizersharedstate_8h" id="include_2antlr3recognizersharedstate_8h">
<area shape="rect"  title="While the C runtime does not need to model the state of multiple lexers and parsers in the same way a..." alt="" coords="1064,5,1317,32"/>
<area shape="rect"  href="antlr3defs_8h.html" title="Basic type and constant definitions for ANTLR3 Runtime." alt="" coords="1142,80,1239,107"/>
<area shape="rect"  href="antlr3errors_8h.html" title=" " alt="" coords="5,155,112,181"/>
<area shape="rect"  title=" " alt="" coords="136,155,245,181"/>
<area shape="rect"  title=" " alt="" coords="269,155,333,181"/>
<area shape="rect"  title=" " alt="" coords="357,155,427,181"/>
<area shape="rect"  title=" " alt="" coords="451,155,541,181"/>
<area shape="rect"  title=" " alt="" coords="565,155,645,181"/>
<area shape="rect"  title=" " alt="" coords="670,155,738,181"/>
<area shape="rect"  title=" " alt="" coords="762,155,835,181"/>
<area shape="rect"  title=" " alt="" coords="859,155,933,181"/>
<area shape="rect"  title=" " alt="" coords="957,155,1027,181"/>
<area shape="rect"  title=" " alt="" coords="1051,155,1125,181"/>
<area shape="rect"  title=" " alt="" coords="1149,155,1232,181"/>
<area shape="rect"  title=" " alt="" coords="1257,155,1327,181"/>
<area shape="rect"  title=" " alt="" coords="1352,155,1445,181"/>
<area shape="rect"  title=" " alt="" coords="1469,155,1565,181"/>
<area shape="rect"  title=" " alt="" coords="1589,155,1691,181"/>
<area shape="rect"  title=" " alt="" coords="1715,155,1834,181"/>
<area shape="rect"  title=" " alt="" coords="1858,155,1929,181"/>
<area shape="rect"  title=" " alt="" coords="1953,155,2028,181"/>
<area shape="rect"  title=" " alt="" coords="2052,155,2119,181"/>
<area shape="rect"  href="antlr3interfaces_8h.html" title="Declarations for all the antlr3 C runtime interfaces/classes." alt="" coords="2143,155,2273,181"/>
<area shape="rect"  href="antlr3convertutf_8h.html" title=" " alt="" coords="2297,155,2431,181"/>
</map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3recognizersharedstate_8h__dep__incl.png" border="0" usemap="#include_2antlr3recognizersharedstate_8hdep" alt=""/></div>
<map name="include_2antlr3recognizersharedstate_8hdep" id="include_2antlr3recognizersharedstate_8hdep">
<area shape="rect"  title="While the C runtime does not need to model the state of multiple lexers and parsers in the same way a..." alt="" coords="365,5,618,32"/>
<area shape="rect"  href="antlr3_8h.html" title=" " alt="" coords="421,229,540,256"/>
<area shape="rect"  href="antlr3baserecognizer_8h.html" title="Defines the basic structure to support recognizing by either a lexer, parser, or tree parser." alt="" coords="786,80,997,107"/>
<area shape="rect"  href="antlr3collections_8c.html" title="Provides a number of useful functions that are roughly equivalent to java HashTable and List for the ..." alt="" coords="5,304,161,331"/>
<area shape="rect"  href="antlr3commontoken_8c.html" title=" " alt="" coords="185,304,365,331"/>
<area shape="rect"  href="antlr3debughandlers_8c.html" title="Provides the debugging functions invoked by a recognizer built using the debug generator mode of the ..." alt="" coords="389,304,572,331"/>
<area shape="rect"  href="antlr3encodings_8c.html" title=" " alt="" coords="596,304,749,331"/>
<area shape="rect"  href="antlr3filestream_8c.html" title="The ANTLR3 C filestream is used when the source character stream is a filesystem based input set and ..." alt="" coords="774,304,926,331"/>
<area shape="rect"  href="antlr3baserecognizer_8c.html" title="Contains the base functions that all recognizers require." alt="" coords="415,155,597,181"/>
<area shape="rect"  href="antlr3cyclicdfa_8h.html" title=" " alt="" coords="622,155,793,181"/>
<area shape="rect"  href="antlr3lexer_8h.html" title="Base interface for any ANTLR3 lexer." alt="" coords="817,155,965,181"/>
<area shape="rect"  href="antlr3parser_8h.html" title="Base implementation of an ANTLR3 parser." alt="" coords="990,155,1147,181"/>
<area shape="rect"  href="antlr3rewritestreams_8h.html" title=" " alt="" coords="129,155,339,181"/>
<area shape="rect"  href="antlr3treeparser_8h.html" title=" " alt="" coords="1171,155,1353,181"/>
<area shape="rect"  href="antlr3cyclicdfa_8c.html" title=" " alt="" coords="636,229,779,256"/>
<area shape="rect"  href="antlr3lexer_8c.html" title="Base implementation of an antlr 3 lexer." alt="" coords="831,229,951,256"/>
<area shape="rect"  href="antlr3parser_8c.html" title="Implementation of the base functionality for an ANTLR3 parser." alt="" coords="1004,229,1133,256"/>
<area shape="rect"  href="antlr3rewritestreams_8c.html" title="Implementation of token/tree streams that are used by the tree re&#45;write rules to manipulate the token..." alt="" coords="143,229,325,256"/>
<area shape="rect"  href="antlr3treeparser_8c.html" title="Implementation of the tree parser and overrides for the base recognizer." alt="" coords="1185,229,1339,256"/>
</map>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_a_n_t_l_r3___r_e_c_o_g_n_i_z_e_r___s_h_a_r_e_d___s_t_a_t_e__struct.html">ANTLR3_RECOGNIZER_SHARED_STATE_struct</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">All the data elements required to track the current state of any recognizer (lexer, parser, tree parser).  <a href="struct_a_n_t_l_r3___r_e_c_o_g_n_i_z_e_r___s_h_a_r_e_d___s_t_a_t_e__struct.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a4a7c7aca60156948067f83a35ffed61e"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct_a_n_t_l_r3___r_e_c_o_g_n_i_z_e_r___s_h_a_r_e_d___s_t_a_t_e__struct.html">ANTLR3_RECOGNIZER_SHARED_STATE_struct</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3recognizersharedstate_8h.html#a4a7c7aca60156948067f83a35ffed61e">ANTLR3_RECOGNIZER_SHARED_STATE</a></td></tr>
<tr class="memdesc:a4a7c7aca60156948067f83a35ffed61e"><td class="mdescLeft">&#160;</td><td class="mdescRight">All the data elements required to track the current state of any recognizer (lexer, parser, tree parser).  <a href="#a4a7c7aca60156948067f83a35ffed61e">More...</a><br /></td></tr>
<tr class="separator:a4a7c7aca60156948067f83a35ffed61e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>While the C runtime does not need to model the state of multiple lexers and parsers in the same way as the Java runtime does it is no overhead to reflect that model. </p>
<p>In fact the C runtime has always been able to share recognizer state.</p>
<p>This 'class' therefore defines all the elements of a recognizer (either lexer, parser or tree parser) that are need to track the current recognition state. Multiple recognizers may then share this state, for instance when one grammar imports another. </p>
</div><h2 class="groupheader">Typedef Documentation</h2>
<a id="a4a7c7aca60156948067f83a35ffed61e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a7c7aca60156948067f83a35ffed61e">&#9670;&nbsp;</a></span>ANTLR3_RECOGNIZER_SHARED_STATE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct <a class="el" href="struct_a_n_t_l_r3___r_e_c_o_g_n_i_z_e_r___s_h_a_r_e_d___s_t_a_t_e__struct.html">ANTLR3_RECOGNIZER_SHARED_STATE_struct</a>
	 <a class="el" href="antlr3recognizersharedstate_8h.html#a4a7c7aca60156948067f83a35ffed61e">ANTLR3_RECOGNIZER_SHARED_STATE</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>All the data elements required to track the current state of any recognizer (lexer, parser, tree parser). </p>
<p>May be share between multiple recognizers such that grammar inheritance is easily supported. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="antlr3recognizersharedstate_8h.html">antlr3recognizersharedstate.h</a></li>
    <li class="footer">Generated on Fri May 3 2019 05:59:10 for ANTLR3C by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
  </ul>
</div>
</body>
</html>