sapphire/docs/html/struct_token.html

601 lines
28 KiB
HTML
Raw Normal View History

2022-07-02 10:03:06 +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: Token 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&amp;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&amp;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&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('struct_token.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> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="struct_token-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Token Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include &lt;<a class="el" href="_token_8h_source.html">Token.h</a>&gt;</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:ab74d6b5fef46e3c194229e7a884cad45"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_token.html#ab74d6b5fef46e3c194229e7a884cad45">Token</a> (const <a class="el" href="_token_8h.html#aa520fbf142ba1e7e659590c07da31921">TokenType</a> &amp;type)</td></tr>
<tr class="separator:ab74d6b5fef46e3c194229e7a884cad45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d4d66f172376503d15b9a2feb5f90e8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_token.html#a6d4d66f172376503d15b9a2feb5f90e8">Token</a> (const <a class="el" href="_token_8h.html#aa520fbf142ba1e7e659590c07da31921">TokenType</a> &amp;type, const <a class="el" href="struct_location.html">Location</a> &amp;location)</td></tr>
<tr class="separator:a6d4d66f172376503d15b9a2feb5f90e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2efe8a7168e6b2adac5d1cf6750daa7b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_token.html#a2efe8a7168e6b2adac5d1cf6750daa7b">Token</a> (const <a class="el" href="_token_8h.html#aa520fbf142ba1e7e659590c07da31921">TokenType</a> &amp;type, const int &amp;val, const <a class="el" href="struct_location.html">Location</a> &amp;location)</td></tr>
<tr class="separator:a2efe8a7168e6b2adac5d1cf6750daa7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17f818bd7d9ff7472837307d09fb58fa"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_token.html#a17f818bd7d9ff7472837307d09fb58fa">Token</a> (const <a class="el" href="_token_8h.html#aa520fbf142ba1e7e659590c07da31921">TokenType</a> &amp;type, const std::string &amp;val, const <a class="el" href="struct_location.html">Location</a> &amp;location)</td></tr>
<tr class="separator:a17f818bd7d9ff7472837307d09fb58fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad810ae05b8d953d481e1cbebb2964b17"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_token.html#ad810ae05b8d953d481e1cbebb2964b17">Token</a> (const <a class="el" href="_token_8h.html#aa520fbf142ba1e7e659590c07da31921">TokenType</a> &amp;type, const std::string &amp;val)</td></tr>
<tr class="separator:ad810ae05b8d953d481e1cbebb2964b17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40f4b33a2ffd88acf803132d598c4ab4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_token.html#a40f4b33a2ffd88acf803132d598c4ab4">Token</a> (const <a class="el" href="_token_8h.html#aa520fbf142ba1e7e659590c07da31921">TokenType</a> &amp;type, const float &amp;val, const <a class="el" href="struct_location.html">Location</a> &amp;location)</td></tr>
<tr class="separator:a40f4b33a2ffd88acf803132d598c4ab4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d7d59eaac1535df1433357d5d372f84"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_token.html#a3d7d59eaac1535df1433357d5d372f84">~Token</a> ()</td></tr>
<tr class="separator:a3d7d59eaac1535df1433357d5d372f84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a602aa1415de3415044205333495e72f5"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_token.html#a602aa1415de3415044205333495e72f5">to_string</a> () const</td></tr>
<tr class="separator:a602aa1415de3415044205333495e72f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a432fb89b5fed83bd753f99a5ea10e2e6"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_token.html#a432fb89b5fed83bd753f99a5ea10e2e6">line</a> () const</td></tr>
<tr class="separator:a432fb89b5fed83bd753f99a5ea10e2e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab58cab5077c1c4c4671964595308c3fc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_token.html#ab58cab5077c1c4c4671964595308c3fc">operator=</a> (const <a class="el" href="struct_token.html">Token</a> &amp;other)</td></tr>
<tr class="separator:ab58cab5077c1c4c4671964595308c3fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a036d56315ccd55329e9e1e2271b16795"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_token.html">Token</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_token.html#a036d56315ccd55329e9e1e2271b16795">copy_with_new_type</a> (const <a class="el" href="_token_8h.html#aa520fbf142ba1e7e659590c07da31921">TokenType</a> &amp;type)</td></tr>
<tr class="separator:a036d56315ccd55329e9e1e2271b16795"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a6c00b26185c109de4c2b79bd756defa1"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="struct_token.html">Token</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_token.html#a6c00b26185c109de4c2b79bd756defa1">make_with_line</a> (const <a class="el" href="struct_token.html">Token</a> &amp;origin, const std::string &amp;line_text)</td></tr>
<tr class="separator:a6c00b26185c109de4c2b79bd756defa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d401d11a0b5cb39e1505dbaf13fee82"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_token.html#a2d401d11a0b5cb39e1505dbaf13fee82">erase</a> (<a class="el" href="struct_token.html">Token</a> &amp;tk)</td></tr>
<tr class="separator:a2d401d11a0b5cb39e1505dbaf13fee82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0eaf331871c69faf7c37d8e87db1f7e6"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_token.html#a0eaf331871c69faf7c37d8e87db1f7e6">match_token_types</a> (const std::vector&lt; <a class="el" href="struct_token.html">Token</a> &gt; &amp;a, const std::vector&lt; <a class="el" href="struct_token.html">Token</a> &gt; &amp;b, int count)</td></tr>
<tr class="separator:a0eaf331871c69faf7c37d8e87db1f7e6"><td class="memSeparator" colspan="2">&#160;</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:afeecd45f0f912778b11fffe0abb299b5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_token_8h.html#aa520fbf142ba1e7e659590c07da31921">TokenType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_token.html#afeecd45f0f912778b11fffe0abb299b5">tk_type</a></td></tr>
<tr class="separator:afeecd45f0f912778b11fffe0abb299b5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bd1ec80054e52bb87e5f5c4fd2f6931"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_token.html#a0bd1ec80054e52bb87e5f5c4fd2f6931">int_value</a></td></tr>
<tr class="separator:a0bd1ec80054e52bb87e5f5c4fd2f6931"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15eec7ad7fced0b21918e04a3e6c639c"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_token.html#a15eec7ad7fced0b21918e04a3e6c639c">string_value</a></td></tr>
<tr class="separator:a15eec7ad7fced0b21918e04a3e6c639c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92a5a00e9160db302b651c44c3658051"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_token.html#a92a5a00e9160db302b651c44c3658051">float_value</a></td></tr>
<tr class="separator:a92a5a00e9160db302b651c44c3658051"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33ccd4b1d4d4e2690a54f6ed39a7bf06"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_location.html">Location</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_token.html#a33ccd4b1d4d4e2690a54f6ed39a7bf06">loc</a></td></tr>
<tr class="separator:a33ccd4b1d4d4e2690a54f6ed39a7bf06"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ab74d6b5fef46e3c194229e7a884cad45"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab74d6b5fef46e3c194229e7a884cad45">&#9670;&nbsp;</a></span>Token() <span class="overload">[1/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Token::Token </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="_token_8h.html#aa520fbf142ba1e7e659590c07da31921">TokenType</a> &amp;&#160;</td>
<td class="paramname"><em>type</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a6d4d66f172376503d15b9a2feb5f90e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d4d66f172376503d15b9a2feb5f90e8">&#9670;&nbsp;</a></span>Token() <span class="overload">[2/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Token::Token </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="_token_8h.html#aa520fbf142ba1e7e659590c07da31921">TokenType</a> &amp;&#160;</td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_location.html">Location</a> &amp;&#160;</td>
<td class="paramname"><em>location</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a2efe8a7168e6b2adac5d1cf6750daa7b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2efe8a7168e6b2adac5d1cf6750daa7b">&#9670;&nbsp;</a></span>Token() <span class="overload">[3/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Token::Token </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="_token_8h.html#aa520fbf142ba1e7e659590c07da31921">TokenType</a> &amp;&#160;</td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const int &amp;&#160;</td>
<td class="paramname"><em>val</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_location.html">Location</a> &amp;&#160;</td>
<td class="paramname"><em>location</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a17f818bd7d9ff7472837307d09fb58fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a17f818bd7d9ff7472837307d09fb58fa">&#9670;&nbsp;</a></span>Token() <span class="overload">[4/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Token::Token </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="_token_8h.html#aa520fbf142ba1e7e659590c07da31921">TokenType</a> &amp;&#160;</td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>val</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_location.html">Location</a> &amp;&#160;</td>
<td class="paramname"><em>location</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ad810ae05b8d953d481e1cbebb2964b17"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad810ae05b8d953d481e1cbebb2964b17">&#9670;&nbsp;</a></span>Token() <span class="overload">[5/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Token::Token </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="_token_8h.html#aa520fbf142ba1e7e659590c07da31921">TokenType</a> &amp;&#160;</td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>val</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a40f4b33a2ffd88acf803132d598c4ab4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40f4b33a2ffd88acf803132d598c4ab4">&#9670;&nbsp;</a></span>Token() <span class="overload">[6/6]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Token::Token </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="_token_8h.html#aa520fbf142ba1e7e659590c07da31921">TokenType</a> &amp;&#160;</td>
<td class="paramname"><em>type</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const float &amp;&#160;</td>
<td class="paramname"><em>val</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_location.html">Location</a> &amp;&#160;</td>
<td class="paramname"><em>location</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a3d7d59eaac1535df1433357d5d372f84"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d7d59eaac1535df1433357d5d372f84">&#9670;&nbsp;</a></span>~Token()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Token::~Token </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="a036d56315ccd55329e9e1e2271b16795"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a036d56315ccd55329e9e1e2271b16795">&#9670;&nbsp;</a></span>copy_with_new_type()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_token.html">Token</a> Token::copy_with_new_type </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="_token_8h.html#aa520fbf142ba1e7e659590c07da31921">TokenType</a> &amp;&#160;</td>
<td class="paramname"><em>type</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a2d401d11a0b5cb39e1505dbaf13fee82"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d401d11a0b5cb39e1505dbaf13fee82">&#9670;&nbsp;</a></span>erase()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Token::erase </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_token.html">Token</a> &amp;&#160;</td>
<td class="paramname"><em>tk</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">
</div>
</div>
<a id="a432fb89b5fed83bd753f99a5ea10e2e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a432fb89b5fed83bd753f99a5ea10e2e6">&#9670;&nbsp;</a></span>line()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string Token::line </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a6c00b26185c109de4c2b79bd756defa1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6c00b26185c109de4c2b79bd756defa1">&#9670;&nbsp;</a></span>make_with_line()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_token.html">Token</a> Token::make_with_line </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="struct_token.html">Token</a> &amp;&#160;</td>
<td class="paramname"><em>origin</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::string &amp;&#160;</td>
<td class="paramname"><em>line_text</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</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">
</div>
</div>
<a id="a0eaf331871c69faf7c37d8e87db1f7e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0eaf331871c69faf7c37d8e87db1f7e6">&#9670;&nbsp;</a></span>match_token_types()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool Token::match_token_types </td>
<td>(</td>
<td class="paramtype">const std::vector&lt; <a class="el" href="struct_token.html">Token</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>a</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::vector&lt; <a class="el" href="struct_token.html">Token</a> &gt; &amp;&#160;</td>
<td class="paramname"><em>b</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>count</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</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">
</div>
</div>
<a id="ab58cab5077c1c4c4671964595308c3fc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab58cab5077c1c4c4671964595308c3fc">&#9670;&nbsp;</a></span>operator=()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Token::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="struct_token.html">Token</a> &amp;&#160;</td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a602aa1415de3415044205333495e72f5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a602aa1415de3415044205333495e72f5">&#9670;&nbsp;</a></span>to_string()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string Token::to_string </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="a92a5a00e9160db302b651c44c3658051"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a92a5a00e9160db302b651c44c3658051">&#9670;&nbsp;</a></span>float_value</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float Token::float_value</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a0bd1ec80054e52bb87e5f5c4fd2f6931"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0bd1ec80054e52bb87e5f5c4fd2f6931">&#9670;&nbsp;</a></span>int_value</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Token::int_value</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a33ccd4b1d4d4e2690a54f6ed39a7bf06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33ccd4b1d4d4e2690a54f6ed39a7bf06">&#9670;&nbsp;</a></span>loc</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="struct_location.html">Location</a> Token::loc</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a15eec7ad7fced0b21918e04a3e6c639c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a15eec7ad7fced0b21918e04a3e6c639c">&#9670;&nbsp;</a></span>string_value</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">std::string Token::string_value</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="afeecd45f0f912778b11fffe0abb299b5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afeecd45f0f912778b11fffe0abb299b5">&#9670;&nbsp;</a></span>tk_type</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="_token_8h.html#aa520fbf142ba1e7e659590c07da31921">TokenType</a> Token::tk_type</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="_token_8h_source.html">Token.h</a></li>
<li>src/<a class="el" href="_token_8cpp.html">Token.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_token.html">Token</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>