358 lines
16 KiB
HTML
358 lines
16 KiB
HTML
<!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="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>
|
|
<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" />
|
|
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
|
<link href="doxygen-awesome-sidebar-only.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>
|
|
<div id="projectbrief">The Sapphire documentation</div>
|
|
</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>
|
|
</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('struct_location.html',''); initResizable(); });
|
|
/* @license-end */
|
|
</script>
|
|
<div id="doc-content">
|
|
<!-- 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 class="header">
|
|
<div class="summary">
|
|
<a href="#pub-methods">Public Member Functions</a> |
|
|
<a href="#pub-attribs">Public Attributes</a> |
|
|
<a href="struct_location-members.html">List of all members</a> </div>
|
|
<div class="headertitle">
|
|
<div class="title">Location Struct Reference</div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
|
|
<p><code>#include <<a class="el" href="_location_8h_source.html">Location.h</a>></code></p>
|
|
<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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_location.html#a7d1957f57b0c5b36b2f546d5833d6be6">Location</a> (int ln, int col, std::string file)</td></tr>
|
|
<tr class="separator:a7d1957f57b0c5b36b2f546d5833d6be6"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af5be2c6550bbd96137cbb3144ec3c529"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_location.html#af5be2c6550bbd96137cbb3144ec3c529">~Location</a> ()</td></tr>
|
|
<tr class="separator:af5be2c6550bbd96137cbb3144ec3c529"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:acebfd439c295573434454fdd3e116e0e"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_location.html#acebfd439c295573434454fdd3e116e0e">str</a> () 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">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_location.html#aaa249a0b41e4208fd9346b4744c0a823">paren_str</a> () 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">void </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_location.html#a375ecb41aafad3dba17600684cb16a6f">advance</a> ()</td></tr>
|
|
<tr class="separator:a375ecb41aafad3dba17600684cb16a6f"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ab0754b2857e8fc1bb80f0f8c18c629ab"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_location.html#ab0754b2857e8fc1bb80f0f8c18c629ab">pos_from_char</a> (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">void </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_location.html#a8646c981888c9d6423e99a0298f9d795">operator=</a> (const <a class="el" href="struct_location.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">void </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_location.html#a524b9cec2031554ca8f15405ab5ae9ff">copy</a> (const <a class="el" href="struct_location.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">int </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_location.html#a20371736bca98414df38bc3ae316bd1c">line</a></td></tr>
|
|
<tr class="separator:a20371736bca98414df38bc3ae316bd1c"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:ae9cf292727f8758f402671c80d6c4718"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_location.html#ae9cf292727f8758f402671c80d6c4718">column</a></td></tr>
|
|
<tr class="separator:ae9cf292727f8758f402671c80d6c4718"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:a5b691d1c7f3c5c1b7428cf118d3595c8"><td class="memItemLeft" align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_location.html#a5b691d1c7f3c5c1b7428cf118d3595c8">fname</a></td></tr>
|
|
<tr class="separator:a5b691d1c7f3c5c1b7428cf118d3595c8"><td class="memSeparator" colspan="2"> </td></tr>
|
|
<tr class="memitem:af047bbd018951f48de8adf5a89938acc"><td class="memItemLeft" align="right" valign="top">std::shared_ptr< <a class="el" href="struct_location.html">Location</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_location.html#af047bbd018951f48de8adf5a89938acc">parent</a> = nullptr</td></tr>
|
|
<tr class="separator:af047bbd018951f48de8adf5a89938acc"><td class="memSeparator" colspan="2"> </td></tr>
|
|
</table>
|
|
<h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
|
<a id="a7d1957f57b0c5b36b2f546d5833d6be6"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a7d1957f57b0c5b36b2f546d5833d6be6">◆ </a></span>Location()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Location::Location </td>
|
|
<td>(</td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>ln</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">int </td>
|
|
<td class="paramname"><em>col</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">std::string </td>
|
|
<td class="paramname"><em>file</em> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af5be2c6550bbd96137cbb3144ec3c529"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af5be2c6550bbd96137cbb3144ec3c529">◆ </a></span>~Location()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">Location::~Location </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Function Documentation</h2>
|
|
<a id="a375ecb41aafad3dba17600684cb16a6f"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a375ecb41aafad3dba17600684cb16a6f">◆ </a></span>advance()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void Location::advance </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a524b9cec2031554ca8f15405ab5ae9ff"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a524b9cec2031554ca8f15405ab5ae9ff">◆ </a></span>copy()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void Location::copy </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="struct_location.html">Location</a> & </td>
|
|
<td class="paramname"><em>other</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a8646c981888c9d6423e99a0298f9d795"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a8646c981888c9d6423e99a0298f9d795">◆ </a></span>operator=()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void Location::operator= </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const <a class="el" href="struct_location.html">Location</a> & </td>
|
|
<td class="paramname"><em>other</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="aaa249a0b41e4208fd9346b4744c0a823"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#aaa249a0b41e4208fd9346b4744c0a823">◆ </a></span>paren_str()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::string Location::paren_str </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="ab0754b2857e8fc1bb80f0f8c18c629ab"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ab0754b2857e8fc1bb80f0f8c18c629ab">◆ </a></span>pos_from_char()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void Location::pos_from_char </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const char & </td>
|
|
<td class="paramname"><em>character</em></td><td>)</td>
|
|
<td></td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="acebfd439c295573434454fdd3e116e0e"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#acebfd439c295573434454fdd3e116e0e">◆ </a></span>str()</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::string Location::str </td>
|
|
<td>(</td>
|
|
<td class="paramname"></td><td>)</td>
|
|
<td> const</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<h2 class="groupheader">Member Data Documentation</h2>
|
|
<a id="ae9cf292727f8758f402671c80d6c4718"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#ae9cf292727f8758f402671c80d6c4718">◆ </a></span>column</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int Location::column</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a5b691d1c7f3c5c1b7428cf118d3595c8"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a5b691d1c7f3c5c1b7428cf118d3595c8">◆ </a></span>fname</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::string Location::fname</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="a20371736bca98414df38bc3ae316bd1c"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#a20371736bca98414df38bc3ae316bd1c">◆ </a></span>line</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">int Location::line</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<a id="af047bbd018951f48de8adf5a89938acc"></a>
|
|
<h2 class="memtitle"><span class="permalink"><a href="#af047bbd018951f48de8adf5a89938acc">◆ </a></span>parent</h2>
|
|
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">std::shared_ptr<<a class="el" href="struct_location.html">Location</a>> Location::parent = nullptr</td>
|
|
</tr>
|
|
</table>
|
|
</div><div class="memdoc">
|
|
|
|
</div>
|
|
</div>
|
|
<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/<a class="el" href="_location_8cpp.html">Location.cpp</a></li>
|
|
</ul>
|
|
</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="struct_location.html">Location</a></li>
|
|
<li class="footer">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 </li>
|
|
</ul>
|
|
</div>
|
|
</body>
|
|
</html>
|