<!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/antlr3basetree.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&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  <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&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&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('antlr3basetree_8h.html','');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#nested-classes">Data Structures</a> | <a href="#typedef-members">Typedefs</a> </div> <div class="headertitle"> <div class="title">antlr3basetree.h File Reference</div> </div> </div><!--header--> <div class="contents"> <p>Definition of the ANTLR3 base tree. <a href="#details">More...</a></p> <div class="textblock"><code>#include <<a class="el" href="antlr3defs_8h.html">antlr3defs.h</a>></code><br /> <code>#include <<a class="el" href="antlr3collections_8h.html">antlr3collections.h</a>></code><br /> <code>#include <<a class="el" href="antlr3string_8h.html">antlr3string.h</a>></code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for antlr3basetree.h:</div> <div class="dyncontent"> <div class="center"><img src="antlr3basetree_8h__incl.png" border="0" usemap="#include_2antlr3basetree_8h" alt=""/></div> <map name="include_2antlr3basetree_8h" id="include_2antlr3basetree_8h"> <area shape="rect" title="Definition of the ANTLR3 base tree." alt="" coords="1097,5,1268,32"/> <area shape="rect" href="antlr3defs_8h.html" title="Basic type and constant definitions for ANTLR3 Runtime." alt="" coords="1142,304,1239,331"/> <area shape="rect" href="antlr3collections_8h.html" title=" " alt="" coords="1153,155,1289,181"/> <area shape="rect" href="antlr3string_8h.html" title="Simple string interface allows indiscriminate allocation of strings such that they can be allocated a..." alt="" coords="1220,80,1327,107"/> <area shape="rect" href="antlr3errors_8h.html" title=" " alt="" coords="5,379,112,405"/> <area shape="rect" title=" " alt="" coords="136,379,245,405"/> <area shape="rect" title=" " alt="" coords="269,379,333,405"/> <area shape="rect" title=" " alt="" coords="357,379,427,405"/> <area shape="rect" title=" " alt="" coords="451,379,541,405"/> <area shape="rect" title=" " alt="" coords="565,379,645,405"/> <area shape="rect" title=" " alt="" coords="670,379,738,405"/> <area shape="rect" title=" " alt="" coords="762,379,835,405"/> <area shape="rect" title=" " alt="" coords="859,379,933,405"/> <area shape="rect" title=" " alt="" coords="957,379,1027,405"/> <area shape="rect" title=" " alt="" coords="1051,379,1125,405"/> <area shape="rect" title=" " alt="" coords="1149,379,1232,405"/> <area shape="rect" title=" " alt="" coords="1257,379,1327,405"/> <area shape="rect" title=" " alt="" coords="1352,379,1445,405"/> <area shape="rect" title=" " alt="" coords="1469,379,1565,405"/> <area shape="rect" title=" " alt="" coords="1589,379,1691,405"/> <area shape="rect" title=" " alt="" coords="1715,379,1834,405"/> <area shape="rect" title=" " alt="" coords="1858,379,1929,405"/> <area shape="rect" title=" " alt="" coords="1953,379,2028,405"/> <area shape="rect" title=" " alt="" coords="2052,379,2119,405"/> <area shape="rect" href="antlr3interfaces_8h.html" title="Declarations for all the antlr3 C runtime interfaces/classes." alt="" coords="2143,379,2273,405"/> <area shape="rect" href="antlr3convertutf_8h.html" title=" " alt="" coords="2297,379,2431,405"/> <area shape="rect" href="antlr3bitset_8h.html" title="Defines the basic structures of an ANTLR3 bitset." alt="" coords="1183,229,1289,256"/> </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="antlr3basetree_8h__dep__incl.png" border="0" usemap="#include_2antlr3basetree_8hdep" alt=""/></div> <map name="include_2antlr3basetree_8hdep" id="include_2antlr3basetree_8hdep"> <area shape="rect" title="Definition of the ANTLR3 base tree." alt="" coords="1041,5,1212,32"/> <area shape="rect" href="antlr3basetree_8c.html" title=" " alt="" coords="791,80,934,107"/> <area shape="rect" href="antlr3basetreeadaptor_8h.html" title="Definition of the ANTLR3 base tree adaptor." alt="" coords="1317,155,1536,181"/> <area shape="rect" href="antlr3commontree_8h.html" title=" " alt="" coords="596,155,793,181"/> <area shape="rect" href="antlr3debugeventlistener_8h.html" title="The definition of all debugging events that a recognizer can trigger." alt="" coords="1009,80,1244,107"/> <area shape="rect" href="antlr3parsetree_8h.html" title="Abstraction of Common tree to provide payload and string representation of node." alt="" coords="1319,80,1495,107"/> <area shape="rect" href="antlr3basetreeadaptor_8c.html" title="Contains the base functions that all tree adaptors start with." alt="" coords="1325,229,1515,256"/> <area shape="rect" href="antlr3_8h.html" title=" " alt="" coords="962,528,1081,555"/> <area shape="rect" href="antlr3commontreeadaptor_8h.html" title="Definition of the ANTLR3 common tree adaptor." alt="" coords="1004,229,1249,256"/> <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="546,603,702,629"/> <area shape="rect" href="antlr3commontoken_8c.html" title=" " alt="" coords="726,603,906,629"/> <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="930,603,1113,629"/> <area shape="rect" href="antlr3encodings_8c.html" title=" " alt="" coords="1137,603,1290,629"/> <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="1315,603,1467,629"/> <area shape="rect" href="antlr3commontreeadaptor_8c.html" title="This is the standard tree adaptor used by the C runtime unless the grammar source file says to use an..." alt="" coords="1191,304,1409,331"/> <area shape="rect" href="antlr3commontreenodestream_8h.html" title="Definition of the ANTLR3 common tree node stream." alt="" coords="510,304,781,331"/> <area shape="rect" href="antlr3rewritestreams_8h.html" title=" " alt="" coords="1069,453,1278,480"/> <area shape="rect" href="antlr3commontreenodestream_8c.html" title="Defines the implementation of the common node stream the default tree node stream used by ANTLR." alt="" coords="273,379,516,405"/> <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="540,379,751,405"/> <area shape="rect" href="antlr3treeparser_8h.html" title=" " alt="" coords="5,453,187,480"/> <area shape="rect" href="antlr3baserecognizer_8c.html" title="Contains the base functions that all recognizers require." alt="" coords="587,453,770,480"/> <area shape="rect" href="antlr3cyclicdfa_8h.html" title=" " alt="" coords="211,453,381,480"/> <area shape="rect" href="antlr3lexer_8h.html" title="Base interface for any ANTLR3 lexer." alt="" coords="794,453,942,480"/> <area shape="rect" href="antlr3parser_8h.html" title="Base implementation of an ANTLR3 parser." alt="" coords="405,453,563,480"/> <area shape="rect" href="antlr3cyclicdfa_8c.html" title=" " alt="" coords="225,528,367,555"/> <area shape="rect" href="antlr3lexer_8c.html" title="Base implementation of an antlr 3 lexer." alt="" coords="808,528,928,555"/> <area shape="rect" href="antlr3parser_8c.html" title="Implementation of the base functionality for an ANTLR3 parser." alt="" coords="419,528,549,555"/> <area shape="rect" href="antlr3rewritestreams_8c.html" title="Implementation of token/tree streams that are used by the tree re-write rules to manipulate the token..." alt="" coords="1105,528,1287,555"/> <area shape="rect" href="antlr3treeparser_8c.html" title="Implementation of the tree parser and overrides for the base recognizer." alt="" coords="19,528,173,555"/> <area shape="rect" href="antlr3commontree_8c.html" title=" " alt="" coords="487,229,657,256"/> <area shape="rect" href="antlr3tokenstream_8h.html" title="Defines the interface for an ANTLR3 common token stream." alt="" coords="869,304,1065,331"/> <area shape="rect" href="antlr3tokenstream_8c.html" title="Default implementation of CommonTokenStream." alt="" coords="775,379,943,405"/> </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  </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e__struct.html">ANTLR3_BASE_TREE_struct</a></td></tr> <tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">A generic tree implementation with no payload. <a href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e__struct.html#details">More...</a><br /></td></tr> <tr class="separator:"><td class="memSeparator" colspan="2"> </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:a7b4311ecc7fa341cd6211cac3236738f"><td class="memItemLeft" align="right" valign="top">typedef struct <a class="el" href="struct_a_n_t_l_r3___b_a_s_e___t_r_e_e__struct.html">ANTLR3_BASE_TREE_struct</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3basetree_8h.html#a7b4311ecc7fa341cd6211cac3236738f">ANTLR3_BASE_TREE</a></td></tr> <tr class="memdesc:a7b4311ecc7fa341cd6211cac3236738f"><td class="mdescLeft"> </td><td class="mdescRight">A generic tree implementation with no payload. <a href="#a7b4311ecc7fa341cd6211cac3236738f">More...</a><br /></td></tr> <tr class="separator:a7b4311ecc7fa341cd6211cac3236738f"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Definition of the ANTLR3 base tree. </p> </div><h2 class="groupheader">Typedef Documentation</h2> <a id="a7b4311ecc7fa341cd6211cac3236738f"></a> <h2 class="memtitle"><span class="permalink"><a href="#a7b4311ecc7fa341cd6211cac3236738f">◆ </a></span>ANTLR3_BASE_TREE</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___b_a_s_e___t_r_e_e__struct.html">ANTLR3_BASE_TREE_struct</a> <a class="el" href="antlr3basetree_8h.html#a7b4311ecc7fa341cd6211cac3236738f">ANTLR3_BASE_TREE</a></td> </tr> </table> </div><div class="memdoc"> <p>A generic tree implementation with no payload. </p> <p>You must subclass to actually have any user data. ANTLR v3 uses a list of children approach instead of the child-sibling approach in v2. A flat tree (a list) is an empty node whose children represent the list. An empty (as in it does not have payload itself), but non-null node is called "nil". </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="antlr3basetree_8h.html">antlr3basetree.h</a></li> <li class="footer">Generated on Fri May 3 2019 05:59:09 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>