<!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.14"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>ANTLR Support Libraries 2.7.1+: antlr/SemanticException.hpp Source File</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="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/searchdata.js"></script> <script type="text/javascript" src="search/search.js"></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">ANTLR Support Libraries 2.7.1+ </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.14 --> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ var searchBox = new SearchBox("searchBox", "search",false,'Search'); /* @license-end */ </script> <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('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); /* @license-end */</script> <div id="main-nav"></div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> </div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_9c8e8911af73f67dde8725dfb433f447.html">antlr</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">SemanticException.hpp</div> </div> </div><!--header--> <div class="contents"> <a href="SemanticException_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#ifndef INC_SemanticException_hpp__</span></div><div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#define INC_SemanticException_hpp__</span></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> </div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">/* ANTLR Translator Generator</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Project led by Terence Parr at http://www.jGuru.com</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * Software rights: http://www.antlr.org/license.html</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> *</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * $Id: //depot/code/org.antlr/release/antlr-2.7.7/lib/cpp/antlr/SemanticException.hpp#2 $</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> */</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> </div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="preprocessor">#include <<a class="code" href="config_8hpp.html">antlr/config.hpp</a>></span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="preprocessor">#include <<a class="code" href="RecognitionException_8hpp.html">antlr/RecognitionException.hpp</a>></span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> </div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="keyword">namespace </span><a class="code" href="namespaceantlr.html">antlr</a> {</div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="classSemanticException.html"> 18</a></span> <span class="keyword">class </span><a class="code" href="config_8hpp.html#ad583892c7af76867441115e41aa1ce52">ANTLR_API</a> <a class="code" href="classSemanticException.html">SemanticException</a> : <span class="keyword">public</span> <a class="code" href="classRecognitionException.html">RecognitionException</a> {</div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="classSemanticException.html#ac5ef9953deb5ca712ee035346dac447d"> 20</a></span>  <a class="code" href="classSemanticException.html#ac5ef9953deb5ca712ee035346dac447d">SemanticException</a>(<span class="keyword">const</span> <a class="code" href="config_8hpp.html#ad1e4025d0db4046e6e85a46c92b7ff77">ANTLR_USE_NAMESPACE</a>(<a class="code" href="namespacestd.html">std</a>)<span class="keywordtype">string</span>& s)</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  : <a class="code" href="classRecognitionException.html">RecognitionException</a>(s)</div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  {</div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  }</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="classSemanticException.html#afc1bcd239a161793bc373f3f975d66c5"> 24</a></span>  <a class="code" href="classSemanticException.html#afc1bcd239a161793bc373f3f975d66c5">SemanticException</a>(<span class="keyword">const</span> <a class="code" href="config_8hpp.html#ad1e4025d0db4046e6e85a46c92b7ff77">ANTLR_USE_NAMESPACE</a>(<a class="code" href="namespacestd.html">std</a>)<span class="keywordtype">string</span>& s,</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keyword">const</span> <a class="code" href="config_8hpp.html#ad1e4025d0db4046e6e85a46c92b7ff77">ANTLR_USE_NAMESPACE</a>(<a class="code" href="namespacestd.html">std</a>)<span class="keywordtype">string</span>& fileName_,</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="keywordtype">int</span> line_,<span class="keywordtype">int</span> column_)</div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  : <a class="code" href="classRecognitionException.html">RecognitionException</a>(s,fileName_,line_,column_)</div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  {</div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  }</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classSemanticException.html#a3a9b338a1387e02c2bd7951a2d1ff165"> 31</a></span>  <a class="code" href="classSemanticException.html#a3a9b338a1387e02c2bd7951a2d1ff165">~SemanticException</a>() throw()</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  {</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  }</div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> };</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="preprocessor">#ifdef ANTLR_CXX_SUPPORTS_NAMESPACE</span></div><div class="line"><a name="l00037"></a><span class="lineno"> 37</span> }</div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="preprocessor">#endif</span></div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div><div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor">#endif //INC_SemanticException_hpp__</span></div><div class="ttc" id="namespaceantlr_html"><div class="ttname"><a href="namespaceantlr.html">antlr</a></div><div class="ttdef"><b>Definition:</b> ANTLRException.hpp:15</div></div> <div class="ttc" id="classSemanticException_html_a3a9b338a1387e02c2bd7951a2d1ff165"><div class="ttname"><a href="classSemanticException.html#a3a9b338a1387e02c2bd7951a2d1ff165">SemanticException::~SemanticException</a></div><div class="ttdeci">~SemanticException()</div><div class="ttdef"><b>Definition:</b> SemanticException.hpp:31</div></div> <div class="ttc" id="RecognitionException_8hpp_html"><div class="ttname"><a href="RecognitionException_8hpp.html">RecognitionException.hpp</a></div></div> <div class="ttc" id="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div></div> <div class="ttc" id="config_8hpp_html"><div class="ttname"><a href="config_8hpp.html">config.hpp</a></div></div> <div class="ttc" id="config_8hpp_html_ad583892c7af76867441115e41aa1ce52"><div class="ttname"><a href="config_8hpp.html#ad583892c7af76867441115e41aa1ce52">ANTLR_API</a></div><div class="ttdeci">#define ANTLR_API</div><div class="ttdef"><b>Definition:</b> config.hpp:22</div></div> <div class="ttc" id="classRecognitionException_html"><div class="ttname"><a href="classRecognitionException.html">RecognitionException</a></div><div class="ttdef"><b>Definition:</b> RecognitionException.hpp:18</div></div> <div class="ttc" id="classSemanticException_html_ac5ef9953deb5ca712ee035346dac447d"><div class="ttname"><a href="classSemanticException.html#ac5ef9953deb5ca712ee035346dac447d">SemanticException::SemanticException</a></div><div class="ttdeci">SemanticException(const std ::string &s)</div><div class="ttdef"><b>Definition:</b> SemanticException.hpp:20</div></div> <div class="ttc" id="classSemanticException_html"><div class="ttname"><a href="classSemanticException.html">SemanticException</a></div><div class="ttdef"><b>Definition:</b> SemanticException.hpp:18</div></div> <div class="ttc" id="config_8hpp_html_ad1e4025d0db4046e6e85a46c92b7ff77"><div class="ttname"><a href="config_8hpp.html#ad1e4025d0db4046e6e85a46c92b7ff77">ANTLR_USE_NAMESPACE</a></div><div class="ttdeci">#define ANTLR_USE_NAMESPACE(_x_)</div><div class="ttdef"><b>Definition:</b> config.hpp:18</div></div> <div class="ttc" id="classSemanticException_html_afc1bcd239a161793bc373f3f975d66c5"><div class="ttname"><a href="classSemanticException.html#afc1bcd239a161793bc373f3f975d66c5">SemanticException::SemanticException</a></div><div class="ttdeci">SemanticException(const std ::string &s, const std ::string &fileName_, int line_, int column_)</div><div class="ttdef"><b>Definition:</b> SemanticException.hpp:24</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.14 </small></address> </body> </html>