Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 7d6ec7e48acc4174ff52fc0ff2a40df4 > files > 1663

antlr3-C-docs-3.4-23.mga4.noarch.rpm

<!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.5"/>
<title>ANTLR3C: src/antlr3exception.c 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="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</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 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.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </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('antlr3exception_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">antlr3exception.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Contains default functions for creating and destroying as well as otherwise handling ANTLR3 standard exception structures.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;<a class="el" href="antlr3exception_8h.html">antlr3exception.h</a>&gt;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for antlr3exception.c:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3exception_8c__incl.png" border="0" usemap="#src_2antlr3exception_8c" alt=""/></div>
<map name="src_2antlr3exception_8c" id="src_2antlr3exception_8c">
<area shape="rect" id="node2" href="antlr3exception_8h.html" title="Contains the definition of a basic ANTLR3 exception structure created by a recognizer when errors are..." alt="" coords="1535,80,1727,107"/><area shape="rect" id="node3" href="antlr3defs_8h.html" title="Basic type and constant definitions for ANTLR3 Runtime. " alt="" coords="1559,155,1701,181"/><area shape="rect" id="node4" href="antlr3errors_8h.html" title="antlr3errors.h" alt="" coords="5,229,168,256"/><area shape="rect" id="node24" href="antlr3interfaces_8h.html" title="Declarations for all the antlr3 C runtime interfaces/classes. " alt="" coords="2900,229,3103,256"/><area shape="rect" id="node25" href="antlr3convertutf_8h.html" title="antlr3convertutf.h" alt="" coords="3127,229,3329,256"/></map>
</div>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a21c30f7a44edd55f154d2cfaafb0fd8a"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3exception_8c.html#a21c30f7a44edd55f154d2cfaafb0fd8a">antlr3ExceptionFree</a> (<a class="el" href="group___a_n_t_l_r3___e_x_c_e_p_t_i_o_n.html#ga71e034bba80bdc564fd0c8d62f2962b5">pANTLR3_EXCEPTION</a> ex)</td></tr>
<tr class="memdesc:a21c30f7a44edd55f154d2cfaafb0fd8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Frees up a chain of ANTLR3 exceptions.  <a href="#a21c30f7a44edd55f154d2cfaafb0fd8a">More...</a><br/></td></tr>
<tr class="separator:a21c30f7a44edd55f154d2cfaafb0fd8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7bf558a3019636d779ebd281ab07450"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group___a_n_t_l_r3___e_x_c_e_p_t_i_o_n.html#ga71e034bba80bdc564fd0c8d62f2962b5">pANTLR3_EXCEPTION</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3exception_8c.html#ad7bf558a3019636d779ebd281ab07450">antlr3ExceptionNew</a> (<a class="el" href="antlr3defs_8h.html#ac41f744abd0fd25144b9eb9d11b1dfd1">ANTLR3_UINT32</a> exception, void *name, void *message, <a class="el" href="antlr3defs_8h.html#a5b33dccbba3b7212539695e21df4079b">ANTLR3_BOOLEAN</a> freeMessage)</td></tr>
<tr class="memdesc:ad7bf558a3019636d779ebd281ab07450"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new ANTLR3 exception structure.  <a href="#ad7bf558a3019636d779ebd281ab07450">More...</a><br/></td></tr>
<tr class="separator:ad7bf558a3019636d779ebd281ab07450"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a193748f2d252beb17b1b0487ca77cb4f"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="antlr3exception_8c.html#a193748f2d252beb17b1b0487ca77cb4f">antlr3ExceptionPrint</a> (<a class="el" href="group___a_n_t_l_r3___e_x_c_e_p_t_i_o_n.html#ga71e034bba80bdc564fd0c8d62f2962b5">pANTLR3_EXCEPTION</a> ex)</td></tr>
<tr class="memdesc:a193748f2d252beb17b1b0487ca77cb4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prints out the message in all the exceptions in the supplied chain.  <a href="#a193748f2d252beb17b1b0487ca77cb4f">More...</a><br/></td></tr>
<tr class="separator:a193748f2d252beb17b1b0487ca77cb4f"><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>Contains default functions for creating and destroying as well as otherwise handling ANTLR3 standard exception structures. </p>
</div><h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a21c30f7a44edd55f154d2cfaafb0fd8a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void antlr3ExceptionFree </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group___a_n_t_l_r3___e_x_c_e_p_t_i_o_n.html#ga71e034bba80bdc564fd0c8d62f2962b5">pANTLR3_EXCEPTION</a>&#160;</td>
          <td class="paramname"><em>ex</em></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>Frees up a chain of ANTLR3 exceptions. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ex</td><td>Pointer to the first exception in the chain to free.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="antlr3exception_8h.html#a64f2b9c31425735f711348bc10bb56e1" title="Base structure for an ANTLR3 exception tracker. ">ANTLR3_EXCEPTION</a> </dd></dl>

<p>References <a class="el" href="antlr3defs_8h.html#a6558340e5762ec9d464c2f5ff70d9b5f">ANTLR3_FREE</a>, <a class="el" href="antlr3errors_8h.html#a8cfcfbce03f3039eb35d87f97105dc1b">ANTLR3_TRUE</a>, <a class="el" href="struct_a_n_t_l_r3___e_x_c_e_p_t_i_o_n__struct.html#aa85c315545a87eea1688b5301ca03b19">ANTLR3_EXCEPTION_struct::custom</a>, <a class="el" href="struct_a_n_t_l_r3___e_x_c_e_p_t_i_o_n__struct.html#a94a8cffe5a17abac24efc432732ccfc4">ANTLR3_EXCEPTION_struct::freeCustom</a>, <a class="el" href="struct_a_n_t_l_r3___e_x_c_e_p_t_i_o_n__struct.html#aee1ea267a1e9432e0d4a8a04591a2735">ANTLR3_EXCEPTION_struct::freeMessage</a>, <a class="el" href="struct_a_n_t_l_r3___e_x_c_e_p_t_i_o_n__struct.html#adc72029eff78016a0d31355db228ade0">ANTLR3_EXCEPTION_struct::message</a>, <a class="el" href="antlr3rewritestreams_8c.html#a92c4d9fcaea24e9f6b4f658711bacc07">next()</a>, and <a class="el" href="struct_a_n_t_l_r3___e_x_c_e_p_t_i_o_n__struct.html#aa10dbef2cfd1b56448e18587e48bbccb">ANTLR3_EXCEPTION_struct::nextException</a>.</p>

<p>Referenced by <a class="el" href="antlr3defs_8h.html#a531349f2d4207f5ac71c35d056676565">antlr3ExceptionNew()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3exception_8c_a21c30f7a44edd55f154d2cfaafb0fd8a_cgraph.png" border="0" usemap="#antlr3exception_8c_a21c30f7a44edd55f154d2cfaafb0fd8a_cgraph" alt=""/></div>
<map name="antlr3exception_8c_a21c30f7a44edd55f154d2cfaafb0fd8a_cgraph" id="antlr3exception_8c_a21c30f7a44edd55f154d2cfaafb0fd8a_cgraph">
<area shape="rect" id="node2" href="antlr3rewritestreams_8c.html#a92c4d9fcaea24e9f6b4f658711bacc07" title="Return the next element in the stream. " alt="" coords="267,5,330,32"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3exception_8c_a21c30f7a44edd55f154d2cfaafb0fd8a_icgraph.png" border="0" usemap="#antlr3exception_8c_a21c30f7a44edd55f154d2cfaafb0fd8a_icgraph" alt=""/></div>
<map name="antlr3exception_8c_a21c30f7a44edd55f154d2cfaafb0fd8a_icgraph" id="antlr3exception_8c_a21c30f7a44edd55f154d2cfaafb0fd8a_icgraph">
<area shape="rect" id="node2" href="antlr3defs_8h.html#a531349f2d4207f5ac71c35d056676565" title="Creates a new ANTLR3 exception structure. " alt="" coords="267,107,469,133"/><area shape="rect" id="node3" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gab2d77cd376112c8ff6ed7353ba78dab7" title="antlr3RecognitionExceptionNew" alt="" coords="517,107,829,133"/><area shape="rect" id="node4" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga974d33def91ba5fb5a6fa8e42c6d876e" title="Creates a new Mismatched Token Exception and inserts in the recognizer exception stack. " alt="" coords="907,5,1130,32"/><area shape="rect" id="node12" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gaf8c302d1762b73b1a80c88ca71210472" title="Factor out what to do upon token mismatch so tree parsers can behave differently. ..." alt="" coords="1273,56,1375,83"/><area shape="rect" id="node13" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga4876d181d8cca1dcee4ebc7b0d313b28" title="Attempt to recover from a single missing or extra token. " alt="" coords="877,107,1160,133"/><area shape="rect" id="node14" href="antlr3lexer_8c.html#a3f121d133cb810a9687aee3089e33be8" title="setCharStream" alt="" coords="1539,157,1691,184"/><area shape="rect" id="node15" href="antlr3defs_8h.html#a9d7fa213a660c2e71f54c324a668e34f" title="Creates a new Mismatched Tree Nde Exception and inserts in the recognizer exception stack..." alt="" coords="1208,208,1440,235"/><area shape="rect" id="node5" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga5b539798327f965e6289a9f613515c9a" title="antlr3BaseRecognizerNew" alt="" coords="1489,56,1741,83"/><area shape="rect" id="node8" href="antlr3defs_8h.html#ae667dafdcef9adc2fceebc8420a7cded" title="antlr3ParserNew" alt="" coords="1839,5,2011,32"/><area shape="rect" id="node6" href="antlr3defs_8h.html#aad5d94a0ad6c1d4788f95debb67cf642" title="antlr3LexerNew" alt="" coords="1844,56,2007,83"/><area shape="rect" id="node11" href="antlr3defs_8h.html#a8a8b2581755eff523fb3d2e427bb9b3f" title="antlr3TreeParserNewStream" alt="" coords="1789,107,2061,133"/><area shape="rect" id="node7" href="antlr3defs_8h.html#acea4b4491be51f1d3f57d4d2836d9d0d" title="antlr3LexerNewStream" alt="" coords="2114,107,2337,133"/><area shape="rect" id="node9" href="antlr3defs_8h.html#abede6d25edd8b3e67f8aa6a5094b6f9c" title="antlr3ParserNewStream" alt="" coords="2109,5,2341,32"/><area shape="rect" id="node10" href="antlr3defs_8h.html#aba8e0e27ff9976bb757191bf45b7d49f" title="antlr3ParserNewStreamDbg" alt="" coords="2390,5,2653,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ad7bf558a3019636d779ebd281ab07450"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group___a_n_t_l_r3___e_x_c_e_p_t_i_o_n.html#ga71e034bba80bdc564fd0c8d62f2962b5">pANTLR3_EXCEPTION</a> antlr3ExceptionNew </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="antlr3defs_8h.html#ac41f744abd0fd25144b9eb9d11b1dfd1">ANTLR3_UINT32</a>&#160;</td>
          <td class="paramname"><em>exception</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>message</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="antlr3defs_8h.html#a5b33dccbba3b7212539695e21df4079b">ANTLR3_BOOLEAN</a>&#160;</td>
          <td class="paramname"><em>freeMessage</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a new ANTLR3 exception structure. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">exception</td><td>One of the ANTLR3_xxx_EXCEPTION indicators such as <a class="el" href="antlr3exception_8h.html#ac7143b1162dc22a4a7ec575162fc7517" title="Indicates that the recognizer received a token in the input that was not predicted. ">ANTLR3_RECOGNITION_EXCEPTION</a></td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">message</td><td>Pointer to message string</td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">freeMessage</td><td>Set to ANTLR3_TRUE if the message parameter should be freed by a call to <a class="el" href="antlr3defs_8h.html#a6558340e5762ec9d464c2f5ff70d9b5f" title="Default definition of ANTLR3_FREE. ">ANTLR3_FREE()</a> when the exception is destroyed.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Pointer to newly initialized exception structure, or an ANTLR3_ERR_xx defined value upon failure.</dd></dl>
<p>An exception is 'thrown' by a recognizer when input is seen that is not predicted by the grammar productions or when some other error condition occurs. In C we do not have the luxury of try and catch blocks, so exceptions are added in the order they occur to a list in the baserecognizer structure. The last one to be thrown is inserted at the head of the list and the one currently installed is pointed to by the newly installed exception.</p>
<dl class="section remark"><dt>Remarks</dt><dd>After an exception is created, you may add a pointer to your own structure and a pointer to a function to free this structure when the exception is destroyed.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="antlr3exception_8h.html#a64f2b9c31425735f711348bc10bb56e1" title="Base structure for an ANTLR3 exception tracker. ">ANTLR3_EXCEPTION</a> </dd></dl>

<p>References <a class="el" href="antlr3defs_8h.html#ab14376fa4b3a6ffe41ba76e897824767">ANTLR3_CALLOC</a>, <a class="el" href="antlr3exception_8c.html#a21c30f7a44edd55f154d2cfaafb0fd8a">antlr3ExceptionFree()</a>, <a class="el" href="antlr3exception_8c.html#a193748f2d252beb17b1b0487ca77cb4f">antlr3ExceptionPrint()</a>, <a class="el" href="struct_a_n_t_l_r3___e_x_c_e_p_t_i_o_n__struct.html#a75c2b86b3a43c5973f82e7e0a19ac4b4">ANTLR3_EXCEPTION_struct::freeEx</a>, <a class="el" href="struct_a_n_t_l_r3___e_x_c_e_p_t_i_o_n__struct.html#aee1ea267a1e9432e0d4a8a04591a2735">ANTLR3_EXCEPTION_struct::freeMessage</a>, <a class="el" href="struct_a_n_t_l_r3___e_x_c_e_p_t_i_o_n__struct.html#adc72029eff78016a0d31355db228ade0">ANTLR3_EXCEPTION_struct::message</a>, <a class="el" href="struct_a_n_t_l_r3___e_x_c_e_p_t_i_o_n__struct.html#a4ea5bbfb664b0b56817c4b0e899190f8">ANTLR3_EXCEPTION_struct::name</a>, <a class="el" href="struct_a_n_t_l_r3___e_x_c_e_p_t_i_o_n__struct.html#a1b5513423bdabac1b5bfd00aa74b7cd0">ANTLR3_EXCEPTION_struct::print</a>, and <a class="el" href="struct_a_n_t_l_r3___e_x_c_e_p_t_i_o_n__struct.html#a3ffd8f9801f34b7168519896061233e1">ANTLR3_EXCEPTION_struct::type</a>.</p>

<p>Referenced by <a class="el" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gab2d77cd376112c8ff6ed7353ba78dab7">antlr3RecognitionExceptionNew()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3exception_8c_ad7bf558a3019636d779ebd281ab07450_cgraph.png" border="0" usemap="#antlr3exception_8c_ad7bf558a3019636d779ebd281ab07450_cgraph" alt=""/></div>
<map name="antlr3exception_8c_ad7bf558a3019636d779ebd281ab07450_cgraph" id="antlr3exception_8c_ad7bf558a3019636d779ebd281ab07450_cgraph">
<area shape="rect" id="node2" href="antlr3exception_8c.html#a21c30f7a44edd55f154d2cfaafb0fd8a" title="Frees up a chain of ANTLR3 exceptions. " alt="" coords="262,5,474,32"/><area shape="rect" id="node4" href="antlr3exception_8c.html#a193748f2d252beb17b1b0487ca77cb4f" title="Prints out the message in all the exceptions in the supplied chain. " alt="" coords="257,56,479,83"/><area shape="rect" id="node3" href="antlr3rewritestreams_8c.html#a92c4d9fcaea24e9f6b4f658711bacc07" title="Return the next element in the stream. " alt="" coords="529,5,591,32"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3exception_8c_ad7bf558a3019636d779ebd281ab07450_icgraph.png" border="0" usemap="#antlr3exception_8c_ad7bf558a3019636d779ebd281ab07450_icgraph" alt=""/></div>
<map name="antlr3exception_8c_ad7bf558a3019636d779ebd281ab07450_icgraph" id="antlr3exception_8c_ad7bf558a3019636d779ebd281ab07450_icgraph">
<area shape="rect" id="node2" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gab2d77cd376112c8ff6ed7353ba78dab7" title="antlr3RecognitionExceptionNew" alt="" coords="256,107,568,133"/><area shape="rect" id="node3" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga974d33def91ba5fb5a6fa8e42c6d876e" title="Creates a new Mismatched Token Exception and inserts in the recognizer exception stack. " alt="" coords="646,5,869,32"/><area shape="rect" id="node11" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gaf8c302d1762b73b1a80c88ca71210472" title="Factor out what to do upon token mismatch so tree parsers can behave differently. ..." alt="" coords="1011,56,1114,83"/><area shape="rect" id="node12" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga4876d181d8cca1dcee4ebc7b0d313b28" title="Attempt to recover from a single missing or extra token. " alt="" coords="616,107,899,133"/><area shape="rect" id="node13" href="antlr3lexer_8c.html#a3f121d133cb810a9687aee3089e33be8" title="setCharStream" alt="" coords="1277,157,1429,184"/><area shape="rect" id="node14" href="antlr3defs_8h.html#a9d7fa213a660c2e71f54c324a668e34f" title="Creates a new Mismatched Tree Nde Exception and inserts in the recognizer exception stack..." alt="" coords="947,208,1179,235"/><area shape="rect" id="node4" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga5b539798327f965e6289a9f613515c9a" title="antlr3BaseRecognizerNew" alt="" coords="1227,56,1479,83"/><area shape="rect" id="node7" href="antlr3defs_8h.html#ae667dafdcef9adc2fceebc8420a7cded" title="antlr3ParserNew" alt="" coords="1578,5,1750,32"/><area shape="rect" id="node5" href="antlr3defs_8h.html#aad5d94a0ad6c1d4788f95debb67cf642" title="antlr3LexerNew" alt="" coords="1583,56,1745,83"/><area shape="rect" id="node10" href="antlr3defs_8h.html#a8a8b2581755eff523fb3d2e427bb9b3f" title="antlr3TreeParserNewStream" alt="" coords="1528,107,1800,133"/><area shape="rect" id="node6" href="antlr3defs_8h.html#acea4b4491be51f1d3f57d4d2836d9d0d" title="antlr3LexerNewStream" alt="" coords="1853,107,2075,133"/><area shape="rect" id="node8" href="antlr3defs_8h.html#abede6d25edd8b3e67f8aa6a5094b6f9c" title="antlr3ParserNewStream" alt="" coords="1848,5,2080,32"/><area shape="rect" id="node9" href="antlr3defs_8h.html#aba8e0e27ff9976bb757191bf45b7d49f" title="antlr3ParserNewStreamDbg" alt="" coords="2129,5,2391,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a193748f2d252beb17b1b0487ca77cb4f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void antlr3ExceptionPrint </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group___a_n_t_l_r3___e_x_c_e_p_t_i_o_n.html#ga71e034bba80bdc564fd0c8d62f2962b5">pANTLR3_EXCEPTION</a>&#160;</td>
          <td class="paramname"><em>ex</em></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>Prints out the message in all the exceptions in the supplied chain. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ex</td><td>Pointer to the exception structure to print.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>You may wish to override this function by installing a pointer to a new function in the base recognizer context structure.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="group___a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gac1374f941ff00f5709ca1e682d9f8e43" title="Base tracking context structure for all types of recognizers. ">ANTLR3_BASE_RECOGNIZER</a> </dd></dl>

<p>References <a class="el" href="antlr3defs_8h.html#a27cc6fe6e2b9ed95c34ccbcf85149361">ANTLR3_FPRINTF</a>, <a class="el" href="struct_a_n_t_l_r3___e_x_c_e_p_t_i_o_n__struct.html#adc72029eff78016a0d31355db228ade0">ANTLR3_EXCEPTION_struct::message</a>, <a class="el" href="struct_a_n_t_l_r3___e_x_c_e_p_t_i_o_n__struct.html#aa10dbef2cfd1b56448e18587e48bbccb">ANTLR3_EXCEPTION_struct::nextException</a>, and <a class="el" href="struct_a_n_t_l_r3___e_x_c_e_p_t_i_o_n__struct.html#a3ffd8f9801f34b7168519896061233e1">ANTLR3_EXCEPTION_struct::type</a>.</p>

<p>Referenced by <a class="el" href="antlr3defs_8h.html#a531349f2d4207f5ac71c35d056676565">antlr3ExceptionNew()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="antlr3exception_8c_a193748f2d252beb17b1b0487ca77cb4f_icgraph.png" border="0" usemap="#antlr3exception_8c_a193748f2d252beb17b1b0487ca77cb4f_icgraph" alt=""/></div>
<map name="antlr3exception_8c_a193748f2d252beb17b1b0487ca77cb4f_icgraph" id="antlr3exception_8c_a193748f2d252beb17b1b0487ca77cb4f_icgraph">
<area shape="rect" id="node2" href="antlr3defs_8h.html#a531349f2d4207f5ac71c35d056676565" title="Creates a new ANTLR3 exception structure. " alt="" coords="277,107,480,133"/><area shape="rect" id="node3" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gab2d77cd376112c8ff6ed7353ba78dab7" title="antlr3RecognitionExceptionNew" alt="" coords="528,107,840,133"/><area shape="rect" id="node4" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga974d33def91ba5fb5a6fa8e42c6d876e" title="Creates a new Mismatched Token Exception and inserts in the recognizer exception stack. " alt="" coords="918,5,1141,32"/><area shape="rect" id="node12" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#gaf8c302d1762b73b1a80c88ca71210472" title="Factor out what to do upon token mismatch so tree parsers can behave differently. ..." alt="" coords="1283,56,1386,83"/><area shape="rect" id="node13" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga4876d181d8cca1dcee4ebc7b0d313b28" title="Attempt to recover from a single missing or extra token. " alt="" coords="888,107,1171,133"/><area shape="rect" id="node14" href="antlr3lexer_8c.html#a3f121d133cb810a9687aee3089e33be8" title="setCharStream" alt="" coords="1549,157,1701,184"/><area shape="rect" id="node15" href="antlr3defs_8h.html#a9d7fa213a660c2e71f54c324a668e34f" title="Creates a new Mismatched Tree Nde Exception and inserts in the recognizer exception stack..." alt="" coords="1219,208,1451,235"/><area shape="rect" id="node5" href="group__p_a_n_t_l_r3___b_a_s_e___r_e_c_o_g_n_i_z_e_r.html#ga5b539798327f965e6289a9f613515c9a" title="antlr3BaseRecognizerNew" alt="" coords="1499,56,1751,83"/><area shape="rect" id="node8" href="antlr3defs_8h.html#ae667dafdcef9adc2fceebc8420a7cded" title="antlr3ParserNew" alt="" coords="1850,5,2022,32"/><area shape="rect" id="node6" href="antlr3defs_8h.html#aad5d94a0ad6c1d4788f95debb67cf642" title="antlr3LexerNew" alt="" coords="1855,56,2017,83"/><area shape="rect" id="node11" href="antlr3defs_8h.html#a8a8b2581755eff523fb3d2e427bb9b3f" title="antlr3TreeParserNewStream" alt="" coords="1800,107,2072,133"/><area shape="rect" id="node7" href="antlr3defs_8h.html#acea4b4491be51f1d3f57d4d2836d9d0d" title="antlr3LexerNewStream" alt="" coords="2125,107,2347,133"/><area shape="rect" id="node9" href="antlr3defs_8h.html#abede6d25edd8b3e67f8aa6a5094b6f9c" title="antlr3ParserNewStream" alt="" coords="2120,5,2352,32"/><area shape="rect" id="node10" href="antlr3defs_8h.html#aba8e0e27ff9976bb757191bf45b7d49f" title="antlr3ParserNewStreamDbg" alt="" coords="2401,5,2663,32"/></map>
</div>
</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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="antlr3exception_8c.html">antlr3exception.c</a></li>
    <li class="footer">Generated on Tue Jan 7 2014 21:45:20 for ANTLR3C by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.5 </li>
  </ul>
</div>
</body>
</html>