2022-07-02 09:42:10 +00:00
|
|
|
<!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.9.1"/>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
|
|
<title>sapphirec: Location Struct 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="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">sapphirec
|
|
|
|
</div>
|
2022-07-02 09:49:51 +00:00
|
|
|
<div id="projectbrief">The Sapphire compiler</div>
|
2022-07-02 09:42:10 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<!-- end header part -->
|
|
|
|
<!-- Generated by Doxygen 1.9.1 -->
|
|
|
|
<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','.html');
|
|
|
|
/* @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><!-- top -->
|
|
|
|
<div class="header">
|
|
|
|
<div class="summary">
|
|
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
|
|
<a href="#pub-attribs">Public Attributes</a> |
|
|
|
|
<a href="structLocation-members.html">List of all members</a> </div>
|
|
|
|
<div class="headertitle">
|
|
|
|
<div class="title">Location Struct Reference</div> </div>
|
|
|
|
</div><!--header-->
|
|
|
|
<div class="contents">
|
|
|
|
<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:a7d1957f57b0c5b36b2f546d5833d6be6"><td class="memItemLeft" align="right" valign="top"><a id="a7d1957f57b0c5b36b2f546d5833d6be6"></a>
|
|
|
|
 </td><td class="memItemRight" valign="bottom"><b>Location</b> (int ln, int col, std::string file)</td></tr>
|
|
|
|
<tr class="separator:a7d1957f57b0c5b36b2f546d5833d6be6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
<tr class="memitem:acebfd439c295573434454fdd3e116e0e"><td class="memItemLeft" align="right" valign="top"><a id="acebfd439c295573434454fdd3e116e0e"></a>
|
|
|
|
std::string </td><td class="memItemRight" valign="bottom"><b>str</b> () const</td></tr>
|
|
|
|
<tr class="separator:acebfd439c295573434454fdd3e116e0e"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
<tr class="memitem:aaa249a0b41e4208fd9346b4744c0a823"><td class="memItemLeft" align="right" valign="top"><a id="aaa249a0b41e4208fd9346b4744c0a823"></a>
|
|
|
|
std::string </td><td class="memItemRight" valign="bottom"><b>paren_str</b> () const</td></tr>
|
|
|
|
<tr class="separator:aaa249a0b41e4208fd9346b4744c0a823"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
<tr class="memitem:a375ecb41aafad3dba17600684cb16a6f"><td class="memItemLeft" align="right" valign="top"><a id="a375ecb41aafad3dba17600684cb16a6f"></a>
|
|
|
|
void </td><td class="memItemRight" valign="bottom"><b>advance</b> ()</td></tr>
|
|
|
|
<tr class="separator:a375ecb41aafad3dba17600684cb16a6f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
<tr class="memitem:ab0754b2857e8fc1bb80f0f8c18c629ab"><td class="memItemLeft" align="right" valign="top"><a id="ab0754b2857e8fc1bb80f0f8c18c629ab"></a>
|
|
|
|
void </td><td class="memItemRight" valign="bottom"><b>pos_from_char</b> (const char &character)</td></tr>
|
|
|
|
<tr class="separator:ab0754b2857e8fc1bb80f0f8c18c629ab"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
<tr class="memitem:a8646c981888c9d6423e99a0298f9d795"><td class="memItemLeft" align="right" valign="top"><a id="a8646c981888c9d6423e99a0298f9d795"></a>
|
|
|
|
void </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="structLocation.html">Location</a> &other)</td></tr>
|
|
|
|
<tr class="separator:a8646c981888c9d6423e99a0298f9d795"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
<tr class="memitem:a524b9cec2031554ca8f15405ab5ae9ff"><td class="memItemLeft" align="right" valign="top"><a id="a524b9cec2031554ca8f15405ab5ae9ff"></a>
|
|
|
|
void </td><td class="memItemRight" valign="bottom"><b>copy</b> (const <a class="el" href="structLocation.html">Location</a> &other)</td></tr>
|
|
|
|
<tr class="separator:a524b9cec2031554ca8f15405ab5ae9ff"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
</table><table class="memberdecls">
|
|
|
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
|
|
|
|
Public Attributes</h2></td></tr>
|
|
|
|
<tr class="memitem:a20371736bca98414df38bc3ae316bd1c"><td class="memItemLeft" align="right" valign="top"><a id="a20371736bca98414df38bc3ae316bd1c"></a>
|
|
|
|
int </td><td class="memItemRight" valign="bottom"><b>line</b></td></tr>
|
|
|
|
<tr class="separator:a20371736bca98414df38bc3ae316bd1c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
<tr class="memitem:ae9cf292727f8758f402671c80d6c4718"><td class="memItemLeft" align="right" valign="top"><a id="ae9cf292727f8758f402671c80d6c4718"></a>
|
|
|
|
int </td><td class="memItemRight" valign="bottom"><b>column</b></td></tr>
|
|
|
|
<tr class="separator:ae9cf292727f8758f402671c80d6c4718"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
<tr class="memitem:a5b691d1c7f3c5c1b7428cf118d3595c8"><td class="memItemLeft" align="right" valign="top"><a id="a5b691d1c7f3c5c1b7428cf118d3595c8"></a>
|
|
|
|
std::string </td><td class="memItemRight" valign="bottom"><b>fname</b></td></tr>
|
|
|
|
<tr class="separator:a5b691d1c7f3c5c1b7428cf118d3595c8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
<tr class="memitem:af047bbd018951f48de8adf5a89938acc"><td class="memItemLeft" align="right" valign="top"><a id="af047bbd018951f48de8adf5a89938acc"></a>
|
|
|
|
std::shared_ptr< <a class="el" href="structLocation.html">Location</a> > </td><td class="memItemRight" valign="bottom"><b>parent</b> = nullptr</td></tr>
|
|
|
|
<tr class="separator:af047bbd018951f48de8adf5a89938acc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
|
|
</table>
|
|
|
|
<hr/>The documentation for this struct was generated from the following files:<ul>
|
|
|
|
<li>src/<a class="el" href="Location_8h_source.html">Location.h</a></li>
|
|
|
|
<li>src/Location.cpp</li>
|
|
|
|
</ul>
|
|
|
|
</div><!-- contents -->
|
|
|
|
<!-- start footer part -->
|
|
|
|
<hr class="footer"/><address class="footer"><small>
|
|
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
|
|
|
|
</small></address>
|
|
|
|
</body>
|
|
|
|
</html>
|