doxygen test
101
docs/html/Arguments_8h_source.html
Normal file
@ -0,0 +1,101 @@
|
|||||||
|
<!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: src/Arguments.h 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">sapphirec
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">Arguments.h</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#pragma once</span></div>
|
||||||
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include "sapphirepch.h"</span></div>
|
||||||
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#include <llvm/ADT/Triple.h></span></div>
|
||||||
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>  </div>
|
||||||
|
<div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="structArguments.html"> 5</a></span> <span class="keyword">struct </span><a class="code" href="structArguments.html">Arguments</a></div>
|
||||||
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> {</div>
|
||||||
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> parse(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span>** argv);</div>
|
||||||
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  </div>
|
||||||
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  <span class="keyword">static</span> std::string input_fname;</div>
|
||||||
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  <span class="keyword">static</span> std::string output_fname;</div>
|
||||||
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  </div>
|
||||||
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> wimport;</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="keyword">static</span> std::string cpu;</div>
|
||||||
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  </div>
|
||||||
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  <span class="keyword">static</span> llvm::Triple TargetTriple;</div>
|
||||||
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  </div>
|
||||||
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  <span class="keyword">private</span>:</div>
|
||||||
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> setTriple(<span class="keyword">const</span> std::string& arch, <span class="keyword">const</span> std::string& system);</div>
|
||||||
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> };</div>
|
||||||
|
<div class="ttc" id="astructArguments_html"><div class="ttname"><a href="structArguments.html">Arguments</a></div><div class="ttdef"><b>Definition:</b> Arguments.h:6</div></div>
|
||||||
|
</div><!-- fragment --></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>
|
97
docs/html/Error_8h_source.html
Normal file
@ -0,0 +1,97 @@
|
|||||||
|
<!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: src/Error.h 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">sapphirec
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">Error.h</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#pragma once</span></div>
|
||||||
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include "Location.h"</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="keyword">namespace </span>Error</div>
|
||||||
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> {</div>
|
||||||
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="keywordtype">void</span> show_import_line(<span class="keyword">const</span> <a class="code" href="structLocation.html">Location</a>& loc, std::ostream& output_stream);</div>
|
||||||
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  </div>
|
||||||
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> [[noreturn]] <span class="keywordtype">void</span> throw_error(<span class="keyword">const</span> <a class="code" href="structLocation.html">Location</a>& loc, <span class="keyword">const</span> std::string line_text, <span class="keyword">const</span> std::string& details);</div>
|
||||||
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  </div>
|
||||||
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> [[noreturn]] <span class="keywordtype">void</span> throw_error_without_location(<span class="keyword">const</span> std::string& details);</div>
|
||||||
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  </div>
|
||||||
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="keywordtype">void</span> throw_warning(<span class="keyword">const</span> <a class="code" href="structLocation.html">Location</a>& loc, <span class="keyword">const</span> std::string line_text, <span class="keyword">const</span> std::string& details);</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="keywordtype">void</span> show_import_lines(<span class="keyword">const</span> <a class="code" href="structLocation.html">Location</a>& loc, <span class="keywordtype">void</span> (*import_line_printer)(<span class="keyword">const</span> <a class="code" href="structLocation.html">Location</a>&, std::ostream&),</div>
|
||||||
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  std::ostream& stream);</div>
|
||||||
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> } <span class="comment">// namespace Error</span></div>
|
||||||
|
<div class="ttc" id="astructLocation_html"><div class="ttname"><a href="structLocation.html">Location</a></div><div class="ttdef"><b>Definition:</b> Location.h:6</div></div>
|
||||||
|
</div><!-- fragment --></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>
|
93
docs/html/FileIO_8h_source.html
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
<!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: src/FileIO.h 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">sapphirec
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">FileIO.h</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#pragma once</span></div>
|
||||||
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include "sapphirepch.h"</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">/* Namespace for simple file operations. */</span></div>
|
||||||
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="keyword">namespace </span>FileIO</div>
|
||||||
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> {</div>
|
||||||
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">/* Helper function to read all of a file's contents. */</span></div>
|
||||||
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> std::string read_all(<span class="keyword">const</span> std::string& filename);</div>
|
||||||
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">/* Helper function to write a string to a file. */</span></div>
|
||||||
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="keywordtype">void</span> write_all(<span class="keyword">const</span> std::string& filename, <span class="keyword">const</span> std::string& contents);</div>
|
||||||
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">/* Return a filename without its extension. */</span></div>
|
||||||
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> std::string remove_file_extension(<span class="keyword">const</span> std::string& filename);</div>
|
||||||
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> } <span class="comment">// namespace FileIO</span></div>
|
||||||
|
</div><!-- fragment --></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>
|
92
docs/html/Importer_8h_source.html
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
<!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: src/Importer.h 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">sapphirec
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">Importer.h</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#pragma once</span></div>
|
||||||
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include "Lexer.h"</span></div>
|
||||||
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#include "Token.h"</span></div>
|
||||||
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>  </div>
|
||||||
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="keyword">namespace </span>Importer</div>
|
||||||
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> {</div>
|
||||||
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="keyword">extern</span> <span class="keywordtype">int</span> import_count;</div>
|
||||||
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="keyword">extern</span> std::vector<std::shared_ptr<Location>> import_stack;</div>
|
||||||
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="keyword">extern</span> std::vector<std::string> imported_files;</div>
|
||||||
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> TokenStream evaluate(<span class="keyword">const</span> TokenStream& original);</div>
|
||||||
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="keywordtype">void</span> init(std::string init_file);</div>
|
||||||
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> } <span class="comment">// namespace Importer</span></div>
|
||||||
|
</div><!-- fragment --></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>
|
136
docs/html/Lexer_8h_source.html
Normal file
@ -0,0 +1,136 @@
|
|||||||
|
<!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: src/Lexer.h 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">sapphirec
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">Lexer.h</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#pragma once</span></div>
|
||||||
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include "Token.h"</span></div>
|
||||||
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#include "sapphirepch.h"</span></div>
|
||||||
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include <array></span></div>
|
||||||
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  </div>
|
||||||
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">/* Let's redefine TokenStream, as if it wasn't already defined in Token.h*/</span></div>
|
||||||
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="keyword">typedef</span> std::vector<Token> TokenStream;</div>
|
||||||
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">/* The number of data types currently in Sapphire. */</span></div>
|
||||||
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor">#define TYPE_COUNT 14</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="comment">/* The Lexer for the Sapphire compiler. A Lexer reads source code from a file, and turns it into a stream of tokens the</span></div>
|
||||||
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * compiler can understand. */</span></div>
|
||||||
|
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="classLexer.html"> 13</a></span> <span class="keyword">class </span><a class="code" href="classLexer.html">Lexer</a></div>
|
||||||
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> {</div>
|
||||||
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  <span class="keyword">private</span>:</div>
|
||||||
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  <a class="code" href="structLocation.html">Location</a> loc;</div>
|
||||||
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  <a class="code" href="structLocation.html">Location</a> prev_loc;</div>
|
||||||
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
|
||||||
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="keywordtype">int</span> advance();</div>
|
||||||
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  <span class="keywordtype">int</span> rewind();</div>
|
||||||
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="keywordtype">char</span> current_char;</div>
|
||||||
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  <span class="keywordtype">int</span> index;</div>
|
||||||
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div>
|
||||||
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  <a class="code" href="classLexer.html">Lexer</a>(<span class="keyword">const</span> std::string& fname);</div>
|
||||||
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div>
|
||||||
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  std::string current_line_text;</div>
|
||||||
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  std::string previous_line_text;</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>  std::string current_lexed_text;</div>
|
||||||
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
|
||||||
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  std::string recalculate_current_line(<span class="keyword">const</span> std::string& text);</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>  <a class="code" href="structToken.html">Token</a> create_string();</div>
|
||||||
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <a class="code" href="structToken.html">Token</a> create_number();</div>
|
||||||
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  <a class="code" href="structToken.html">Token</a> create_identifier();</div>
|
||||||
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  </div>
|
||||||
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keywordtype">bool</span> is_in_string(<span class="keyword">const</span> std::string& <span class="keywordtype">string</span>, <span class="keyword">const</span> <span class="keywordtype">char</span>& character);</div>
|
||||||
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  </div>
|
||||||
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="keyword">public</span>:</div>
|
||||||
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="comment">/* An array containing Sapphire's current data types. */</span></div>
|
||||||
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <span class="keyword">static</span> <span class="keyword">const</span> std::array<std::string, TYPE_COUNT> types;</div>
|
||||||
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  </div>
|
||||||
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  ~<a class="code" href="classLexer.html">Lexer</a>();</div>
|
||||||
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  </div>
|
||||||
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="comment">/* Lex the given text, turning it into a stream of tokens. */</span></div>
|
||||||
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  TokenStream lex(<span class="keyword">const</span> std::string& text);</div>
|
||||||
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  </div>
|
||||||
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <span class="comment">/* Create a new Lexer and return a pointer to it. */</span></div>
|
||||||
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keyword">static</span> std::unique_ptr<Lexer> make_lexer(<span class="keyword">const</span> std::string& fname);</div>
|
||||||
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  </div>
|
||||||
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="comment">/* If the Lexer is lexing an impòrted file, give it the location in the parent file at which it was imported. */</span></div>
|
||||||
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> assign_parent_location(std::unique_ptr<Lexer>& lexer, <span class="keyword">const</span> std::shared_ptr<Location>& loc);</div>
|
||||||
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span> };</div>
|
||||||
|
<div class="ttc" id="aclassLexer_html"><div class="ttname"><a href="classLexer.html">Lexer</a></div><div class="ttdef"><b>Definition:</b> Lexer.h:14</div></div>
|
||||||
|
<div class="ttc" id="astructLocation_html"><div class="ttname"><a href="structLocation.html">Location</a></div><div class="ttdef"><b>Definition:</b> Location.h:6</div></div>
|
||||||
|
<div class="ttc" id="astructToken_html"><div class="ttname"><a href="structToken.html">Token</a></div><div class="ttdef"><b>Definition:</b> Token.h:54</div></div>
|
||||||
|
</div><!-- fragment --></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>
|
115
docs/html/Location_8h_source.html
Normal file
@ -0,0 +1,115 @@
|
|||||||
|
<!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: src/Location.h 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">sapphirec
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">Location.h</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#pragma once</span></div>
|
||||||
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include "sapphirepch.h"</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">/* Struct to represent a location in a file. */</span></div>
|
||||||
|
<div class="line"><a name="l00005"></a><span class="lineno"><a class="line" href="structLocation.html"> 5</a></span> <span class="keyword">struct </span><a class="code" href="structLocation.html">Location</a></div>
|
||||||
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> {</div>
|
||||||
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span>  <span class="keywordtype">int</span> line;</div>
|
||||||
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  <span class="keywordtype">int</span> column;</div>
|
||||||
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  std::string fname;</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="comment">/* The location at which this location was imported, for error traces in imported files. */</span></div>
|
||||||
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  std::shared_ptr<Location> parent = <span class="keyword">nullptr</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="comment">/* Creates a Location with the given parameters. */</span></div>
|
||||||
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  <a class="code" href="structLocation.html">Location</a>(<span class="keywordtype">int</span> ln, <span class="keywordtype">int</span> col, std::string file);</div>
|
||||||
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  </div>
|
||||||
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  ~<a class="code" href="structLocation.html">Location</a>();</div>
|
||||||
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
|
||||||
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  <span class="comment">/* Returns a string of the format FILE:LINE:COL. */</span></div>
|
||||||
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  std::string str() <span class="keyword">const</span>;</div>
|
||||||
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="comment">/* Returns a string of the format (FILE:LINE:COL). */</span></div>
|
||||||
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  std::string paren_str() <span class="keyword">const</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"> 24</span>  <span class="comment">/* Advance to the next column in the file. */</span></div>
|
||||||
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keywordtype">void</span> advance();</div>
|
||||||
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  </div>
|
||||||
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="comment">/* Advance to the next line if provided a newline. */</span></div>
|
||||||
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="keywordtype">void</span> pos_from_char(<span class="keyword">const</span> <span class="keywordtype">char</span>& character);</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>  <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="structLocation.html">Location</a>& other);</div>
|
||||||
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  </div>
|
||||||
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="comment">/* Copies the other location into this one. */</span></div>
|
||||||
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  <span class="keywordtype">void</span> copy(<span class="keyword">const</span> <a class="code" href="structLocation.html">Location</a>& other);</div>
|
||||||
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span> };</div>
|
||||||
|
<div class="ttc" id="astructLocation_html"><div class="ttname"><a href="structLocation.html">Location</a></div><div class="ttdef"><b>Definition:</b> Location.h:6</div></div>
|
||||||
|
</div><!-- fragment --></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>
|
94
docs/html/Normalizer_8h_source.html
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
<!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: src/Normalizer.h 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">sapphirec
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">Normalizer.h</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#pragma once</span></div>
|
||||||
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include "Lexer.h"</span> <span class="comment">// for TokenStream</span></div>
|
||||||
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#include "Token.h"</span></div>
|
||||||
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>  </div>
|
||||||
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">/* Namespace to normalize a TokenStream. */</span></div>
|
||||||
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="keyword">namespace </span>Normalizer</div>
|
||||||
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> {</div>
|
||||||
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">/* Some tokens are difficult for the Lexer to parse right, or maybe I'm just lazy.</span></div>
|
||||||
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">Anyways, this function transforms > and = tokens next to each other into a single >=, which has a different meaning,</span></div>
|
||||||
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">etc... For example: = + = : ==, < + = : <=...</span></div>
|
||||||
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"></span> </div>
|
||||||
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">It also takes blank tokens and removes them. */</span></div>
|
||||||
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> TokenStream normalize(<span class="keyword">const</span> TokenStream& input);</div>
|
||||||
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> } <span class="comment">// namespace Normalizer</span></div>
|
||||||
|
</div><!-- fragment --></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>
|
154
docs/html/Parser_8h_source.html
Normal file
@ -0,0 +1,154 @@
|
|||||||
|
<!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: src/Parser.h 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">sapphirec
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">Parser.h</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#pragma once</span></div>
|
||||||
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include "AST/NumberNode.h"</span></div>
|
||||||
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#include "Error.h"</span></div>
|
||||||
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include "Lexer.h"</span></div>
|
||||||
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include "sapphirepch.h"</span></div>
|
||||||
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span>  </div>
|
||||||
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">/* Parser class for the Sapphire compiler. */</span></div>
|
||||||
|
<div class="line"><a name="l00008"></a><span class="lineno"><a class="line" href="classParser.html"> 8</a></span> <span class="keyword">class </span><a class="code" href="classParser.html">Parser</a></div>
|
||||||
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> {</div>
|
||||||
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  <span class="comment">/* Struct to store a parsing result which can be either a parsing error or a success, in which case it contains a</span></div>
|
||||||
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * pointer to the result. */</span></div>
|
||||||
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  <span class="keyword">template</span><<span class="keyword">typename</span> T> <span class="keyword">struct </span>ErrorOr</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="comment">/* Return the stored pointer. */</span></div>
|
||||||
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  std::shared_ptr<T> get()</div>
|
||||||
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  {</div>
|
||||||
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  assert(!m_is_error);</div>
|
||||||
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  <span class="keywordflow">return</span> m_ptr;</div>
|
||||||
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  }</div>
|
||||||
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div>
|
||||||
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  <span class="comment">/* Call Error::throw_error() with the stored error's location, line text, and the error string provided to this</span></div>
|
||||||
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment"> * struct instance. */</span></div>
|
||||||
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  <span class="keywordtype">void</span> ethrow()</div>
|
||||||
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  {</div>
|
||||||
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  assert(m_is_error);</div>
|
||||||
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  Error::throw_error(error_tok->loc, error_tok->line(), m_error);</div>
|
||||||
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  }</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>  <span class="comment">/* Construct a new successful ErrorOr with a heap-allocated pointer to the result class. */</span></div>
|
||||||
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  ErrorOr(T* ptr) : m_ptr(ptr), m_is_error(<span class="keyword">false</span>)</div>
|
||||||
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  {</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>  <span class="comment">/* Construct a new failed ErrorOr with the error details and the token where parsing failed. */</span></div>
|
||||||
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  ErrorOr(<span class="keyword">const</span> std::string& error, <span class="keyword">const</span> <a class="code" href="structToken.html">Token</a>& error_tok)</div>
|
||||||
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  : m_error(error), m_is_error(<span class="keyword">true</span>), error_tok(error_tok)</div>
|
||||||
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</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>  </div>
|
||||||
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  <span class="comment">/* Is this ErrorOr instance successful or failed? */</span></div>
|
||||||
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <span class="keywordtype">bool</span> is_error()</div>
|
||||||
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  {</div>
|
||||||
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  <span class="keywordflow">return</span> m_is_error;</div>
|
||||||
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  }</div>
|
||||||
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  </div>
|
||||||
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keyword">private</span>:</div>
|
||||||
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordtype">bool</span> m_is_error;</div>
|
||||||
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  std::string m_error;</div>
|
||||||
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  std::unique_ptr<Token> error_tok;</div>
|
||||||
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  std::shared_ptr<T> m_ptr;</div>
|
||||||
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  };</div>
|
||||||
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  </div>
|
||||||
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <span class="keyword">private</span>:</div>
|
||||||
|
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <a class="code" href="classParser.html">Parser</a>(<span class="keyword">const</span> TokenStream& tokens);</div>
|
||||||
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  TokenStream tokens;</div>
|
||||||
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  </div>
|
||||||
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  ErrorOr<ExprNode> walk_expr();</div>
|
||||||
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  ErrorOr<NumberNode> walk_number();</div>
|
||||||
|
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  </div>
|
||||||
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordtype">int</span> m_index;</div>
|
||||||
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordtype">int</span> saved_m_index;</div>
|
||||||
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  </div>
|
||||||
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="keywordtype">void</span> save_current_position();</div>
|
||||||
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="keywordtype">void</span> restore_current_position();</div>
|
||||||
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
|
||||||
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <span class="keyword">public</span>:</div>
|
||||||
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  ~<a class="code" href="classParser.html">Parser</a>();</div>
|
||||||
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  </div>
|
||||||
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="comment">/* Construct a new Parser with the given TokenStream. */</span></div>
|
||||||
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <span class="keyword">static</span> std::shared_ptr<Parser> new_parser(<span class="keyword">const</span> TokenStream& tokens);</div>
|
||||||
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <span class="comment">/* Parse the stored TokenStream and return the top-level node of the result Abstract Syntax Tree. */</span></div>
|
||||||
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  std::shared_ptr<ASTNode> parse();</div>
|
||||||
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span> };</div>
|
||||||
|
<div class="ttc" id="aclassParser_html"><div class="ttname"><a href="classParser.html">Parser</a></div><div class="ttdef"><b>Definition:</b> Parser.h:9</div></div>
|
||||||
|
<div class="ttc" id="astructToken_html"><div class="ttname"><a href="structToken.html">Token</a></div><div class="ttdef"><b>Definition:</b> Token.h:54</div></div>
|
||||||
|
</div><!-- fragment --></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>
|
187
docs/html/Token_8h_source.html
Normal file
@ -0,0 +1,187 @@
|
|||||||
|
<!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: src/Token.h 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">sapphirec
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">Token.h</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#pragma once</span></div>
|
||||||
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include "Location.h"</span></div>
|
||||||
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#include "sapphirepch.h"</span></div>
|
||||||
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>  </div>
|
||||||
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">/* All current token types. Will change in the future. */</span></div>
|
||||||
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="keyword">enum</span> TokenType</div>
|
||||||
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> {</div>
|
||||||
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span>  TT_Identifier,</div>
|
||||||
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span>  TT_Number,</div>
|
||||||
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span>  TT_Float,</div>
|
||||||
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span>  TT_Keyword,</div>
|
||||||
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span>  TT_String,</div>
|
||||||
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span>  TT_Plus,</div>
|
||||||
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  TT_Minus,</div>
|
||||||
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>  TT_Mul,</div>
|
||||||
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span>  TT_Div,</div>
|
||||||
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  TT_At,</div>
|
||||||
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  TT_Equal,</div>
|
||||||
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span>  TT_LessThan,</div>
|
||||||
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  TT_GreaterThan,</div>
|
||||||
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  TT_LParen,</div>
|
||||||
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  TT_RParen,</div>
|
||||||
|
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  TT_LBracket,</div>
|
||||||
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span>  TT_RBracket,</div>
|
||||||
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  TT_Semicolon,</div>
|
||||||
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  TT_LoadedString,</div>
|
||||||
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  TT_EOF,</div>
|
||||||
|
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  TT_Null,</div>
|
||||||
|
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>  TT_Equals,</div>
|
||||||
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  TT_GTE,</div>
|
||||||
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  TT_LTE,</div>
|
||||||
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  TT_Period,</div>
|
||||||
|
<div class="line"><a name="l00033"></a><span class="lineno"> 33</span>  TT_Comma,</div>
|
||||||
|
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  TT_Path,</div>
|
||||||
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  TT_Exclamation,</div>
|
||||||
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  TT_NEqual,</div>
|
||||||
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  TT_LSQB,</div>
|
||||||
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  TT_RSQB,</div>
|
||||||
|
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  TT_Type,</div>
|
||||||
|
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  TT_Import,</div>
|
||||||
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  TT_Syscall0,</div>
|
||||||
|
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  TT_Syscall1,</div>
|
||||||
|
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  TT_Syscall2,</div>
|
||||||
|
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  TT_Syscall3,</div>
|
||||||
|
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  TT_Syscall4,</div>
|
||||||
|
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  TT_Syscall5,</div>
|
||||||
|
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  TT_CompilerMacro</div>
|
||||||
|
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span> };</div>
|
||||||
|
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  </div>
|
||||||
|
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span> <span class="keyword">extern</span> <span class="keyword">const</span> std::string token_strings[];</div>
|
||||||
|
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  </div>
|
||||||
|
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span> <span class="comment">/* Struct to represent tokens generated by the Lexer. */</span></div>
|
||||||
|
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="structToken.html"> 53</a></span> <span class="keyword">struct </span><a class="code" href="structToken.html">Token</a></div>
|
||||||
|
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span> {</div>
|
||||||
|
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  TokenType tk_type;</div>
|
||||||
|
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  </div>
|
||||||
|
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="keywordtype">int</span> int_value;</div>
|
||||||
|
<div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  std::string string_value;</div>
|
||||||
|
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="keywordtype">float</span> float_value;</div>
|
||||||
|
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  </div>
|
||||||
|
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="structLocation.html">Location</a> loc;</div>
|
||||||
|
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  </div>
|
||||||
|
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <a class="code" href="structToken.html">Token</a>(<span class="keyword">const</span> TokenType& type);</div>
|
||||||
|
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  </div>
|
||||||
|
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  <a class="code" href="structToken.html">Token</a>(<span class="keyword">const</span> TokenType& type, <span class="keyword">const</span> <a class="code" href="structLocation.html">Location</a>& location);</div>
|
||||||
|
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  </div>
|
||||||
|
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <a class="code" href="structToken.html">Token</a>(<span class="keyword">const</span> TokenType& type, <span class="keyword">const</span> <span class="keywordtype">int</span>& val, <span class="keyword">const</span> <a class="code" href="structLocation.html">Location</a>& location);</div>
|
||||||
|
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  </div>
|
||||||
|
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="code" href="structToken.html">Token</a>(<span class="keyword">const</span> TokenType& type, <span class="keyword">const</span> std::string& val, <span class="keyword">const</span> <a class="code" href="structLocation.html">Location</a>& location);</div>
|
||||||
|
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  </div>
|
||||||
|
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <a class="code" href="structToken.html">Token</a>(<span class="keyword">const</span> TokenType& type, <span class="keyword">const</span> std::string& val);</div>
|
||||||
|
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  </div>
|
||||||
|
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="structToken.html">Token</a>(<span class="keyword">const</span> TokenType& type, <span class="keyword">const</span> <span class="keywordtype">float</span>& val, <span class="keyword">const</span> <a class="code" href="structLocation.html">Location</a>& location);</div>
|
||||||
|
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  </div>
|
||||||
|
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  ~<a class="code" href="structToken.html">Token</a>();</div>
|
||||||
|
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  </div>
|
||||||
|
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <span class="comment">/* Return a string representation of the Token's contents. */</span></div>
|
||||||
|
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  std::string to_string() <span class="keyword">const</span>;</div>
|
||||||
|
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  </div>
|
||||||
|
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <span class="comment">/* Return the contents of the line where the Token was located. */</span></div>
|
||||||
|
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  std::string line() <span class="keyword">const</span>;</div>
|
||||||
|
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  </div>
|
||||||
|
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="comment">/* Return a copy of the original token, but adding the contents of the line where</span></div>
|
||||||
|
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span> <span class="comment"> the token was located. */</span></div>
|
||||||
|
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <span class="keyword">static</span> <a class="code" href="structToken.html">Token</a> make_with_line(<span class="keyword">const</span> <a class="code" href="structToken.html">Token</a>& origin, <span class="keyword">const</span> std::string& line_text);</div>
|
||||||
|
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  </div>
|
||||||
|
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  <span class="keywordtype">void</span> operator=(<span class="keyword">const</span> <a class="code" href="structToken.html">Token</a>& other);</div>
|
||||||
|
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  </div>
|
||||||
|
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <span class="comment">/* Convert the Token into a blank token (does not delete it), so that the Normalizer can remove it afterwards.</span></div>
|
||||||
|
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span> <span class="comment"> This is to not alter vectors while iterating over them. */</span></div>
|
||||||
|
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> erase(<a class="code" href="structToken.html">Token</a>& tk);</div>
|
||||||
|
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  </div>
|
||||||
|
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <span class="comment">/* Return a copy of this Token, but with its TokenType changed. */</span></div>
|
||||||
|
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <a class="code" href="structToken.html">Token</a> copy_with_new_type(<span class="keyword">const</span> TokenType& type);</div>
|
||||||
|
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  </div>
|
||||||
|
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  <span class="comment">/* Iterate over two vectors of Tokens, starting from count for vector A, starting from 0 for vector B, checking if</span></div>
|
||||||
|
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="comment"> the current Tokens' types match. If at any point they don't, return false. Else, return true. */</span></div>
|
||||||
|
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> match_token_types(<span class="keyword">const</span> std::vector<Token>& a, <span class="keyword">const</span> std::vector<Token>& b, <span class="keywordtype">int</span> count);</div>
|
||||||
|
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  </div>
|
||||||
|
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <span class="keyword">private</span>:</div>
|
||||||
|
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  std::string line_text;</div>
|
||||||
|
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span> };</div>
|
||||||
|
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  </div>
|
||||||
|
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="comment">/* typedef to make it easier to see a what a std::vector of tokens is being used for. */</span></div>
|
||||||
|
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span> <span class="keyword">typedef</span> std::vector<Token> TokenStream;</div>
|
||||||
|
<div class="ttc" id="astructLocation_html"><div class="ttname"><a href="structLocation.html">Location</a></div><div class="ttdef"><b>Definition:</b> Location.h:6</div></div>
|
||||||
|
<div class="ttc" id="astructToken_html"><div class="ttname"><a href="structToken.html">Token</a></div><div class="ttdef"><b>Definition:</b> Token.h:54</div></div>
|
||||||
|
</div><!-- fragment --></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>
|
86
docs/html/annotated.html
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
<!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: Class List</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
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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 -->
|
||||||
|
<!-- 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="headertitle">
|
||||||
|
<div class="title">Class List</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here are the classes, structs, unions and interfaces with brief descriptions:</div><div class="directory">
|
||||||
|
<table class="directory">
|
||||||
|
<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="class____benchmark__impl.html" target="_self">__benchmark_impl</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_1_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structArguments.html" target="_self">Arguments</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_2_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classLexer.html" target="_self">Lexer</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_3_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structLocation.html" target="_self">Location</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_4_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classParser.html" target="_self">Parser</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_5_"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="structToken.html" target="_self">Token</a></td><td class="desc"></td></tr>
|
||||||
|
</table>
|
||||||
|
</div><!-- directory -->
|
||||||
|
</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>
|
BIN
docs/html/bc_s.png
Normal file
After Width: | Height: | Size: 676 B |
BIN
docs/html/bdwn.png
Normal file
After Width: | Height: | Size: 147 B |
84
docs/html/classLexer-members.html
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
<!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: Member List</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
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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="headertitle">
|
||||||
|
<div class="title">Lexer Member List</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>This is the complete list of members for <a class="el" href="classLexer.html">Lexer</a>, including all inherited members.</p>
|
||||||
|
<table class="directory">
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>assign_parent_location</b>(std::unique_ptr< Lexer > &lexer, const std::shared_ptr< Location > &loc) (defined in <a class="el" href="classLexer.html">Lexer</a>)</td><td class="entry"><a class="el" href="classLexer.html">Lexer</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td class="entry"><b>lex</b>(const std::string &text) (defined in <a class="el" href="classLexer.html">Lexer</a>)</td><td class="entry"><a class="el" href="classLexer.html">Lexer</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>make_lexer</b>(const std::string &fname) (defined in <a class="el" href="classLexer.html">Lexer</a>)</td><td class="entry"><a class="el" href="classLexer.html">Lexer</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td class="entry"><b>types</b> (defined in <a class="el" href="classLexer.html">Lexer</a>)</td><td class="entry"><a class="el" href="classLexer.html">Lexer</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~Lexer</b>() (defined in <a class="el" href="classLexer.html">Lexer</a>)</td><td class="entry"><a class="el" href="classLexer.html">Lexer</a></td><td class="entry"></td></tr>
|
||||||
|
</table></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>
|
131
docs/html/classLexer.html
Normal file
@ -0,0 +1,131 @@
|
|||||||
|
<!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: Lexer Class 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
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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-static-methods">Static Public Member Functions</a> |
|
||||||
|
<a href="#pub-static-attribs">Static Public Attributes</a> |
|
||||||
|
<a href="classLexer-members.html">List of all members</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">Lexer Class 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:ac53b63f829071be755cc785084126afe"><td class="memItemLeft" align="right" valign="top"><a id="ac53b63f829071be755cc785084126afe"></a>
|
||||||
|
TokenStream </td><td class="memItemRight" valign="bottom"><b>lex</b> (const std::string &text)</td></tr>
|
||||||
|
<tr class="separator:ac53b63f829071be755cc785084126afe"><td class="memSeparator" colspan="2"> </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:a6d24d823847b6d5f7e497d78f5b612d4"><td class="memItemLeft" align="right" valign="top"><a id="a6d24d823847b6d5f7e497d78f5b612d4"></a>
|
||||||
|
static std::unique_ptr< <a class="el" href="classLexer.html">Lexer</a> > </td><td class="memItemRight" valign="bottom"><b>make_lexer</b> (const std::string &fname)</td></tr>
|
||||||
|
<tr class="separator:a6d24d823847b6d5f7e497d78f5b612d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a8f5d1d9281b44e287d7db2ef0c0dff09"><td class="memItemLeft" align="right" valign="top"><a id="a8f5d1d9281b44e287d7db2ef0c0dff09"></a>
|
||||||
|
static void </td><td class="memItemRight" valign="bottom"><b>assign_parent_location</b> (std::unique_ptr< <a class="el" href="classLexer.html">Lexer</a> > &lexer, const std::shared_ptr< <a class="el" href="structLocation.html">Location</a> > &loc)</td></tr>
|
||||||
|
<tr class="separator:a8f5d1d9281b44e287d7db2ef0c0dff09"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
|
||||||
|
Static Public Attributes</h2></td></tr>
|
||||||
|
<tr class="memitem:a8956f4484cb2a477bea5d09e96ea6c8d"><td class="memItemLeft" align="right" valign="top">static const std::array< std::string, TYPE_COUNT > </td><td class="memItemRight" valign="bottom"><b>types</b></td></tr>
|
||||||
|
<tr class="separator:a8956f4484cb2a477bea5d09e96ea6c8d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<h2 class="groupheader">Member Data Documentation</h2>
|
||||||
|
<a id="a8956f4484cb2a477bea5d09e96ea6c8d"></a>
|
||||||
|
<h2 class="memtitle"><span class="permalink"><a href="#a8956f4484cb2a477bea5d09e96ea6c8d">◆ </a></span>types</h2>
|
||||||
|
|
||||||
|
<div class="memitem">
|
||||||
|
<div class="memproto">
|
||||||
|
<table class="mlabels">
|
||||||
|
<tr>
|
||||||
|
<td class="mlabels-left">
|
||||||
|
<table class="memname">
|
||||||
|
<tr>
|
||||||
|
<td class="memname">const std::array< std::string, TYPE_COUNT > Lexer::types</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
<td class="mlabels-right">
|
||||||
|
<span class="mlabels"><span class="mlabel">static</span></span> </td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div><div class="memdoc">
|
||||||
|
<b>Initial value:</b><div class="fragment"><div class="line">= {<span class="stringliteral">"void"</span>, <span class="stringliteral">"bool"</span>, <span class="stringliteral">"str"</span>, <span class="stringliteral">"i8"</span>, <span class="stringliteral">"i16"</span>, <span class="stringliteral">"i32"</span>, <span class="stringliteral">"i64"</span>,</div>
|
||||||
|
<div class="line"> <span class="stringliteral">"u8"</span>, <span class="stringliteral">"u16"</span>, <span class="stringliteral">"u32"</span>, <span class="stringliteral">"u64"</span>, <span class="stringliteral">"f32"</span>, <span class="stringliteral">"f64"</span>, <span class="stringliteral">"f128"</span>}</div>
|
||||||
|
</div><!-- fragment -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
||||||
|
<li>src/<a class="el" href="Lexer_8h_source.html">Lexer.h</a></li>
|
||||||
|
<li>src/Lexer.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>
|
82
docs/html/classParser-members.html
Normal file
@ -0,0 +1,82 @@
|
|||||||
|
<!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: Member List</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
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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="headertitle">
|
||||||
|
<div class="title">Parser Member List</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>This is the complete list of members for <a class="el" href="classParser.html">Parser</a>, including all inherited members.</p>
|
||||||
|
<table class="directory">
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>new_parser</b>(const TokenStream &tokens) (defined in <a class="el" href="classParser.html">Parser</a>)</td><td class="entry"><a class="el" href="classParser.html">Parser</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td class="entry"><b>parse</b>() (defined in <a class="el" href="classParser.html">Parser</a>)</td><td class="entry"><a class="el" href="classParser.html">Parser</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~Parser</b>() (defined in <a class="el" href="classParser.html">Parser</a>)</td><td class="entry"><a class="el" href="classParser.html">Parser</a></td><td class="entry"></td></tr>
|
||||||
|
</table></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>
|
98
docs/html/classParser.html
Normal file
@ -0,0 +1,98 @@
|
|||||||
|
<!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: Parser Class 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
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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="#nested-classes">Classes</a> |
|
||||||
|
<a href="#pub-methods">Public Member Functions</a> |
|
||||||
|
<a href="#pub-static-methods">Static Public Member Functions</a> |
|
||||||
|
<a href="classParser-members.html">List of all members</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">Parser Class 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:ae094dfbfd3065ff21b12a9dd19a771ee"><td class="memItemLeft" align="right" valign="top"><a id="ae094dfbfd3065ff21b12a9dd19a771ee"></a>
|
||||||
|
std::shared_ptr< ASTNode > </td><td class="memItemRight" valign="bottom"><b>parse</b> ()</td></tr>
|
||||||
|
<tr class="separator:ae094dfbfd3065ff21b12a9dd19a771ee"><td class="memSeparator" colspan="2"> </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:a94032f3f6e1d0776c1110e82809c65a5"><td class="memItemLeft" align="right" valign="top"><a id="a94032f3f6e1d0776c1110e82809c65a5"></a>
|
||||||
|
static std::shared_ptr< <a class="el" href="classParser.html">Parser</a> > </td><td class="memItemRight" valign="bottom"><b>new_parser</b> (const TokenStream &tokens)</td></tr>
|
||||||
|
<tr class="separator:a94032f3f6e1d0776c1110e82809c65a5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
||||||
|
<li>src/<a class="el" href="Parser_8h_source.html">Parser.h</a></li>
|
||||||
|
<li>src/Parser.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>
|
84
docs/html/class____benchmark__impl-members.html
Normal file
@ -0,0 +1,84 @@
|
|||||||
|
<!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: Member List</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
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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="headertitle">
|
||||||
|
<div class="title">__benchmark_impl Member List</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>This is the complete list of members for <a class="el" href="class____benchmark__impl.html">__benchmark_impl</a>, including all inherited members.</p>
|
||||||
|
<table class="directory">
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>__benchmark_impl</b>(std::string_view __function_name) (defined in <a class="el" href="class____benchmark__impl.html">__benchmark_impl</a>)</td><td class="entry"><a class="el" href="class____benchmark__impl.html">__benchmark_impl</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td class="entry"><b>disable</b>() (defined in <a class="el" href="class____benchmark__impl.html">__benchmark_impl</a>)</td><td class="entry"><a class="el" href="class____benchmark__impl.html">__benchmark_impl</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>enable</b>() (defined in <a class="el" href="class____benchmark__impl.html">__benchmark_impl</a>)</td><td class="entry"><a class="el" href="class____benchmark__impl.html">__benchmark_impl</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td class="entry"><b>init</b>() (defined in <a class="el" href="class____benchmark__impl.html">__benchmark_impl</a>)</td><td class="entry"><a class="el" href="class____benchmark__impl.html">__benchmark_impl</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~__benchmark_impl</b>() (defined in <a class="el" href="class____benchmark__impl.html">__benchmark_impl</a>)</td><td class="entry"><a class="el" href="class____benchmark__impl.html">__benchmark_impl</a></td><td class="entry"></td></tr>
|
||||||
|
</table></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>
|
103
docs/html/class____benchmark__impl.html
Normal file
@ -0,0 +1,103 @@
|
|||||||
|
<!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: __benchmark_impl Class 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
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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-static-methods">Static Public Member Functions</a> |
|
||||||
|
<a href="class____benchmark__impl-members.html">List of all members</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">__benchmark_impl Class 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:a2efd5ebe7e24a9a6ead5b205d0fe05f8"><td class="memItemLeft" align="right" valign="top"><a id="a2efd5ebe7e24a9a6ead5b205d0fe05f8"></a>
|
||||||
|
 </td><td class="memItemRight" valign="bottom"><b>__benchmark_impl</b> (std::string_view __function_name)</td></tr>
|
||||||
|
<tr class="separator:a2efd5ebe7e24a9a6ead5b205d0fe05f8"><td class="memSeparator" colspan="2"> </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:abef5e19af3518d080c6988fc7558870d"><td class="memItemLeft" align="right" valign="top"><a id="abef5e19af3518d080c6988fc7558870d"></a>
|
||||||
|
static void </td><td class="memItemRight" valign="bottom"><b>enable</b> ()</td></tr>
|
||||||
|
<tr class="separator:abef5e19af3518d080c6988fc7558870d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a5ddf5a17aee0bc1bab08229e574dad76"><td class="memItemLeft" align="right" valign="top"><a id="a5ddf5a17aee0bc1bab08229e574dad76"></a>
|
||||||
|
static void </td><td class="memItemRight" valign="bottom"><b>disable</b> ()</td></tr>
|
||||||
|
<tr class="separator:a5ddf5a17aee0bc1bab08229e574dad76"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a6f260fa4d0f93d4a14d6b2a56d91773a"><td class="memItemLeft" align="right" valign="top"><a id="a6f260fa4d0f93d4a14d6b2a56d91773a"></a>
|
||||||
|
static void </td><td class="memItemRight" valign="bottom"><b>init</b> ()</td></tr>
|
||||||
|
<tr class="separator:a6f260fa4d0f93d4a14d6b2a56d91773a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table>
|
||||||
|
<hr/>The documentation for this class was generated from the following files:<ul>
|
||||||
|
<li>src/<a class="el" href="utils_8h_source.html">utils.h</a></li>
|
||||||
|
<li>src/utils.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>
|
94
docs/html/classes.html
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
<!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: Class Index</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
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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 -->
|
||||||
|
<!-- 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="headertitle">
|
||||||
|
<div class="title">Class Index</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="qindex"><a class="qindex" href="#letter_A">A</a> | <a class="qindex" href="#letter_L">L</a> | <a class="qindex" href="#letter_P">P</a> | <a class="qindex" href="#letter_T">T</a> | <a class="qindex" href="#letter__">_</a></div>
|
||||||
|
<div class="classindex">
|
||||||
|
<dl class="classindex even">
|
||||||
|
<dt class="alphachar"><a name="letter_A">A</a></dt>
|
||||||
|
<dd><a class="el" href="structArguments.html">Arguments</a></dd></dl>
|
||||||
|
<dl class="classindex odd">
|
||||||
|
<dt class="alphachar"><a name="letter_L">L</a></dt>
|
||||||
|
<dd><a class="el" href="classLexer.html">Lexer</a></dd><dd><a class="el" href="structLocation.html">Location</a></dd></dl>
|
||||||
|
<dl class="classindex even">
|
||||||
|
<dt class="alphachar"><a name="letter_P">P</a></dt>
|
||||||
|
<dd><a class="el" href="classParser.html">Parser</a></dd></dl>
|
||||||
|
<dl class="classindex odd">
|
||||||
|
<dt class="alphachar"><a name="letter_T">T</a></dt>
|
||||||
|
<dd><a class="el" href="structToken.html">Token</a></dd></dl>
|
||||||
|
<dl class="classindex even">
|
||||||
|
<dt class="alphachar"><a name="letter__">_</a></dt>
|
||||||
|
<dd><a class="el" href="class____benchmark__impl.html">__benchmark_impl</a></dd></dl>
|
||||||
|
</div>
|
||||||
|
</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>
|
BIN
docs/html/closed.png
Normal file
After Width: | Height: | Size: 132 B |
80
docs/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
<!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: src Directory 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
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">src Directory Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
</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>
|
BIN
docs/html/doc.png
Normal file
After Width: | Height: | Size: 746 B |
1793
docs/html/doxygen.css
Normal file
26
docs/html/doxygen.svg
Normal file
After Width: | Height: | Size: 15 KiB |
121
docs/html/dynsections.js
Normal file
@ -0,0 +1,121 @@
|
|||||||
|
/*
|
||||||
|
@licstart The following is the entire license notice for the JavaScript code in this file.
|
||||||
|
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (C) 1997-2020 by Dimitri van Heesch
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
|
||||||
|
and associated documentation files (the "Software"), to deal in the Software without restriction,
|
||||||
|
including without limitation the rights to use, copy, modify, merge, publish, distribute,
|
||||||
|
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all copies or
|
||||||
|
substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
|
||||||
|
BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||||
|
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
@licend The above is the entire license notice for the JavaScript code in this file
|
||||||
|
*/
|
||||||
|
function toggleVisibility(linkObj)
|
||||||
|
{
|
||||||
|
var base = $(linkObj).attr('id');
|
||||||
|
var summary = $('#'+base+'-summary');
|
||||||
|
var content = $('#'+base+'-content');
|
||||||
|
var trigger = $('#'+base+'-trigger');
|
||||||
|
var src=$(trigger).attr('src');
|
||||||
|
if (content.is(':visible')===true) {
|
||||||
|
content.hide();
|
||||||
|
summary.show();
|
||||||
|
$(linkObj).addClass('closed').removeClass('opened');
|
||||||
|
$(trigger).attr('src',src.substring(0,src.length-8)+'closed.png');
|
||||||
|
} else {
|
||||||
|
content.show();
|
||||||
|
summary.hide();
|
||||||
|
$(linkObj).removeClass('closed').addClass('opened');
|
||||||
|
$(trigger).attr('src',src.substring(0,src.length-10)+'open.png');
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
function updateStripes()
|
||||||
|
{
|
||||||
|
$('table.directory tr').
|
||||||
|
removeClass('even').filter(':visible:even').addClass('even');
|
||||||
|
}
|
||||||
|
|
||||||
|
function toggleLevel(level)
|
||||||
|
{
|
||||||
|
$('table.directory tr').each(function() {
|
||||||
|
var l = this.id.split('_').length-1;
|
||||||
|
var i = $('#img'+this.id.substring(3));
|
||||||
|
var a = $('#arr'+this.id.substring(3));
|
||||||
|
if (l<level+1) {
|
||||||
|
i.removeClass('iconfopen iconfclosed').addClass('iconfopen');
|
||||||
|
a.html('▼');
|
||||||
|
$(this).show();
|
||||||
|
} else if (l==level+1) {
|
||||||
|
i.removeClass('iconfclosed iconfopen').addClass('iconfclosed');
|
||||||
|
a.html('►');
|
||||||
|
$(this).show();
|
||||||
|
} else {
|
||||||
|
$(this).hide();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
updateStripes();
|
||||||
|
}
|
||||||
|
|
||||||
|
function toggleFolder(id)
|
||||||
|
{
|
||||||
|
// the clicked row
|
||||||
|
var currentRow = $('#row_'+id);
|
||||||
|
|
||||||
|
// all rows after the clicked row
|
||||||
|
var rows = currentRow.nextAll("tr");
|
||||||
|
|
||||||
|
var re = new RegExp('^row_'+id+'\\d+_$', "i"); //only one sub
|
||||||
|
|
||||||
|
// only match elements AFTER this one (can't hide elements before)
|
||||||
|
var childRows = rows.filter(function() { return this.id.match(re); });
|
||||||
|
|
||||||
|
// first row is visible we are HIDING
|
||||||
|
if (childRows.filter(':first').is(':visible')===true) {
|
||||||
|
// replace down arrow by right arrow for current row
|
||||||
|
var currentRowSpans = currentRow.find("span");
|
||||||
|
currentRowSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed");
|
||||||
|
currentRowSpans.filter(".arrow").html('►');
|
||||||
|
rows.filter("[id^=row_"+id+"]").hide(); // hide all children
|
||||||
|
} else { // we are SHOWING
|
||||||
|
// replace right arrow by down arrow for current row
|
||||||
|
var currentRowSpans = currentRow.find("span");
|
||||||
|
currentRowSpans.filter(".iconfclosed").removeClass("iconfclosed").addClass("iconfopen");
|
||||||
|
currentRowSpans.filter(".arrow").html('▼');
|
||||||
|
// replace down arrows by right arrows for child rows
|
||||||
|
var childRowsSpans = childRows.find("span");
|
||||||
|
childRowsSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed");
|
||||||
|
childRowsSpans.filter(".arrow").html('►');
|
||||||
|
childRows.show(); //show all children
|
||||||
|
}
|
||||||
|
updateStripes();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function toggleInherit(id)
|
||||||
|
{
|
||||||
|
var rows = $('tr.inherit.'+id);
|
||||||
|
var img = $('tr.inherit_header.'+id+' img');
|
||||||
|
var src = $(img).attr('src');
|
||||||
|
if (rows.filter(':first').is(':visible')===true) {
|
||||||
|
rows.css('display','none');
|
||||||
|
$(img).attr('src',src.substring(0,src.length-8)+'closed.png');
|
||||||
|
} else {
|
||||||
|
rows.css('display','table-row'); // using show() causes jump in firefox
|
||||||
|
$(img).attr('src',src.substring(0,src.length-10)+'open.png');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/* @license-end */
|
92
docs/html/files.html
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
<!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: File List</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
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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 -->
|
||||||
|
<!-- 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="headertitle">
|
||||||
|
<div class="title">File List</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="textblock">Here is a list of all documented files with brief descriptions:</div><div class="directory">
|
||||||
|
<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span>]</div><table class="directory">
|
||||||
|
<tr id="row_0_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_0_" class="arrow" onclick="toggleFolder('0_')">▼</span><span id="img_0_" class="iconfopen" onclick="toggleFolder('0_')"> </span><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html" target="_self">src</a></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_0_0_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a href="Arguments_8h_source.html"><span class="icondoc"></span></a><b>Arguments.h</b></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_0_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a href="Error_8h_source.html"><span class="icondoc"></span></a><b>Error.h</b></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_0_2_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a href="FileIO_8h_source.html"><span class="icondoc"></span></a><b>FileIO.h</b></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_0_3_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a href="Importer_8h_source.html"><span class="icondoc"></span></a><b>Importer.h</b></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_0_4_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a href="Lexer_8h_source.html"><span class="icondoc"></span></a><b>Lexer.h</b></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_0_5_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a href="Location_8h_source.html"><span class="icondoc"></span></a><b>Location.h</b></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_0_6_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a href="Normalizer_8h_source.html"><span class="icondoc"></span></a><b>Normalizer.h</b></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_0_7_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a href="Parser_8h_source.html"><span class="icondoc"></span></a><b>Parser.h</b></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_0_8_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a href="sapphirepch_8h_source.html"><span class="icondoc"></span></a><b>sapphirepch.h</b></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_0_9_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a href="Token_8h_source.html"><span class="icondoc"></span></a><b>Token.h</b></td><td class="desc"></td></tr>
|
||||||
|
<tr id="row_0_10_"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a href="utils_8h_source.html"><span class="icondoc"></span></a><b>utils.h</b></td><td class="desc"></td></tr>
|
||||||
|
</table>
|
||||||
|
</div><!-- directory -->
|
||||||
|
</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>
|
BIN
docs/html/folderclosed.png
Normal file
After Width: | Height: | Size: 616 B |
BIN
docs/html/folderopen.png
Normal file
After Width: | Height: | Size: 597 B |
76
docs/html/index.html
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
<!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: Main Page</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
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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 -->
|
||||||
|
<!-- 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="headertitle">
|
||||||
|
<div class="title">sapphirec Documentation</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
</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>
|
35
docs/html/jquery.js
vendored
Normal file
51
docs/html/menu.js
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
@licstart The following is the entire license notice for the JavaScript code in this file.
|
||||||
|
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (C) 1997-2020 by Dimitri van Heesch
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
|
||||||
|
and associated documentation files (the "Software"), to deal in the Software without restriction,
|
||||||
|
including without limitation the rights to use, copy, modify, merge, publish, distribute,
|
||||||
|
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all copies or
|
||||||
|
substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
|
||||||
|
BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||||
|
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
@licend The above is the entire license notice for the JavaScript code in this file
|
||||||
|
*/
|
||||||
|
function initMenu(relPath,searchEnabled,serverSide,searchPage,search) {
|
||||||
|
function makeTree(data,relPath) {
|
||||||
|
var result='';
|
||||||
|
if ('children' in data) {
|
||||||
|
result+='<ul>';
|
||||||
|
for (var i in data.children) {
|
||||||
|
result+='<li><a href="'+relPath+data.children[i].url+'">'+
|
||||||
|
data.children[i].text+'</a>'+
|
||||||
|
makeTree(data.children[i],relPath)+'</li>';
|
||||||
|
}
|
||||||
|
result+='</ul>';
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
$('#main-nav').append(makeTree(menudata,relPath));
|
||||||
|
$('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu');
|
||||||
|
if (searchEnabled) {
|
||||||
|
if (serverSide) {
|
||||||
|
$('#main-menu').append('<li style="float:right"><div id="MSearchBox" class="MSearchBoxInactive"><div class="left"><form id="FSearchBox" action="'+relPath+searchPage+'" method="get"><img id="MSearchSelect" src="'+relPath+'search/mag.svg" alt=""/><input type="text" id="MSearchField" name="query" value="'+search+'" size="20" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)"></form></div><div class="right"></div></div></li>');
|
||||||
|
} else {
|
||||||
|
$('#main-menu').append('<li style="float:right"><div id="MSearchBox" class="MSearchBoxInactive"><span class="left"><img id="MSearchSelect" src="'+relPath+'search/mag_sel.svg" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/><input type="text" id="MSearchField" value="'+search+'" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/></span><span class="right"><a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="'+relPath+'search/close.svg" alt=""/></a></span></div></li>');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$('#main-menu').smartmenus();
|
||||||
|
}
|
||||||
|
/* @license-end */
|
31
docs/html/menudata.js
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
/*
|
||||||
|
@licstart The following is the entire license notice for the JavaScript code in this file.
|
||||||
|
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (C) 1997-2020 by Dimitri van Heesch
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
|
||||||
|
and associated documentation files (the "Software"), to deal in the Software without restriction,
|
||||||
|
including without limitation the rights to use, copy, modify, merge, publish, distribute,
|
||||||
|
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all copies or
|
||||||
|
substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
|
||||||
|
BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||||
|
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
@licend The above is the entire license notice for the JavaScript code in this file
|
||||||
|
*/
|
||||||
|
var menudata={children:[
|
||||||
|
{text:"Main Page",url:"index.html"},
|
||||||
|
{text:"Classes",url:"annotated.html",children:[
|
||||||
|
{text:"Class List",url:"annotated.html"},
|
||||||
|
{text:"Class Index",url:"classes.html"}]},
|
||||||
|
{text:"Files",url:"files.html",children:[
|
||||||
|
{text:"File List",url:"files.html"}]}]}
|
BIN
docs/html/nav_f.png
Normal file
After Width: | Height: | Size: 153 B |
BIN
docs/html/nav_g.png
Normal file
After Width: | Height: | Size: 95 B |
BIN
docs/html/nav_h.png
Normal file
After Width: | Height: | Size: 98 B |
BIN
docs/html/open.png
Normal file
After Width: | Height: | Size: 123 B |
87
docs/html/sapphirepch_8h_source.html
Normal file
@ -0,0 +1,87 @@
|
|||||||
|
<!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: src/sapphirepch.h 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">sapphirec
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">sapphirepch.h</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#include <algorithm></span></div>
|
||||||
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include <cassert></span></div>
|
||||||
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#include <iostream></span></div>
|
||||||
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include <memory></span></div>
|
||||||
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="preprocessor">#include <string></span></div>
|
||||||
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="preprocessor">#include <string_view></span></div>
|
||||||
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#include <vector></span></div>
|
||||||
|
</div><!-- fragment --></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>
|
37
docs/html/search/all_0.html
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<!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><title></title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta name="generator" content="Doxygen 1.9.1"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="search.css"/>
|
||||||
|
<script type="text/javascript" src="all_0.js"></script>
|
||||||
|
<script type="text/javascript" src="search.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="SRPage">
|
||||||
|
<div id="SRIndex">
|
||||||
|
<div class="SRStatus" id="Loading">Loading...</div>
|
||||||
|
<div id="SRResults"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||||
|
createResults();
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
<div class="SRStatus" id="Searching">Searching...</div>
|
||||||
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||||
|
document.getElementById("Loading").style.display="none";
|
||||||
|
document.getElementById("NoMatches").style.display="none";
|
||||||
|
var searchResults = new SearchResults("searchResults");
|
||||||
|
searchResults.Search();
|
||||||
|
window.addEventListener("message", function(event) {
|
||||||
|
if (event.data == "take_focus") {
|
||||||
|
var elem = searchResults.NavNext(0);
|
||||||
|
if (elem) elem.focus();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
4
docs/html/search/all_0.js
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
var searchData=
|
||||||
|
[
|
||||||
|
['_5f_5fbenchmark_5fimpl_0',['__benchmark_impl',['../class____benchmark__impl.html',1,'']]]
|
||||||
|
];
|
37
docs/html/search/all_1.html
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<!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><title></title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta name="generator" content="Doxygen 1.9.1"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="search.css"/>
|
||||||
|
<script type="text/javascript" src="all_1.js"></script>
|
||||||
|
<script type="text/javascript" src="search.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="SRPage">
|
||||||
|
<div id="SRIndex">
|
||||||
|
<div class="SRStatus" id="Loading">Loading...</div>
|
||||||
|
<div id="SRResults"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||||
|
createResults();
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
<div class="SRStatus" id="Searching">Searching...</div>
|
||||||
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||||
|
document.getElementById("Loading").style.display="none";
|
||||||
|
document.getElementById("NoMatches").style.display="none";
|
||||||
|
var searchResults = new SearchResults("searchResults");
|
||||||
|
searchResults.Search();
|
||||||
|
window.addEventListener("message", function(event) {
|
||||||
|
if (event.data == "take_focus") {
|
||||||
|
var elem = searchResults.NavNext(0);
|
||||||
|
if (elem) elem.focus();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
4
docs/html/search/all_1.js
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
var searchData=
|
||||||
|
[
|
||||||
|
['arguments_1',['Arguments',['../structArguments.html',1,'']]]
|
||||||
|
];
|
37
docs/html/search/all_2.html
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<!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><title></title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta name="generator" content="Doxygen 1.9.1"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="search.css"/>
|
||||||
|
<script type="text/javascript" src="all_2.js"></script>
|
||||||
|
<script type="text/javascript" src="search.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="SRPage">
|
||||||
|
<div id="SRIndex">
|
||||||
|
<div class="SRStatus" id="Loading">Loading...</div>
|
||||||
|
<div id="SRResults"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||||
|
createResults();
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
<div class="SRStatus" id="Searching">Searching...</div>
|
||||||
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||||
|
document.getElementById("Loading").style.display="none";
|
||||||
|
document.getElementById("NoMatches").style.display="none";
|
||||||
|
var searchResults = new SearchResults("searchResults");
|
||||||
|
searchResults.Search();
|
||||||
|
window.addEventListener("message", function(event) {
|
||||||
|
if (event.data == "take_focus") {
|
||||||
|
var elem = searchResults.NavNext(0);
|
||||||
|
if (elem) elem.focus();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
5
docs/html/search/all_2.js
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
var searchData=
|
||||||
|
[
|
||||||
|
['lexer_2',['Lexer',['../classLexer.html',1,'']]],
|
||||||
|
['location_3',['Location',['../structLocation.html',1,'']]]
|
||||||
|
];
|
37
docs/html/search/all_3.html
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<!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><title></title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta name="generator" content="Doxygen 1.9.1"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="search.css"/>
|
||||||
|
<script type="text/javascript" src="all_3.js"></script>
|
||||||
|
<script type="text/javascript" src="search.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="SRPage">
|
||||||
|
<div id="SRIndex">
|
||||||
|
<div class="SRStatus" id="Loading">Loading...</div>
|
||||||
|
<div id="SRResults"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||||
|
createResults();
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
<div class="SRStatus" id="Searching">Searching...</div>
|
||||||
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||||
|
document.getElementById("Loading").style.display="none";
|
||||||
|
document.getElementById("NoMatches").style.display="none";
|
||||||
|
var searchResults = new SearchResults("searchResults");
|
||||||
|
searchResults.Search();
|
||||||
|
window.addEventListener("message", function(event) {
|
||||||
|
if (event.data == "take_focus") {
|
||||||
|
var elem = searchResults.NavNext(0);
|
||||||
|
if (elem) elem.focus();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
4
docs/html/search/all_3.js
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
var searchData=
|
||||||
|
[
|
||||||
|
['parser_4',['Parser',['../classParser.html',1,'']]]
|
||||||
|
];
|
37
docs/html/search/all_4.html
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<!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><title></title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta name="generator" content="Doxygen 1.9.1"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="search.css"/>
|
||||||
|
<script type="text/javascript" src="all_4.js"></script>
|
||||||
|
<script type="text/javascript" src="search.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="SRPage">
|
||||||
|
<div id="SRIndex">
|
||||||
|
<div class="SRStatus" id="Loading">Loading...</div>
|
||||||
|
<div id="SRResults"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||||
|
createResults();
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
<div class="SRStatus" id="Searching">Searching...</div>
|
||||||
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||||
|
document.getElementById("Loading").style.display="none";
|
||||||
|
document.getElementById("NoMatches").style.display="none";
|
||||||
|
var searchResults = new SearchResults("searchResults");
|
||||||
|
searchResults.Search();
|
||||||
|
window.addEventListener("message", function(event) {
|
||||||
|
if (event.data == "take_focus") {
|
||||||
|
var elem = searchResults.NavNext(0);
|
||||||
|
if (elem) elem.focus();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
4
docs/html/search/all_4.js
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
var searchData=
|
||||||
|
[
|
||||||
|
['token_5',['Token',['../structToken.html',1,'']]]
|
||||||
|
];
|
37
docs/html/search/classes_0.html
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<!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><title></title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta name="generator" content="Doxygen 1.9.1"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="search.css"/>
|
||||||
|
<script type="text/javascript" src="classes_0.js"></script>
|
||||||
|
<script type="text/javascript" src="search.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="SRPage">
|
||||||
|
<div id="SRIndex">
|
||||||
|
<div class="SRStatus" id="Loading">Loading...</div>
|
||||||
|
<div id="SRResults"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||||
|
createResults();
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
<div class="SRStatus" id="Searching">Searching...</div>
|
||||||
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||||
|
document.getElementById("Loading").style.display="none";
|
||||||
|
document.getElementById("NoMatches").style.display="none";
|
||||||
|
var searchResults = new SearchResults("searchResults");
|
||||||
|
searchResults.Search();
|
||||||
|
window.addEventListener("message", function(event) {
|
||||||
|
if (event.data == "take_focus") {
|
||||||
|
var elem = searchResults.NavNext(0);
|
||||||
|
if (elem) elem.focus();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
4
docs/html/search/classes_0.js
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
var searchData=
|
||||||
|
[
|
||||||
|
['_5f_5fbenchmark_5fimpl_6',['__benchmark_impl',['../class____benchmark__impl.html',1,'']]]
|
||||||
|
];
|
37
docs/html/search/classes_1.html
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<!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><title></title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta name="generator" content="Doxygen 1.9.1"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="search.css"/>
|
||||||
|
<script type="text/javascript" src="classes_1.js"></script>
|
||||||
|
<script type="text/javascript" src="search.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="SRPage">
|
||||||
|
<div id="SRIndex">
|
||||||
|
<div class="SRStatus" id="Loading">Loading...</div>
|
||||||
|
<div id="SRResults"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||||
|
createResults();
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
<div class="SRStatus" id="Searching">Searching...</div>
|
||||||
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||||
|
document.getElementById("Loading").style.display="none";
|
||||||
|
document.getElementById("NoMatches").style.display="none";
|
||||||
|
var searchResults = new SearchResults("searchResults");
|
||||||
|
searchResults.Search();
|
||||||
|
window.addEventListener("message", function(event) {
|
||||||
|
if (event.data == "take_focus") {
|
||||||
|
var elem = searchResults.NavNext(0);
|
||||||
|
if (elem) elem.focus();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
4
docs/html/search/classes_1.js
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
var searchData=
|
||||||
|
[
|
||||||
|
['arguments_7',['Arguments',['../structArguments.html',1,'']]]
|
||||||
|
];
|
37
docs/html/search/classes_2.html
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<!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><title></title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta name="generator" content="Doxygen 1.9.1"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="search.css"/>
|
||||||
|
<script type="text/javascript" src="classes_2.js"></script>
|
||||||
|
<script type="text/javascript" src="search.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="SRPage">
|
||||||
|
<div id="SRIndex">
|
||||||
|
<div class="SRStatus" id="Loading">Loading...</div>
|
||||||
|
<div id="SRResults"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||||
|
createResults();
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
<div class="SRStatus" id="Searching">Searching...</div>
|
||||||
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||||
|
document.getElementById("Loading").style.display="none";
|
||||||
|
document.getElementById("NoMatches").style.display="none";
|
||||||
|
var searchResults = new SearchResults("searchResults");
|
||||||
|
searchResults.Search();
|
||||||
|
window.addEventListener("message", function(event) {
|
||||||
|
if (event.data == "take_focus") {
|
||||||
|
var elem = searchResults.NavNext(0);
|
||||||
|
if (elem) elem.focus();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
5
docs/html/search/classes_2.js
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
var searchData=
|
||||||
|
[
|
||||||
|
['lexer_8',['Lexer',['../classLexer.html',1,'']]],
|
||||||
|
['location_9',['Location',['../structLocation.html',1,'']]]
|
||||||
|
];
|
37
docs/html/search/classes_3.html
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<!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><title></title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta name="generator" content="Doxygen 1.9.1"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="search.css"/>
|
||||||
|
<script type="text/javascript" src="classes_3.js"></script>
|
||||||
|
<script type="text/javascript" src="search.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="SRPage">
|
||||||
|
<div id="SRIndex">
|
||||||
|
<div class="SRStatus" id="Loading">Loading...</div>
|
||||||
|
<div id="SRResults"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||||
|
createResults();
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
<div class="SRStatus" id="Searching">Searching...</div>
|
||||||
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||||
|
document.getElementById("Loading").style.display="none";
|
||||||
|
document.getElementById("NoMatches").style.display="none";
|
||||||
|
var searchResults = new SearchResults("searchResults");
|
||||||
|
searchResults.Search();
|
||||||
|
window.addEventListener("message", function(event) {
|
||||||
|
if (event.data == "take_focus") {
|
||||||
|
var elem = searchResults.NavNext(0);
|
||||||
|
if (elem) elem.focus();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
4
docs/html/search/classes_3.js
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
var searchData=
|
||||||
|
[
|
||||||
|
['parser_10',['Parser',['../classParser.html',1,'']]]
|
||||||
|
];
|
37
docs/html/search/classes_4.html
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
<!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><title></title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<meta name="generator" content="Doxygen 1.9.1"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="search.css"/>
|
||||||
|
<script type="text/javascript" src="classes_4.js"></script>
|
||||||
|
<script type="text/javascript" src="search.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="SRPage">
|
||||||
|
<div id="SRIndex">
|
||||||
|
<div class="SRStatus" id="Loading">Loading...</div>
|
||||||
|
<div id="SRResults"></div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||||
|
createResults();
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
<div class="SRStatus" id="Searching">Searching...</div>
|
||||||
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||||
|
document.getElementById("Loading").style.display="none";
|
||||||
|
document.getElementById("NoMatches").style.display="none";
|
||||||
|
var searchResults = new SearchResults("searchResults");
|
||||||
|
searchResults.Search();
|
||||||
|
window.addEventListener("message", function(event) {
|
||||||
|
if (event.data == "take_focus") {
|
||||||
|
var elem = searchResults.NavNext(0);
|
||||||
|
if (elem) elem.focus();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
/* @license-end */
|
||||||
|
</script>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
4
docs/html/search/classes_4.js
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
var searchData=
|
||||||
|
[
|
||||||
|
['token_11',['Token',['../structToken.html',1,'']]]
|
||||||
|
];
|
31
docs/html/search/close.svg
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
viewBox="0 0 11 11"
|
||||||
|
height="11"
|
||||||
|
width="11"
|
||||||
|
id="svg2"
|
||||||
|
version="1.1">
|
||||||
|
<metadata
|
||||||
|
id="metadata8">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
<dc:title></dc:title>
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<defs
|
||||||
|
id="defs6" />
|
||||||
|
<path
|
||||||
|
id="path12"
|
||||||
|
d="M 5.5 0.5 A 5 5 0 0 0 0.5 5.5 A 5 5 0 0 0 5.5 10.5 A 5 5 0 0 0 10.5 5.5 A 5 5 0 0 0 5.5 0.5 z M 3.5820312 3 A 0.58291923 0.58291923 0 0 1 4 3.1757812 L 5.5 4.6757812 L 7 3.1757812 A 0.58291923 0.58291923 0 0 1 7.4003906 3 A 0.58291923 0.58291923 0 0 1 7.8242188 4 L 6.3242188 5.5 L 7.8242188 7 A 0.58291923 0.58291923 0 1 1 7 7.8242188 L 5.5 6.3242188 L 4 7.8242188 A 0.58291923 0.58291923 0 1 1 3.1757812 7 L 4.6757812 5.5 L 3.1757812 4 A 0.58291923 0.58291923 0 0 1 3.5820312 3 z "
|
||||||
|
style="stroke-width:1.09870648;fill:#bababa;fill-opacity:1" />
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.3 KiB |
74
docs/html/search/mag_sel.svg
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||||
|
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
version="1.1"
|
||||||
|
id="svg2"
|
||||||
|
width="20"
|
||||||
|
height="19"
|
||||||
|
viewBox="0 0 20 19"
|
||||||
|
sodipodi:docname="mag_sel.svg"
|
||||||
|
inkscape:version="0.92.5 (2060ec1f9f, 2020-04-08)">
|
||||||
|
<metadata
|
||||||
|
id="metadata8">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
<dc:title></dc:title>
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<defs
|
||||||
|
id="defs6" />
|
||||||
|
<sodipodi:namedview
|
||||||
|
pagecolor="#ffffff"
|
||||||
|
bordercolor="#666666"
|
||||||
|
borderopacity="1"
|
||||||
|
objecttolerance="10"
|
||||||
|
gridtolerance="10"
|
||||||
|
guidetolerance="10"
|
||||||
|
inkscape:pageopacity="0"
|
||||||
|
inkscape:pageshadow="2"
|
||||||
|
inkscape:window-width="1920"
|
||||||
|
inkscape:window-height="2096"
|
||||||
|
id="namedview4"
|
||||||
|
showgrid="false"
|
||||||
|
fit-margin-top="0"
|
||||||
|
fit-margin-left="0"
|
||||||
|
fit-margin-right="0"
|
||||||
|
fit-margin-bottom="0"
|
||||||
|
inkscape:zoom="32"
|
||||||
|
inkscape:cx="5.9792688"
|
||||||
|
inkscape:cy="1.1436277"
|
||||||
|
inkscape:window-x="1920"
|
||||||
|
inkscape:window-y="27"
|
||||||
|
inkscape:window-maximized="0"
|
||||||
|
inkscape:current-layer="svg2" />
|
||||||
|
<circle
|
||||||
|
style="fill:#000000;fill-opacity:0;stroke:#656565;stroke-width:1.4;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
|
||||||
|
id="path4611"
|
||||||
|
cx="5.5"
|
||||||
|
cy="8.5"
|
||||||
|
r="3.5" />
|
||||||
|
<path
|
||||||
|
style="fill:#656565;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||||
|
d="M 11,7 13.5,10 16,7 Z"
|
||||||
|
id="path4609"
|
||||||
|
inkscape:connector-curvature="0"
|
||||||
|
sodipodi:nodetypes="cccc" />
|
||||||
|
<path
|
||||||
|
style="fill:none;stroke:#656565;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
|
||||||
|
d="m 8.1085854,11.109059 2.7823556,2.782356"
|
||||||
|
id="path4630"
|
||||||
|
inkscape:connector-curvature="0" />
|
||||||
|
</svg>
|
After Width: | Height: | Size: 2.3 KiB |
13
docs/html/search/nomatches.html
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
<!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><title></title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||||
|
<link rel="stylesheet" type="text/css" href="search.css"/>
|
||||||
|
<script type="text/javascript" src="search.js"></script>
|
||||||
|
</head>
|
||||||
|
<body class="SRPage">
|
||||||
|
<div id="SRIndex">
|
||||||
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
257
docs/html/search/search.css
Normal file
@ -0,0 +1,257 @@
|
|||||||
|
/*---------------- Search Box */
|
||||||
|
|
||||||
|
#MSearchBox {
|
||||||
|
white-space : nowrap;
|
||||||
|
background: white;
|
||||||
|
border-radius: 0.65em;
|
||||||
|
box-shadow: inset 0.5px 0.5px 3px 0px #555;
|
||||||
|
z-index: 102;
|
||||||
|
}
|
||||||
|
|
||||||
|
#MSearchBox .left {
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: middle;
|
||||||
|
height: 1.4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#MSearchSelect {
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: middle;
|
||||||
|
height: 1.4em;
|
||||||
|
padding: 0 0 0 0.3em;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#MSearchField {
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: middle;
|
||||||
|
width: 7.5em;
|
||||||
|
height: 1.1em;
|
||||||
|
margin: 0 0.15em;
|
||||||
|
padding: 0;
|
||||||
|
line-height: 1em;
|
||||||
|
border:none;
|
||||||
|
color: #909090;
|
||||||
|
outline: none;
|
||||||
|
font-family: Arial, Verdana, sans-serif;
|
||||||
|
-webkit-border-radius: 0px;
|
||||||
|
border-radius: 0px;
|
||||||
|
background: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#MSearchBox .right {
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: middle;
|
||||||
|
width: 1.4em;
|
||||||
|
height: 1.4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#MSearchClose {
|
||||||
|
display: none;
|
||||||
|
font-size: inherit;
|
||||||
|
background : none;
|
||||||
|
border: none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
outline: none;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#MSearchCloseImg {
|
||||||
|
height: 1.4em;
|
||||||
|
padding: 0.3em;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.MSearchBoxActive #MSearchField {
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
#main-menu > li:last-child {
|
||||||
|
/* This <li> object is the parent of the search bar */
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
height: 36px;
|
||||||
|
margin-right: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*---------------- Search filter selection */
|
||||||
|
|
||||||
|
#MSearchSelectWindow {
|
||||||
|
display: none;
|
||||||
|
position: absolute;
|
||||||
|
left: 0; top: 0;
|
||||||
|
border: 1px solid #90A5CE;
|
||||||
|
background-color: #F9FAFC;
|
||||||
|
z-index: 10001;
|
||||||
|
padding-top: 4px;
|
||||||
|
padding-bottom: 4px;
|
||||||
|
-moz-border-radius: 4px;
|
||||||
|
-webkit-border-top-left-radius: 4px;
|
||||||
|
-webkit-border-top-right-radius: 4px;
|
||||||
|
-webkit-border-bottom-left-radius: 4px;
|
||||||
|
-webkit-border-bottom-right-radius: 4px;
|
||||||
|
-webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15);
|
||||||
|
}
|
||||||
|
|
||||||
|
.SelectItem {
|
||||||
|
font: 8pt Arial, Verdana, sans-serif;
|
||||||
|
padding-left: 2px;
|
||||||
|
padding-right: 12px;
|
||||||
|
border: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.SelectionMark {
|
||||||
|
margin-right: 4px;
|
||||||
|
font-family: monospace;
|
||||||
|
outline-style: none;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.SelectItem {
|
||||||
|
display: block;
|
||||||
|
outline-style: none;
|
||||||
|
color: #000000;
|
||||||
|
text-decoration: none;
|
||||||
|
padding-left: 6px;
|
||||||
|
padding-right: 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.SelectItem:focus,
|
||||||
|
a.SelectItem:active {
|
||||||
|
color: #000000;
|
||||||
|
outline-style: none;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.SelectItem:hover {
|
||||||
|
color: #FFFFFF;
|
||||||
|
background-color: #3D578C;
|
||||||
|
outline-style: none;
|
||||||
|
text-decoration: none;
|
||||||
|
cursor: pointer;
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*---------------- Search results window */
|
||||||
|
|
||||||
|
iframe#MSearchResults {
|
||||||
|
width: 60ex;
|
||||||
|
height: 15em;
|
||||||
|
}
|
||||||
|
|
||||||
|
#MSearchResultsWindow {
|
||||||
|
display: none;
|
||||||
|
position: absolute;
|
||||||
|
left: 0; top: 0;
|
||||||
|
border: 1px solid #000;
|
||||||
|
background-color: #EEF1F7;
|
||||||
|
z-index:10000;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ----------------------------------- */
|
||||||
|
|
||||||
|
|
||||||
|
#SRIndex {
|
||||||
|
clear:both;
|
||||||
|
padding-bottom: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.SREntry {
|
||||||
|
font-size: 10pt;
|
||||||
|
padding-left: 1ex;
|
||||||
|
}
|
||||||
|
|
||||||
|
.SRPage .SREntry {
|
||||||
|
font-size: 8pt;
|
||||||
|
padding: 1px 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.SRPage {
|
||||||
|
margin: 5px 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.SRChildren {
|
||||||
|
padding-left: 3ex; padding-bottom: .5em
|
||||||
|
}
|
||||||
|
|
||||||
|
.SRPage .SRChildren {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.SRSymbol {
|
||||||
|
font-weight: bold;
|
||||||
|
color: #425E97;
|
||||||
|
font-family: Arial, Verdana, sans-serif;
|
||||||
|
text-decoration: none;
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.SRScope {
|
||||||
|
display: block;
|
||||||
|
color: #425E97;
|
||||||
|
font-family: Arial, Verdana, sans-serif;
|
||||||
|
text-decoration: none;
|
||||||
|
outline: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a.SRSymbol:focus, a.SRSymbol:active,
|
||||||
|
a.SRScope:focus, a.SRScope:active {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.SRScope {
|
||||||
|
padding-left: 4px;
|
||||||
|
font-family: Arial, Verdana, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.SRPage .SRStatus {
|
||||||
|
padding: 2px 5px;
|
||||||
|
font-size: 8pt;
|
||||||
|
font-style: italic;
|
||||||
|
font-family: Arial, Verdana, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
.SRResult {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.searchresults {
|
||||||
|
margin-left: 10px;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*---------------- External search page results */
|
||||||
|
|
||||||
|
.searchresult {
|
||||||
|
background-color: #F0F3F8;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pages b {
|
||||||
|
color: white;
|
||||||
|
padding: 5px 5px 3px 5px;
|
||||||
|
background-image: url("../tab_a.png");
|
||||||
|
background-repeat: repeat-x;
|
||||||
|
text-shadow: 0 1px 1px #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pages {
|
||||||
|
line-height: 17px;
|
||||||
|
margin-left: 4px;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hl {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
#searchresults {
|
||||||
|
margin-bottom: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.searchpages {
|
||||||
|
margin-top: 10px;
|
||||||
|
}
|
||||||
|
|
816
docs/html/search/search.js
Normal file
@ -0,0 +1,816 @@
|
|||||||
|
/*
|
||||||
|
@licstart The following is the entire license notice for the JavaScript code in this file.
|
||||||
|
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (C) 1997-2020 by Dimitri van Heesch
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
|
||||||
|
and associated documentation files (the "Software"), to deal in the Software without restriction,
|
||||||
|
including without limitation the rights to use, copy, modify, merge, publish, distribute,
|
||||||
|
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all copies or
|
||||||
|
substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
|
||||||
|
BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||||
|
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
|
@licend The above is the entire license notice for the JavaScript code in this file
|
||||||
|
*/
|
||||||
|
function convertToId(search)
|
||||||
|
{
|
||||||
|
var result = '';
|
||||||
|
for (i=0;i<search.length;i++)
|
||||||
|
{
|
||||||
|
var c = search.charAt(i);
|
||||||
|
var cn = c.charCodeAt(0);
|
||||||
|
if (c.match(/[a-z0-9\u0080-\uFFFF]/))
|
||||||
|
{
|
||||||
|
result+=c;
|
||||||
|
}
|
||||||
|
else if (cn<16)
|
||||||
|
{
|
||||||
|
result+="_0"+cn.toString(16);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
result+="_"+cn.toString(16);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
function getXPos(item)
|
||||||
|
{
|
||||||
|
var x = 0;
|
||||||
|
if (item.offsetWidth)
|
||||||
|
{
|
||||||
|
while (item && item!=document.body)
|
||||||
|
{
|
||||||
|
x += item.offsetLeft;
|
||||||
|
item = item.offsetParent;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return x;
|
||||||
|
}
|
||||||
|
|
||||||
|
function getYPos(item)
|
||||||
|
{
|
||||||
|
var y = 0;
|
||||||
|
if (item.offsetWidth)
|
||||||
|
{
|
||||||
|
while (item && item!=document.body)
|
||||||
|
{
|
||||||
|
y += item.offsetTop;
|
||||||
|
item = item.offsetParent;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return y;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* A class handling everything associated with the search panel.
|
||||||
|
|
||||||
|
Parameters:
|
||||||
|
name - The name of the global variable that will be
|
||||||
|
storing this instance. Is needed to be able to set timeouts.
|
||||||
|
resultPath - path to use for external files
|
||||||
|
*/
|
||||||
|
function SearchBox(name, resultsPath, inFrame, label, extension)
|
||||||
|
{
|
||||||
|
if (!name || !resultsPath) { alert("Missing parameters to SearchBox."); }
|
||||||
|
if (!extension || extension == "") { extension = ".html"; }
|
||||||
|
|
||||||
|
// ---------- Instance variables
|
||||||
|
this.name = name;
|
||||||
|
this.resultsPath = resultsPath;
|
||||||
|
this.keyTimeout = 0;
|
||||||
|
this.keyTimeoutLength = 500;
|
||||||
|
this.closeSelectionTimeout = 300;
|
||||||
|
this.lastSearchValue = "";
|
||||||
|
this.lastResultsPage = "";
|
||||||
|
this.hideTimeout = 0;
|
||||||
|
this.searchIndex = 0;
|
||||||
|
this.searchActive = false;
|
||||||
|
this.insideFrame = inFrame;
|
||||||
|
this.searchLabel = label;
|
||||||
|
this.extension = extension;
|
||||||
|
|
||||||
|
// ----------- DOM Elements
|
||||||
|
|
||||||
|
this.DOMSearchField = function()
|
||||||
|
{ return document.getElementById("MSearchField"); }
|
||||||
|
|
||||||
|
this.DOMSearchSelect = function()
|
||||||
|
{ return document.getElementById("MSearchSelect"); }
|
||||||
|
|
||||||
|
this.DOMSearchSelectWindow = function()
|
||||||
|
{ return document.getElementById("MSearchSelectWindow"); }
|
||||||
|
|
||||||
|
this.DOMPopupSearchResults = function()
|
||||||
|
{ return document.getElementById("MSearchResults"); }
|
||||||
|
|
||||||
|
this.DOMPopupSearchResultsWindow = function()
|
||||||
|
{ return document.getElementById("MSearchResultsWindow"); }
|
||||||
|
|
||||||
|
this.DOMSearchClose = function()
|
||||||
|
{ return document.getElementById("MSearchClose"); }
|
||||||
|
|
||||||
|
this.DOMSearchBox = function()
|
||||||
|
{ return document.getElementById("MSearchBox"); }
|
||||||
|
|
||||||
|
// ------------ Event Handlers
|
||||||
|
|
||||||
|
// Called when focus is added or removed from the search field.
|
||||||
|
this.OnSearchFieldFocus = function(isActive)
|
||||||
|
{
|
||||||
|
this.Activate(isActive);
|
||||||
|
}
|
||||||
|
|
||||||
|
this.OnSearchSelectShow = function()
|
||||||
|
{
|
||||||
|
var searchSelectWindow = this.DOMSearchSelectWindow();
|
||||||
|
var searchField = this.DOMSearchSelect();
|
||||||
|
|
||||||
|
if (this.insideFrame)
|
||||||
|
{
|
||||||
|
var left = getXPos(searchField);
|
||||||
|
var top = getYPos(searchField);
|
||||||
|
left += searchField.offsetWidth + 6;
|
||||||
|
top += searchField.offsetHeight;
|
||||||
|
|
||||||
|
// show search selection popup
|
||||||
|
searchSelectWindow.style.display='block';
|
||||||
|
left -= searchSelectWindow.offsetWidth;
|
||||||
|
searchSelectWindow.style.left = left + 'px';
|
||||||
|
searchSelectWindow.style.top = top + 'px';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
var left = getXPos(searchField);
|
||||||
|
var top = getYPos(searchField);
|
||||||
|
top += searchField.offsetHeight;
|
||||||
|
|
||||||
|
// show search selection popup
|
||||||
|
searchSelectWindow.style.display='block';
|
||||||
|
searchSelectWindow.style.left = left + 'px';
|
||||||
|
searchSelectWindow.style.top = top + 'px';
|
||||||
|
}
|
||||||
|
|
||||||
|
// stop selection hide timer
|
||||||
|
if (this.hideTimeout)
|
||||||
|
{
|
||||||
|
clearTimeout(this.hideTimeout);
|
||||||
|
this.hideTimeout=0;
|
||||||
|
}
|
||||||
|
return false; // to avoid "image drag" default event
|
||||||
|
}
|
||||||
|
|
||||||
|
this.OnSearchSelectHide = function()
|
||||||
|
{
|
||||||
|
this.hideTimeout = setTimeout(this.name +".CloseSelectionWindow()",
|
||||||
|
this.closeSelectionTimeout);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Called when the content of the search field is changed.
|
||||||
|
this.OnSearchFieldChange = function(evt)
|
||||||
|
{
|
||||||
|
if (this.keyTimeout) // kill running timer
|
||||||
|
{
|
||||||
|
clearTimeout(this.keyTimeout);
|
||||||
|
this.keyTimeout = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
var e = (evt) ? evt : window.event; // for IE
|
||||||
|
if (e.keyCode==40 || e.keyCode==13)
|
||||||
|
{
|
||||||
|
if (e.shiftKey==1)
|
||||||
|
{
|
||||||
|
this.OnSearchSelectShow();
|
||||||
|
var win=this.DOMSearchSelectWindow();
|
||||||
|
for (i=0;i<win.childNodes.length;i++)
|
||||||
|
{
|
||||||
|
var child = win.childNodes[i]; // get span within a
|
||||||
|
if (child.className=='SelectItem')
|
||||||
|
{
|
||||||
|
child.focus();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
window.frames.MSearchResults.postMessage("take_focus", "*");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (e.keyCode==27) // Escape out of the search field
|
||||||
|
{
|
||||||
|
this.DOMSearchField().blur();
|
||||||
|
this.DOMPopupSearchResultsWindow().style.display = 'none';
|
||||||
|
this.DOMSearchClose().style.display = 'none';
|
||||||
|
this.lastSearchValue = '';
|
||||||
|
this.Activate(false);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// strip whitespaces
|
||||||
|
var searchValue = this.DOMSearchField().value.replace(/ +/g, "");
|
||||||
|
|
||||||
|
if (searchValue != this.lastSearchValue) // search value has changed
|
||||||
|
{
|
||||||
|
if (searchValue != "") // non-empty search
|
||||||
|
{
|
||||||
|
// set timer for search update
|
||||||
|
this.keyTimeout = setTimeout(this.name + '.Search()',
|
||||||
|
this.keyTimeoutLength);
|
||||||
|
}
|
||||||
|
else // empty search field
|
||||||
|
{
|
||||||
|
this.DOMPopupSearchResultsWindow().style.display = 'none';
|
||||||
|
this.DOMSearchClose().style.display = 'none';
|
||||||
|
this.lastSearchValue = '';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
this.SelectItemCount = function(id)
|
||||||
|
{
|
||||||
|
var count=0;
|
||||||
|
var win=this.DOMSearchSelectWindow();
|
||||||
|
for (i=0;i<win.childNodes.length;i++)
|
||||||
|
{
|
||||||
|
var child = win.childNodes[i]; // get span within a
|
||||||
|
if (child.className=='SelectItem')
|
||||||
|
{
|
||||||
|
count++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return count;
|
||||||
|
}
|
||||||
|
|
||||||
|
this.SelectItemSet = function(id)
|
||||||
|
{
|
||||||
|
var i,j=0;
|
||||||
|
var win=this.DOMSearchSelectWindow();
|
||||||
|
for (i=0;i<win.childNodes.length;i++)
|
||||||
|
{
|
||||||
|
var child = win.childNodes[i]; // get span within a
|
||||||
|
if (child.className=='SelectItem')
|
||||||
|
{
|
||||||
|
var node = child.firstChild;
|
||||||
|
if (j==id)
|
||||||
|
{
|
||||||
|
node.innerHTML='•';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
node.innerHTML=' ';
|
||||||
|
}
|
||||||
|
j++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Called when an search filter selection is made.
|
||||||
|
// set item with index id as the active item
|
||||||
|
this.OnSelectItem = function(id)
|
||||||
|
{
|
||||||
|
this.searchIndex = id;
|
||||||
|
this.SelectItemSet(id);
|
||||||
|
var searchValue = this.DOMSearchField().value.replace(/ +/g, "");
|
||||||
|
if (searchValue!="" && this.searchActive) // something was found -> do a search
|
||||||
|
{
|
||||||
|
this.Search();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
this.OnSearchSelectKey = function(evt)
|
||||||
|
{
|
||||||
|
var e = (evt) ? evt : window.event; // for IE
|
||||||
|
if (e.keyCode==40 && this.searchIndex<this.SelectItemCount()) // Down
|
||||||
|
{
|
||||||
|
this.searchIndex++;
|
||||||
|
this.OnSelectItem(this.searchIndex);
|
||||||
|
}
|
||||||
|
else if (e.keyCode==38 && this.searchIndex>0) // Up
|
||||||
|
{
|
||||||
|
this.searchIndex--;
|
||||||
|
this.OnSelectItem(this.searchIndex);
|
||||||
|
}
|
||||||
|
else if (e.keyCode==13 || e.keyCode==27)
|
||||||
|
{
|
||||||
|
this.OnSelectItem(this.searchIndex);
|
||||||
|
this.CloseSelectionWindow();
|
||||||
|
this.DOMSearchField().focus();
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
// --------- Actions
|
||||||
|
|
||||||
|
// Closes the results window.
|
||||||
|
this.CloseResultsWindow = function()
|
||||||
|
{
|
||||||
|
this.DOMPopupSearchResultsWindow().style.display = 'none';
|
||||||
|
this.DOMSearchClose().style.display = 'none';
|
||||||
|
this.Activate(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
this.CloseSelectionWindow = function()
|
||||||
|
{
|
||||||
|
this.DOMSearchSelectWindow().style.display = 'none';
|
||||||
|
}
|
||||||
|
|
||||||
|
// Performs a search.
|
||||||
|
this.Search = function()
|
||||||
|
{
|
||||||
|
this.keyTimeout = 0;
|
||||||
|
|
||||||
|
// strip leading whitespace
|
||||||
|
var searchValue = this.DOMSearchField().value.replace(/^ +/, "");
|
||||||
|
|
||||||
|
var code = searchValue.toLowerCase().charCodeAt(0);
|
||||||
|
var idxChar = searchValue.substr(0, 1).toLowerCase();
|
||||||
|
if ( 0xD800 <= code && code <= 0xDBFF && searchValue > 1) // surrogate pair
|
||||||
|
{
|
||||||
|
idxChar = searchValue.substr(0, 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
var resultsPage;
|
||||||
|
var resultsPageWithSearch;
|
||||||
|
var hasResultsPage;
|
||||||
|
|
||||||
|
var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar);
|
||||||
|
if (idx!=-1)
|
||||||
|
{
|
||||||
|
var hexCode=idx.toString(16);
|
||||||
|
resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + this.extension;
|
||||||
|
resultsPageWithSearch = resultsPage+'?'+escape(searchValue);
|
||||||
|
hasResultsPage = true;
|
||||||
|
}
|
||||||
|
else // nothing available for this search term
|
||||||
|
{
|
||||||
|
resultsPage = this.resultsPath + '/nomatches' + this.extension;
|
||||||
|
resultsPageWithSearch = resultsPage;
|
||||||
|
hasResultsPage = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
window.frames.MSearchResults.location = resultsPageWithSearch;
|
||||||
|
var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow();
|
||||||
|
|
||||||
|
if (domPopupSearchResultsWindow.style.display!='block')
|
||||||
|
{
|
||||||
|
var domSearchBox = this.DOMSearchBox();
|
||||||
|
this.DOMSearchClose().style.display = 'inline-block';
|
||||||
|
if (this.insideFrame)
|
||||||
|
{
|
||||||
|
var domPopupSearchResults = this.DOMPopupSearchResults();
|
||||||
|
domPopupSearchResultsWindow.style.position = 'relative';
|
||||||
|
domPopupSearchResultsWindow.style.display = 'block';
|
||||||
|
var width = document.body.clientWidth - 8; // the -8 is for IE :-(
|
||||||
|
domPopupSearchResultsWindow.style.width = width + 'px';
|
||||||
|
domPopupSearchResults.style.width = width + 'px';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
var domPopupSearchResults = this.DOMPopupSearchResults();
|
||||||
|
var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth;
|
||||||
|
var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1;
|
||||||
|
domPopupSearchResultsWindow.style.display = 'block';
|
||||||
|
left -= domPopupSearchResults.offsetWidth;
|
||||||
|
domPopupSearchResultsWindow.style.top = top + 'px';
|
||||||
|
domPopupSearchResultsWindow.style.left = left + 'px';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
this.lastSearchValue = searchValue;
|
||||||
|
this.lastResultsPage = resultsPage;
|
||||||
|
}
|
||||||
|
|
||||||
|
// -------- Activation Functions
|
||||||
|
|
||||||
|
// Activates or deactivates the search panel, resetting things to
|
||||||
|
// their default values if necessary.
|
||||||
|
this.Activate = function(isActive)
|
||||||
|
{
|
||||||
|
if (isActive || // open it
|
||||||
|
this.DOMPopupSearchResultsWindow().style.display == 'block'
|
||||||
|
)
|
||||||
|
{
|
||||||
|
this.DOMSearchBox().className = 'MSearchBoxActive';
|
||||||
|
|
||||||
|
var searchField = this.DOMSearchField();
|
||||||
|
|
||||||
|
if (searchField.value == this.searchLabel) // clear "Search" term upon entry
|
||||||
|
{
|
||||||
|
searchField.value = '';
|
||||||
|
this.searchActive = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (!isActive) // directly remove the panel
|
||||||
|
{
|
||||||
|
this.DOMSearchBox().className = 'MSearchBoxInactive';
|
||||||
|
this.DOMSearchField().value = this.searchLabel;
|
||||||
|
this.searchActive = false;
|
||||||
|
this.lastSearchValue = ''
|
||||||
|
this.lastResultsPage = '';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// -----------------------------------------------------------------------
|
||||||
|
|
||||||
|
// The class that handles everything on the search results page.
|
||||||
|
function SearchResults(name)
|
||||||
|
{
|
||||||
|
// The number of matches from the last run of <Search()>.
|
||||||
|
this.lastMatchCount = 0;
|
||||||
|
this.lastKey = 0;
|
||||||
|
this.repeatOn = false;
|
||||||
|
|
||||||
|
// Toggles the visibility of the passed element ID.
|
||||||
|
this.FindChildElement = function(id)
|
||||||
|
{
|
||||||
|
var parentElement = document.getElementById(id);
|
||||||
|
var element = parentElement.firstChild;
|
||||||
|
|
||||||
|
while (element && element!=parentElement)
|
||||||
|
{
|
||||||
|
if (element.nodeName.toLowerCase() == 'div' && element.className == 'SRChildren')
|
||||||
|
{
|
||||||
|
return element;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (element.nodeName.toLowerCase() == 'div' && element.hasChildNodes())
|
||||||
|
{
|
||||||
|
element = element.firstChild;
|
||||||
|
}
|
||||||
|
else if (element.nextSibling)
|
||||||
|
{
|
||||||
|
element = element.nextSibling;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
do
|
||||||
|
{
|
||||||
|
element = element.parentNode;
|
||||||
|
}
|
||||||
|
while (element && element!=parentElement && !element.nextSibling);
|
||||||
|
|
||||||
|
if (element && element!=parentElement)
|
||||||
|
{
|
||||||
|
element = element.nextSibling;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
this.Toggle = function(id)
|
||||||
|
{
|
||||||
|
var element = this.FindChildElement(id);
|
||||||
|
if (element)
|
||||||
|
{
|
||||||
|
if (element.style.display == 'block')
|
||||||
|
{
|
||||||
|
element.style.display = 'none';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
element.style.display = 'block';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Searches for the passed string. If there is no parameter,
|
||||||
|
// it takes it from the URL query.
|
||||||
|
//
|
||||||
|
// Always returns true, since other documents may try to call it
|
||||||
|
// and that may or may not be possible.
|
||||||
|
this.Search = function(search)
|
||||||
|
{
|
||||||
|
if (!search) // get search word from URL
|
||||||
|
{
|
||||||
|
search = window.location.search;
|
||||||
|
search = search.substring(1); // Remove the leading '?'
|
||||||
|
search = unescape(search);
|
||||||
|
}
|
||||||
|
|
||||||
|
search = search.replace(/^ +/, ""); // strip leading spaces
|
||||||
|
search = search.replace(/ +$/, ""); // strip trailing spaces
|
||||||
|
search = search.toLowerCase();
|
||||||
|
search = convertToId(search);
|
||||||
|
|
||||||
|
var resultRows = document.getElementsByTagName("div");
|
||||||
|
var matches = 0;
|
||||||
|
|
||||||
|
var i = 0;
|
||||||
|
while (i < resultRows.length)
|
||||||
|
{
|
||||||
|
var row = resultRows.item(i);
|
||||||
|
if (row.className == "SRResult")
|
||||||
|
{
|
||||||
|
var rowMatchName = row.id.toLowerCase();
|
||||||
|
rowMatchName = rowMatchName.replace(/^sr\d*_/, ''); // strip 'sr123_'
|
||||||
|
|
||||||
|
if (search.length<=rowMatchName.length &&
|
||||||
|
rowMatchName.substr(0, search.length)==search)
|
||||||
|
{
|
||||||
|
row.style.display = 'block';
|
||||||
|
matches++;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
row.style.display = 'none';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
i++;
|
||||||
|
}
|
||||||
|
document.getElementById("Searching").style.display='none';
|
||||||
|
if (matches == 0) // no results
|
||||||
|
{
|
||||||
|
document.getElementById("NoMatches").style.display='block';
|
||||||
|
}
|
||||||
|
else // at least one result
|
||||||
|
{
|
||||||
|
document.getElementById("NoMatches").style.display='none';
|
||||||
|
}
|
||||||
|
this.lastMatchCount = matches;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// return the first item with index index or higher that is visible
|
||||||
|
this.NavNext = function(index)
|
||||||
|
{
|
||||||
|
var focusItem;
|
||||||
|
while (1)
|
||||||
|
{
|
||||||
|
var focusName = 'Item'+index;
|
||||||
|
focusItem = document.getElementById(focusName);
|
||||||
|
if (focusItem && focusItem.parentNode.parentNode.style.display=='block')
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
else if (!focusItem) // last element
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
focusItem=null;
|
||||||
|
index++;
|
||||||
|
}
|
||||||
|
return focusItem;
|
||||||
|
}
|
||||||
|
|
||||||
|
this.NavPrev = function(index)
|
||||||
|
{
|
||||||
|
var focusItem;
|
||||||
|
while (1)
|
||||||
|
{
|
||||||
|
var focusName = 'Item'+index;
|
||||||
|
focusItem = document.getElementById(focusName);
|
||||||
|
if (focusItem && focusItem.parentNode.parentNode.style.display=='block')
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
else if (!focusItem) // last element
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
focusItem=null;
|
||||||
|
index--;
|
||||||
|
}
|
||||||
|
return focusItem;
|
||||||
|
}
|
||||||
|
|
||||||
|
this.ProcessKeys = function(e)
|
||||||
|
{
|
||||||
|
if (e.type == "keydown")
|
||||||
|
{
|
||||||
|
this.repeatOn = false;
|
||||||
|
this.lastKey = e.keyCode;
|
||||||
|
}
|
||||||
|
else if (e.type == "keypress")
|
||||||
|
{
|
||||||
|
if (!this.repeatOn)
|
||||||
|
{
|
||||||
|
if (this.lastKey) this.repeatOn = true;
|
||||||
|
return false; // ignore first keypress after keydown
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (e.type == "keyup")
|
||||||
|
{
|
||||||
|
this.lastKey = 0;
|
||||||
|
this.repeatOn = false;
|
||||||
|
}
|
||||||
|
return this.lastKey!=0;
|
||||||
|
}
|
||||||
|
|
||||||
|
this.Nav = function(evt,itemIndex)
|
||||||
|
{
|
||||||
|
var e = (evt) ? evt : window.event; // for IE
|
||||||
|
if (e.keyCode==13) return true;
|
||||||
|
if (!this.ProcessKeys(e)) return false;
|
||||||
|
|
||||||
|
if (this.lastKey==38) // Up
|
||||||
|
{
|
||||||
|
var newIndex = itemIndex-1;
|
||||||
|
var focusItem = this.NavPrev(newIndex);
|
||||||
|
if (focusItem)
|
||||||
|
{
|
||||||
|
var child = this.FindChildElement(focusItem.parentNode.parentNode.id);
|
||||||
|
if (child && child.style.display == 'block') // children visible
|
||||||
|
{
|
||||||
|
var n=0;
|
||||||
|
var tmpElem;
|
||||||
|
while (1) // search for last child
|
||||||
|
{
|
||||||
|
tmpElem = document.getElementById('Item'+newIndex+'_c'+n);
|
||||||
|
if (tmpElem)
|
||||||
|
{
|
||||||
|
focusItem = tmpElem;
|
||||||
|
}
|
||||||
|
else // found it!
|
||||||
|
{
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
n++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (focusItem)
|
||||||
|
{
|
||||||
|
focusItem.focus();
|
||||||
|
}
|
||||||
|
else // return focus to search field
|
||||||
|
{
|
||||||
|
parent.document.getElementById("MSearchField").focus();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (this.lastKey==40) // Down
|
||||||
|
{
|
||||||
|
var newIndex = itemIndex+1;
|
||||||
|
var focusItem;
|
||||||
|
var item = document.getElementById('Item'+itemIndex);
|
||||||
|
var elem = this.FindChildElement(item.parentNode.parentNode.id);
|
||||||
|
if (elem && elem.style.display == 'block') // children visible
|
||||||
|
{
|
||||||
|
focusItem = document.getElementById('Item'+itemIndex+'_c0');
|
||||||
|
}
|
||||||
|
if (!focusItem) focusItem = this.NavNext(newIndex);
|
||||||
|
if (focusItem) focusItem.focus();
|
||||||
|
}
|
||||||
|
else if (this.lastKey==39) // Right
|
||||||
|
{
|
||||||
|
var item = document.getElementById('Item'+itemIndex);
|
||||||
|
var elem = this.FindChildElement(item.parentNode.parentNode.id);
|
||||||
|
if (elem) elem.style.display = 'block';
|
||||||
|
}
|
||||||
|
else if (this.lastKey==37) // Left
|
||||||
|
{
|
||||||
|
var item = document.getElementById('Item'+itemIndex);
|
||||||
|
var elem = this.FindChildElement(item.parentNode.parentNode.id);
|
||||||
|
if (elem) elem.style.display = 'none';
|
||||||
|
}
|
||||||
|
else if (this.lastKey==27) // Escape
|
||||||
|
{
|
||||||
|
parent.searchBox.CloseResultsWindow();
|
||||||
|
parent.document.getElementById("MSearchField").focus();
|
||||||
|
}
|
||||||
|
else if (this.lastKey==13) // Enter
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
this.NavChild = function(evt,itemIndex,childIndex)
|
||||||
|
{
|
||||||
|
var e = (evt) ? evt : window.event; // for IE
|
||||||
|
if (e.keyCode==13) return true;
|
||||||
|
if (!this.ProcessKeys(e)) return false;
|
||||||
|
|
||||||
|
if (this.lastKey==38) // Up
|
||||||
|
{
|
||||||
|
if (childIndex>0)
|
||||||
|
{
|
||||||
|
var newIndex = childIndex-1;
|
||||||
|
document.getElementById('Item'+itemIndex+'_c'+newIndex).focus();
|
||||||
|
}
|
||||||
|
else // already at first child, jump to parent
|
||||||
|
{
|
||||||
|
document.getElementById('Item'+itemIndex).focus();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (this.lastKey==40) // Down
|
||||||
|
{
|
||||||
|
var newIndex = childIndex+1;
|
||||||
|
var elem = document.getElementById('Item'+itemIndex+'_c'+newIndex);
|
||||||
|
if (!elem) // last child, jump to parent next parent
|
||||||
|
{
|
||||||
|
elem = this.NavNext(itemIndex+1);
|
||||||
|
}
|
||||||
|
if (elem)
|
||||||
|
{
|
||||||
|
elem.focus();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (this.lastKey==27) // Escape
|
||||||
|
{
|
||||||
|
parent.searchBox.CloseResultsWindow();
|
||||||
|
parent.document.getElementById("MSearchField").focus();
|
||||||
|
}
|
||||||
|
else if (this.lastKey==13) // Enter
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function setKeyActions(elem,action)
|
||||||
|
{
|
||||||
|
elem.setAttribute('onkeydown',action);
|
||||||
|
elem.setAttribute('onkeypress',action);
|
||||||
|
elem.setAttribute('onkeyup',action);
|
||||||
|
}
|
||||||
|
|
||||||
|
function setClassAttr(elem,attr)
|
||||||
|
{
|
||||||
|
elem.setAttribute('class',attr);
|
||||||
|
elem.setAttribute('className',attr);
|
||||||
|
}
|
||||||
|
|
||||||
|
function createResults()
|
||||||
|
{
|
||||||
|
var results = document.getElementById("SRResults");
|
||||||
|
for (var e=0; e<searchData.length; e++)
|
||||||
|
{
|
||||||
|
var id = searchData[e][0];
|
||||||
|
var srResult = document.createElement('div');
|
||||||
|
srResult.setAttribute('id','SR_'+id);
|
||||||
|
setClassAttr(srResult,'SRResult');
|
||||||
|
var srEntry = document.createElement('div');
|
||||||
|
setClassAttr(srEntry,'SREntry');
|
||||||
|
var srLink = document.createElement('a');
|
||||||
|
srLink.setAttribute('id','Item'+e);
|
||||||
|
setKeyActions(srLink,'return searchResults.Nav(event,'+e+')');
|
||||||
|
setClassAttr(srLink,'SRSymbol');
|
||||||
|
srLink.innerHTML = searchData[e][1][0];
|
||||||
|
srEntry.appendChild(srLink);
|
||||||
|
if (searchData[e][1].length==2) // single result
|
||||||
|
{
|
||||||
|
srLink.setAttribute('href',searchData[e][1][1][0]);
|
||||||
|
if (searchData[e][1][1][1])
|
||||||
|
{
|
||||||
|
srLink.setAttribute('target','_parent');
|
||||||
|
}
|
||||||
|
var srScope = document.createElement('span');
|
||||||
|
setClassAttr(srScope,'SRScope');
|
||||||
|
srScope.innerHTML = searchData[e][1][1][2];
|
||||||
|
srEntry.appendChild(srScope);
|
||||||
|
}
|
||||||
|
else // multiple results
|
||||||
|
{
|
||||||
|
srLink.setAttribute('href','javascript:searchResults.Toggle("SR_'+id+'")');
|
||||||
|
var srChildren = document.createElement('div');
|
||||||
|
setClassAttr(srChildren,'SRChildren');
|
||||||
|
for (var c=0; c<searchData[e][1].length-1; c++)
|
||||||
|
{
|
||||||
|
var srChild = document.createElement('a');
|
||||||
|
srChild.setAttribute('id','Item'+e+'_c'+c);
|
||||||
|
setKeyActions(srChild,'return searchResults.NavChild(event,'+e+','+c+')');
|
||||||
|
setClassAttr(srChild,'SRScope');
|
||||||
|
srChild.setAttribute('href',searchData[e][1][c+1][0]);
|
||||||
|
if (searchData[e][1][c+1][1])
|
||||||
|
{
|
||||||
|
srChild.setAttribute('target','_parent');
|
||||||
|
}
|
||||||
|
srChild.innerHTML = searchData[e][1][c+1][2];
|
||||||
|
srChildren.appendChild(srChild);
|
||||||
|
}
|
||||||
|
srEntry.appendChild(srChildren);
|
||||||
|
}
|
||||||
|
srResult.appendChild(srEntry);
|
||||||
|
results.appendChild(srResult);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function init_search()
|
||||||
|
{
|
||||||
|
var results = document.getElementById("MSearchSelectWindow");
|
||||||
|
for (var key in indexSectionLabels)
|
||||||
|
{
|
||||||
|
var link = document.createElement('a');
|
||||||
|
link.setAttribute('class','SelectItem');
|
||||||
|
link.setAttribute('onclick','searchBox.OnSelectItem('+key+')');
|
||||||
|
link.href='javascript:void(0)';
|
||||||
|
link.innerHTML='<span class="SelectionMark"> </span>'+indexSectionLabels[key];
|
||||||
|
results.appendChild(link);
|
||||||
|
}
|
||||||
|
searchBox.OnSelectItem(0);
|
||||||
|
}
|
||||||
|
/* @license-end */
|
BIN
docs/html/search/search_l.png
Normal file
After Width: | Height: | Size: 567 B |
BIN
docs/html/search/search_m.png
Normal file
After Width: | Height: | Size: 158 B |
BIN
docs/html/search/search_r.png
Normal file
After Width: | Height: | Size: 553 B |
18
docs/html/search/searchdata.js
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
var indexSectionsWithContent =
|
||||||
|
{
|
||||||
|
0: "_alpt",
|
||||||
|
1: "_alpt"
|
||||||
|
};
|
||||||
|
|
||||||
|
var indexSectionNames =
|
||||||
|
{
|
||||||
|
0: "all",
|
||||||
|
1: "classes"
|
||||||
|
};
|
||||||
|
|
||||||
|
var indexSectionLabels =
|
||||||
|
{
|
||||||
|
0: "All",
|
||||||
|
1: "Classes"
|
||||||
|
};
|
||||||
|
|
BIN
docs/html/splitbar.png
Normal file
After Width: | Height: | Size: 314 B |
85
docs/html/structArguments-members.html
Normal file
@ -0,0 +1,85 @@
|
|||||||
|
<!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: Member List</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
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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="headertitle">
|
||||||
|
<div class="title">Arguments Member List</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>This is the complete list of members for <a class="el" href="structArguments.html">Arguments</a>, including all inherited members.</p>
|
||||||
|
<table class="directory">
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>cpu</b> (defined in <a class="el" href="structArguments.html">Arguments</a>)</td><td class="entry"><a class="el" href="structArguments.html">Arguments</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td class="entry"><b>input_fname</b> (defined in <a class="el" href="structArguments.html">Arguments</a>)</td><td class="entry"><a class="el" href="structArguments.html">Arguments</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>output_fname</b> (defined in <a class="el" href="structArguments.html">Arguments</a>)</td><td class="entry"><a class="el" href="structArguments.html">Arguments</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td class="entry"><b>parse</b>(int argc, char **argv) (defined in <a class="el" href="structArguments.html">Arguments</a>)</td><td class="entry"><a class="el" href="structArguments.html">Arguments</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>TargetTriple</b> (defined in <a class="el" href="structArguments.html">Arguments</a>)</td><td class="entry"><a class="el" href="structArguments.html">Arguments</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td class="entry"><b>wimport</b> (defined in <a class="el" href="structArguments.html">Arguments</a>)</td><td class="entry"><a class="el" href="structArguments.html">Arguments</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
|
||||||
|
</table></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>
|
109
docs/html/structArguments.html
Normal file
@ -0,0 +1,109 @@
|
|||||||
|
<!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: Arguments 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
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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-static-methods">Static Public Member Functions</a> |
|
||||||
|
<a href="#pub-static-attribs">Static Public Attributes</a> |
|
||||||
|
<a href="structArguments-members.html">List of all members</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">Arguments Struct Reference</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<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:a473917d0a36d731d31f89d49c2dc528c"><td class="memItemLeft" align="right" valign="top"><a id="a473917d0a36d731d31f89d49c2dc528c"></a>
|
||||||
|
static void </td><td class="memItemRight" valign="bottom"><b>parse</b> (int argc, char **argv)</td></tr>
|
||||||
|
<tr class="separator:a473917d0a36d731d31f89d49c2dc528c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
</table><table class="memberdecls">
|
||||||
|
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
|
||||||
|
Static Public Attributes</h2></td></tr>
|
||||||
|
<tr class="memitem:a415be55e6706062e5a393e9db8761b07"><td class="memItemLeft" align="right" valign="top"><a id="a415be55e6706062e5a393e9db8761b07"></a>
|
||||||
|
static std::string </td><td class="memItemRight" valign="bottom"><b>input_fname</b></td></tr>
|
||||||
|
<tr class="separator:a415be55e6706062e5a393e9db8761b07"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ad11fab97672b642a76aab7c0217c9f2b"><td class="memItemLeft" align="right" valign="top"><a id="ad11fab97672b642a76aab7c0217c9f2b"></a>
|
||||||
|
static std::string </td><td class="memItemRight" valign="bottom"><b>output_fname</b></td></tr>
|
||||||
|
<tr class="separator:ad11fab97672b642a76aab7c0217c9f2b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a139f6982398f2c790dc298415fc9b007"><td class="memItemLeft" align="right" valign="top"><a id="a139f6982398f2c790dc298415fc9b007"></a>
|
||||||
|
static bool </td><td class="memItemRight" valign="bottom"><b>wimport</b></td></tr>
|
||||||
|
<tr class="separator:a139f6982398f2c790dc298415fc9b007"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a30c0e29cd531baee48619881301db9d4"><td class="memItemLeft" align="right" valign="top"><a id="a30c0e29cd531baee48619881301db9d4"></a>
|
||||||
|
static std::string </td><td class="memItemRight" valign="bottom"><b>cpu</b></td></tr>
|
||||||
|
<tr class="separator:a30c0e29cd531baee48619881301db9d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a7fad3659de10cf771380b86795c21928"><td class="memItemLeft" align="right" valign="top"><a id="a7fad3659de10cf771380b86795c21928"></a>
|
||||||
|
static llvm::Triple </td><td class="memItemRight" valign="bottom"><b>TargetTriple</b></td></tr>
|
||||||
|
<tr class="separator:a7fad3659de10cf771380b86795c21928"><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="Arguments_8h_source.html">Arguments.h</a></li>
|
||||||
|
<li>src/Arguments.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>
|
91
docs/html/structLocation-members.html
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
<!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: Member List</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
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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="headertitle">
|
||||||
|
<div class="title">Location Member List</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>This is the complete list of members for <a class="el" href="structLocation.html">Location</a>, including all inherited members.</p>
|
||||||
|
<table class="directory">
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>advance</b>() (defined in <a class="el" href="structLocation.html">Location</a>)</td><td class="entry"><a class="el" href="structLocation.html">Location</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td class="entry"><b>column</b> (defined in <a class="el" href="structLocation.html">Location</a>)</td><td class="entry"><a class="el" href="structLocation.html">Location</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>copy</b>(const Location &other) (defined in <a class="el" href="structLocation.html">Location</a>)</td><td class="entry"><a class="el" href="structLocation.html">Location</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td class="entry"><b>fname</b> (defined in <a class="el" href="structLocation.html">Location</a>)</td><td class="entry"><a class="el" href="structLocation.html">Location</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>line</b> (defined in <a class="el" href="structLocation.html">Location</a>)</td><td class="entry"><a class="el" href="structLocation.html">Location</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td class="entry"><b>Location</b>(int ln, int col, std::string file) (defined in <a class="el" href="structLocation.html">Location</a>)</td><td class="entry"><a class="el" href="structLocation.html">Location</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>operator=</b>(const Location &other) (defined in <a class="el" href="structLocation.html">Location</a>)</td><td class="entry"><a class="el" href="structLocation.html">Location</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td class="entry"><b>paren_str</b>() const (defined in <a class="el" href="structLocation.html">Location</a>)</td><td class="entry"><a class="el" href="structLocation.html">Location</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>parent</b> (defined in <a class="el" href="structLocation.html">Location</a>)</td><td class="entry"><a class="el" href="structLocation.html">Location</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td class="entry"><b>pos_from_char</b>(const char &character) (defined in <a class="el" href="structLocation.html">Location</a>)</td><td class="entry"><a class="el" href="structLocation.html">Location</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>str</b>() const (defined in <a class="el" href="structLocation.html">Location</a>)</td><td class="entry"><a class="el" href="structLocation.html">Location</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td class="entry"><b>~Location</b>() (defined in <a class="el" href="structLocation.html">Location</a>)</td><td class="entry"><a class="el" href="structLocation.html">Location</a></td><td class="entry"></td></tr>
|
||||||
|
</table></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>
|
124
docs/html/structLocation.html
Normal file
@ -0,0 +1,124 @@
|
|||||||
|
<!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
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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>
|
98
docs/html/structToken-members.html
Normal file
@ -0,0 +1,98 @@
|
|||||||
|
<!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: Member List</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
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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="headertitle">
|
||||||
|
<div class="title">Token Member List</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
|
||||||
|
<p>This is the complete list of members for <a class="el" href="structToken.html">Token</a>, including all inherited members.</p>
|
||||||
|
<table class="directory">
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>copy_with_new_type</b>(const TokenType &type) (defined in <a class="el" href="structToken.html">Token</a>)</td><td class="entry"><a class="el" href="structToken.html">Token</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td class="entry"><b>erase</b>(Token &tk) (defined in <a class="el" href="structToken.html">Token</a>)</td><td class="entry"><a class="el" href="structToken.html">Token</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>float_value</b> (defined in <a class="el" href="structToken.html">Token</a>)</td><td class="entry"><a class="el" href="structToken.html">Token</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td class="entry"><b>int_value</b> (defined in <a class="el" href="structToken.html">Token</a>)</td><td class="entry"><a class="el" href="structToken.html">Token</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>line</b>() const (defined in <a class="el" href="structToken.html">Token</a>)</td><td class="entry"><a class="el" href="structToken.html">Token</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td class="entry"><b>loc</b> (defined in <a class="el" href="structToken.html">Token</a>)</td><td class="entry"><a class="el" href="structToken.html">Token</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>make_with_line</b>(const Token &origin, const std::string &line_text) (defined in <a class="el" href="structToken.html">Token</a>)</td><td class="entry"><a class="el" href="structToken.html">Token</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td class="entry"><b>match_token_types</b>(const std::vector< Token > &a, const std::vector< Token > &b, int count) (defined in <a class="el" href="structToken.html">Token</a>)</td><td class="entry"><a class="el" href="structToken.html">Token</a></td><td class="entry"><span class="mlabel">static</span></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>operator=</b>(const Token &other) (defined in <a class="el" href="structToken.html">Token</a>)</td><td class="entry"><a class="el" href="structToken.html">Token</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td class="entry"><b>string_value</b> (defined in <a class="el" href="structToken.html">Token</a>)</td><td class="entry"><a class="el" href="structToken.html">Token</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>tk_type</b> (defined in <a class="el" href="structToken.html">Token</a>)</td><td class="entry"><a class="el" href="structToken.html">Token</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td class="entry"><b>to_string</b>() const (defined in <a class="el" href="structToken.html">Token</a>)</td><td class="entry"><a class="el" href="structToken.html">Token</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Token</b>(const TokenType &type) (defined in <a class="el" href="structToken.html">Token</a>)</td><td class="entry"><a class="el" href="structToken.html">Token</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td class="entry"><b>Token</b>(const TokenType &type, const Location &location) (defined in <a class="el" href="structToken.html">Token</a>)</td><td class="entry"><a class="el" href="structToken.html">Token</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Token</b>(const TokenType &type, const int &val, const Location &location) (defined in <a class="el" href="structToken.html">Token</a>)</td><td class="entry"><a class="el" href="structToken.html">Token</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td class="entry"><b>Token</b>(const TokenType &type, const std::string &val, const Location &location) (defined in <a class="el" href="structToken.html">Token</a>)</td><td class="entry"><a class="el" href="structToken.html">Token</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>Token</b>(const TokenType &type, const std::string &val) (defined in <a class="el" href="structToken.html">Token</a>)</td><td class="entry"><a class="el" href="structToken.html">Token</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0"><td class="entry"><b>Token</b>(const TokenType &type, const float &val, const Location &location) (defined in <a class="el" href="structToken.html">Token</a>)</td><td class="entry"><a class="el" href="structToken.html">Token</a></td><td class="entry"></td></tr>
|
||||||
|
<tr bgcolor="#f0f0f0" class="even"><td class="entry"><b>~Token</b>() (defined in <a class="el" href="structToken.html">Token</a>)</td><td class="entry"><a class="el" href="structToken.html">Token</a></td><td class="entry"></td></tr>
|
||||||
|
</table></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>
|
149
docs/html/structToken.html
Normal file
@ -0,0 +1,149 @@
|
|||||||
|
<!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="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
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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-static-methods">Static Public Member Functions</a> |
|
||||||
|
<a href="#pub-attribs">Public Attributes</a> |
|
||||||
|
<a href="structToken-members.html">List of all members</a> </div>
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">Token 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:ab74d6b5fef46e3c194229e7a884cad45"><td class="memItemLeft" align="right" valign="top"><a id="ab74d6b5fef46e3c194229e7a884cad45"></a>
|
||||||
|
 </td><td class="memItemRight" valign="bottom"><b>Token</b> (const TokenType &type)</td></tr>
|
||||||
|
<tr class="separator:ab74d6b5fef46e3c194229e7a884cad45"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a6d4d66f172376503d15b9a2feb5f90e8"><td class="memItemLeft" align="right" valign="top"><a id="a6d4d66f172376503d15b9a2feb5f90e8"></a>
|
||||||
|
 </td><td class="memItemRight" valign="bottom"><b>Token</b> (const TokenType &type, const <a class="el" href="structLocation.html">Location</a> &location)</td></tr>
|
||||||
|
<tr class="separator:a6d4d66f172376503d15b9a2feb5f90e8"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a2efe8a7168e6b2adac5d1cf6750daa7b"><td class="memItemLeft" align="right" valign="top"><a id="a2efe8a7168e6b2adac5d1cf6750daa7b"></a>
|
||||||
|
 </td><td class="memItemRight" valign="bottom"><b>Token</b> (const TokenType &type, const int &val, const <a class="el" href="structLocation.html">Location</a> &location)</td></tr>
|
||||||
|
<tr class="separator:a2efe8a7168e6b2adac5d1cf6750daa7b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a17f818bd7d9ff7472837307d09fb58fa"><td class="memItemLeft" align="right" valign="top"><a id="a17f818bd7d9ff7472837307d09fb58fa"></a>
|
||||||
|
 </td><td class="memItemRight" valign="bottom"><b>Token</b> (const TokenType &type, const std::string &val, const <a class="el" href="structLocation.html">Location</a> &location)</td></tr>
|
||||||
|
<tr class="separator:a17f818bd7d9ff7472837307d09fb58fa"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ad810ae05b8d953d481e1cbebb2964b17"><td class="memItemLeft" align="right" valign="top"><a id="ad810ae05b8d953d481e1cbebb2964b17"></a>
|
||||||
|
 </td><td class="memItemRight" valign="bottom"><b>Token</b> (const TokenType &type, const std::string &val)</td></tr>
|
||||||
|
<tr class="separator:ad810ae05b8d953d481e1cbebb2964b17"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a40f4b33a2ffd88acf803132d598c4ab4"><td class="memItemLeft" align="right" valign="top"><a id="a40f4b33a2ffd88acf803132d598c4ab4"></a>
|
||||||
|
 </td><td class="memItemRight" valign="bottom"><b>Token</b> (const TokenType &type, const float &val, const <a class="el" href="structLocation.html">Location</a> &location)</td></tr>
|
||||||
|
<tr class="separator:a40f4b33a2ffd88acf803132d598c4ab4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a602aa1415de3415044205333495e72f5"><td class="memItemLeft" align="right" valign="top"><a id="a602aa1415de3415044205333495e72f5"></a>
|
||||||
|
std::string </td><td class="memItemRight" valign="bottom"><b>to_string</b> () const</td></tr>
|
||||||
|
<tr class="separator:a602aa1415de3415044205333495e72f5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a432fb89b5fed83bd753f99a5ea10e2e6"><td class="memItemLeft" align="right" valign="top"><a id="a432fb89b5fed83bd753f99a5ea10e2e6"></a>
|
||||||
|
std::string </td><td class="memItemRight" valign="bottom"><b>line</b> () const</td></tr>
|
||||||
|
<tr class="separator:a432fb89b5fed83bd753f99a5ea10e2e6"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:ab58cab5077c1c4c4671964595308c3fc"><td class="memItemLeft" align="right" valign="top"><a id="ab58cab5077c1c4c4671964595308c3fc"></a>
|
||||||
|
void </td><td class="memItemRight" valign="bottom"><b>operator=</b> (const <a class="el" href="structToken.html">Token</a> &other)</td></tr>
|
||||||
|
<tr class="separator:ab58cab5077c1c4c4671964595308c3fc"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a036d56315ccd55329e9e1e2271b16795"><td class="memItemLeft" align="right" valign="top"><a id="a036d56315ccd55329e9e1e2271b16795"></a>
|
||||||
|
<a class="el" href="structToken.html">Token</a> </td><td class="memItemRight" valign="bottom"><b>copy_with_new_type</b> (const TokenType &type)</td></tr>
|
||||||
|
<tr class="separator:a036d56315ccd55329e9e1e2271b16795"><td class="memSeparator" colspan="2"> </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"><a id="a6c00b26185c109de4c2b79bd756defa1"></a>
|
||||||
|
static <a class="el" href="structToken.html">Token</a> </td><td class="memItemRight" valign="bottom"><b>make_with_line</b> (const <a class="el" href="structToken.html">Token</a> &origin, const std::string &line_text)</td></tr>
|
||||||
|
<tr class="separator:a6c00b26185c109de4c2b79bd756defa1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a2d401d11a0b5cb39e1505dbaf13fee82"><td class="memItemLeft" align="right" valign="top"><a id="a2d401d11a0b5cb39e1505dbaf13fee82"></a>
|
||||||
|
static void </td><td class="memItemRight" valign="bottom"><b>erase</b> (<a class="el" href="structToken.html">Token</a> &tk)</td></tr>
|
||||||
|
<tr class="separator:a2d401d11a0b5cb39e1505dbaf13fee82"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a0eaf331871c69faf7c37d8e87db1f7e6"><td class="memItemLeft" align="right" valign="top"><a id="a0eaf331871c69faf7c37d8e87db1f7e6"></a>
|
||||||
|
static bool </td><td class="memItemRight" valign="bottom"><b>match_token_types</b> (const std::vector< <a class="el" href="structToken.html">Token</a> > &a, const std::vector< <a class="el" href="structToken.html">Token</a> > &b, int count)</td></tr>
|
||||||
|
<tr class="separator:a0eaf331871c69faf7c37d8e87db1f7e6"><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:afeecd45f0f912778b11fffe0abb299b5"><td class="memItemLeft" align="right" valign="top"><a id="afeecd45f0f912778b11fffe0abb299b5"></a>
|
||||||
|
TokenType </td><td class="memItemRight" valign="bottom"><b>tk_type</b></td></tr>
|
||||||
|
<tr class="separator:afeecd45f0f912778b11fffe0abb299b5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a0bd1ec80054e52bb87e5f5c4fd2f6931"><td class="memItemLeft" align="right" valign="top"><a id="a0bd1ec80054e52bb87e5f5c4fd2f6931"></a>
|
||||||
|
int </td><td class="memItemRight" valign="bottom"><b>int_value</b></td></tr>
|
||||||
|
<tr class="separator:a0bd1ec80054e52bb87e5f5c4fd2f6931"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a15eec7ad7fced0b21918e04a3e6c639c"><td class="memItemLeft" align="right" valign="top"><a id="a15eec7ad7fced0b21918e04a3e6c639c"></a>
|
||||||
|
std::string </td><td class="memItemRight" valign="bottom"><b>string_value</b></td></tr>
|
||||||
|
<tr class="separator:a15eec7ad7fced0b21918e04a3e6c639c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a92a5a00e9160db302b651c44c3658051"><td class="memItemLeft" align="right" valign="top"><a id="a92a5a00e9160db302b651c44c3658051"></a>
|
||||||
|
float </td><td class="memItemRight" valign="bottom"><b>float_value</b></td></tr>
|
||||||
|
<tr class="separator:a92a5a00e9160db302b651c44c3658051"><td class="memSeparator" colspan="2"> </td></tr>
|
||||||
|
<tr class="memitem:a33ccd4b1d4d4e2690a54f6ed39a7bf06"><td class="memItemLeft" align="right" valign="top"><a id="a33ccd4b1d4d4e2690a54f6ed39a7bf06"></a>
|
||||||
|
<a class="el" href="structLocation.html">Location</a> </td><td class="memItemRight" valign="bottom"><b>loc</b></td></tr>
|
||||||
|
<tr class="separator:a33ccd4b1d4d4e2690a54f6ed39a7bf06"><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="Token_8h_source.html">Token.h</a></li>
|
||||||
|
<li>src/Token.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>
|
BIN
docs/html/sync_off.png
Normal file
After Width: | Height: | Size: 853 B |
BIN
docs/html/sync_on.png
Normal file
After Width: | Height: | Size: 845 B |
BIN
docs/html/tab_a.png
Normal file
After Width: | Height: | Size: 142 B |
BIN
docs/html/tab_b.png
Normal file
After Width: | Height: | Size: 169 B |
BIN
docs/html/tab_h.png
Normal file
After Width: | Height: | Size: 177 B |
BIN
docs/html/tab_s.png
Normal file
After Width: | Height: | Size: 184 B |
1
docs/html/tabs.css
Normal file
122
docs/html/utils_8h_source.html
Normal file
@ -0,0 +1,122 @@
|
|||||||
|
<!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: src/utils.h 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">sapphirec
|
||||||
|
 <span id="projectnumber">0.1</span>
|
||||||
|
</div>
|
||||||
|
<div id="projectbrief">The Sapphire compiler.</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>
|
||||||
|
<!-- 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_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li> </ul>
|
||||||
|
</div>
|
||||||
|
</div><!-- top -->
|
||||||
|
<div class="header">
|
||||||
|
<div class="headertitle">
|
||||||
|
<div class="title">utils.h</div> </div>
|
||||||
|
</div><!--header-->
|
||||||
|
<div class="contents">
|
||||||
|
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="preprocessor">#pragma once</span></div>
|
||||||
|
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="preprocessor">#include "FormatString/FormatString.hpp"</span></div>
|
||||||
|
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="preprocessor">#include "sapphirepch.h"</span></div>
|
||||||
|
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="preprocessor">#include <chrono></span></div>
|
||||||
|
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span>  </div>
|
||||||
|
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">/*</span></div>
|
||||||
|
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * Replaces all ocurrences of a substring with another one in a string.</span></div>
|
||||||
|
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * @param[in] str The input string.</span></div>
|
||||||
|
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * @param[in] from The substring to remove.</span></div>
|
||||||
|
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * @param[in] to The substring to add.</span></div>
|
||||||
|
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * @param[out] replaced Whether anything was replaced.</span></div>
|
||||||
|
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> */</span></div>
|
||||||
|
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="keywordtype">bool</span> replace(std::string& str, <span class="keyword">const</span> std::string& from, <span class="keyword">const</span> std::string& to);</div>
|
||||||
|
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>  </div>
|
||||||
|
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">/* Easy way of converting an int to a string without writing 5 lines of code every time you want to do it. */</span></div>
|
||||||
|
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> std::string to_string(<span class="keyword">const</span> <span class="keywordtype">int</span>& value);</div>
|
||||||
|
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span>  </div>
|
||||||
|
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment">/* Easy way of converting a float to a string without writing 5 lines of code every time you want to do it. */</span></div>
|
||||||
|
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> std::string to_string(<span class="keyword">const</span> <span class="keywordtype">float</span>& value);</div>
|
||||||
|
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span>  </div>
|
||||||
|
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment">/* Benchmarking utilities. */</span></div>
|
||||||
|
<div class="line"><a name="l00022"></a><span class="lineno"> 22</span>  </div>
|
||||||
|
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="class____benchmark__impl.html"> 23</a></span> <span class="keyword">class </span><a class="code" href="class____benchmark__impl.html">__benchmark_impl</a></div>
|
||||||
|
<div class="line"><a name="l00024"></a><span class="lineno"> 24</span> {</div>
|
||||||
|
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  <span class="keyword">public</span>:</div>
|
||||||
|
<div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <a class="code" href="class____benchmark__impl.html">__benchmark_impl</a>(std::string_view __function_name);</div>
|
||||||
|
<div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  ~<a class="code" href="class____benchmark__impl.html">__benchmark_impl</a>();</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>  <span class="keyword">static</span> <span class="keywordtype">void</span> enable();</div>
|
||||||
|
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> disable();</div>
|
||||||
|
<div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  </div>
|
||||||
|
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <span class="keyword">static</span> <span class="keywordtype">void</span> init();</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>  <span class="keyword">private</span>:</div>
|
||||||
|
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  std::chrono::time_point<std::chrono::high_resolution_clock> m_StartTimePoint;</div>
|
||||||
|
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  std::string_view m_FunctionName;</div>
|
||||||
|
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  <span class="keyword">static</span> <span class="keywordtype">bool</span> m_BenchmarkingEnabled;</div>
|
||||||
|
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keywordtype">bool</span> m_InternalBenchmarkingEnabled;</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>  </div>
|
||||||
|
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="preprocessor">#define benchmark(message) __benchmark_impl __benchmark_impl_timer(message)</span></div>
|
||||||
|
<div class="ttc" id="aclass____benchmark__impl_html"><div class="ttname"><a href="class____benchmark__impl.html">__benchmark_impl</a></div><div class="ttdef"><b>Definition:</b> utils.h:24</div></div>
|
||||||
|
</div><!-- fragment --></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>
|
23
docs/latex/Makefile
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
LATEX_CMD=pdflatex
|
||||||
|
|
||||||
|
all: refman.pdf
|
||||||
|
|
||||||
|
pdf: refman.pdf
|
||||||
|
|
||||||
|
refman.pdf: clean refman.tex
|
||||||
|
$(LATEX_CMD) refman
|
||||||
|
makeindex refman.idx
|
||||||
|
$(LATEX_CMD) refman
|
||||||
|
latex_count=8 ; \
|
||||||
|
while egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\
|
||||||
|
do \
|
||||||
|
echo "Rerunning latex...." ;\
|
||||||
|
$(LATEX_CMD) refman ;\
|
||||||
|
latex_count=`expr $$latex_count - 1` ;\
|
||||||
|
done
|
||||||
|
makeindex refman.idx
|
||||||
|
$(LATEX_CMD) refman
|
||||||
|
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out *.brf *.blg *.bbl refman.pdf
|
9
docs/latex/annotated.tex
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
\doxysection{Class List}
|
||||||
|
Here are the classes, structs, unions and interfaces with brief descriptions\+:\begin{DoxyCompactList}
|
||||||
|
\item\contentsline{section}{\mbox{\hyperlink{class____benchmark__impl}{\+\_\+\+\_\+benchmark\+\_\+impl}} }{\pageref{class____benchmark__impl}}{}
|
||||||
|
\item\contentsline{section}{\mbox{\hyperlink{structArguments}{Arguments}} }{\pageref{structArguments}}{}
|
||||||
|
\item\contentsline{section}{\mbox{\hyperlink{classLexer}{Lexer}} }{\pageref{classLexer}}{}
|
||||||
|
\item\contentsline{section}{\mbox{\hyperlink{structLocation}{Location}} }{\pageref{structLocation}}{}
|
||||||
|
\item\contentsline{section}{\mbox{\hyperlink{classParser}{Parser}} }{\pageref{classParser}}{}
|
||||||
|
\item\contentsline{section}{\mbox{\hyperlink{structToken}{Token}} }{\pageref{structToken}}{}
|
||||||
|
\end{DoxyCompactList}
|
43
docs/latex/classLexer.tex
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
\hypertarget{classLexer}{}\doxysection{Lexer Class Reference}
|
||||||
|
\label{classLexer}\index{Lexer@{Lexer}}
|
||||||
|
\doxysubsection*{Public Member Functions}
|
||||||
|
\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{classLexer_ac53b63f829071be755cc785084126afe}\label{classLexer_ac53b63f829071be755cc785084126afe}}
|
||||||
|
Token\+Stream {\bfseries lex} (const std\+::string \&text)
|
||||||
|
\end{DoxyCompactItemize}
|
||||||
|
\doxysubsection*{Static Public Member Functions}
|
||||||
|
\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{classLexer_a6d24d823847b6d5f7e497d78f5b612d4}\label{classLexer_a6d24d823847b6d5f7e497d78f5b612d4}}
|
||||||
|
static std\+::unique\+\_\+ptr$<$ \mbox{\hyperlink{classLexer}{Lexer}} $>$ {\bfseries make\+\_\+lexer} (const std\+::string \&fname)
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{classLexer_a8f5d1d9281b44e287d7db2ef0c0dff09}\label{classLexer_a8f5d1d9281b44e287d7db2ef0c0dff09}}
|
||||||
|
static void {\bfseries assign\+\_\+parent\+\_\+location} (std\+::unique\+\_\+ptr$<$ \mbox{\hyperlink{classLexer}{Lexer}} $>$ \&lexer, const std\+::shared\+\_\+ptr$<$ \mbox{\hyperlink{structLocation}{Location}} $>$ \&loc)
|
||||||
|
\end{DoxyCompactItemize}
|
||||||
|
\doxysubsection*{Static Public Attributes}
|
||||||
|
\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
static const std\+::array$<$ std\+::string, TYPE\+\_\+\+COUNT $>$ {\bfseries types}
|
||||||
|
\end{DoxyCompactItemize}
|
||||||
|
|
||||||
|
|
||||||
|
\doxysubsection{Member Data Documentation}
|
||||||
|
\mbox{\Hypertarget{classLexer_a8956f4484cb2a477bea5d09e96ea6c8d}\label{classLexer_a8956f4484cb2a477bea5d09e96ea6c8d}}
|
||||||
|
\index{Lexer@{Lexer}!types@{types}}
|
||||||
|
\index{types@{types}!Lexer@{Lexer}}
|
||||||
|
\doxysubsubsection{\texorpdfstring{types}{types}}
|
||||||
|
{\footnotesize\ttfamily const std\+::array$<$ std\+::string, TYPE\+\_\+\+COUNT $>$ Lexer\+::types\hspace{0.3cm}{\ttfamily [static]}}
|
||||||
|
|
||||||
|
{\bfseries Initial value\+:}
|
||||||
|
\begin{DoxyCode}{0}
|
||||||
|
\DoxyCodeLine{= \{\textcolor{stringliteral}{"{}void"{}}, \textcolor{stringliteral}{"{}bool"{}}, \textcolor{stringliteral}{"{}str"{}}, \textcolor{stringliteral}{"{}i8"{}}, \textcolor{stringliteral}{"{}i16"{}}, \textcolor{stringliteral}{"{}i32"{}}, \textcolor{stringliteral}{"{}i64"{}},}
|
||||||
|
\DoxyCodeLine{ \textcolor{stringliteral}{"{}u8"{}}, \textcolor{stringliteral}{"{}u16"{}}, \textcolor{stringliteral}{"{}u32"{}}, \textcolor{stringliteral}{"{}u64"{}}, \textcolor{stringliteral}{"{}f32"{}}, \textcolor{stringliteral}{"{}f64"{}}, \textcolor{stringliteral}{"{}f128"{}}\}}
|
||||||
|
|
||||||
|
\end{DoxyCode}
|
||||||
|
|
||||||
|
|
||||||
|
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
src/Lexer.\+h\item
|
||||||
|
src/Lexer.\+cpp\end{DoxyCompactItemize}
|
20
docs/latex/classParser.tex
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
\hypertarget{classParser}{}\doxysection{Parser Class Reference}
|
||||||
|
\label{classParser}\index{Parser@{Parser}}
|
||||||
|
\doxysubsection*{Public Member Functions}
|
||||||
|
\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{classParser_ae094dfbfd3065ff21b12a9dd19a771ee}\label{classParser_ae094dfbfd3065ff21b12a9dd19a771ee}}
|
||||||
|
std\+::shared\+\_\+ptr$<$ ASTNode $>$ {\bfseries parse} ()
|
||||||
|
\end{DoxyCompactItemize}
|
||||||
|
\doxysubsection*{Static Public Member Functions}
|
||||||
|
\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{classParser_a94032f3f6e1d0776c1110e82809c65a5}\label{classParser_a94032f3f6e1d0776c1110e82809c65a5}}
|
||||||
|
static std\+::shared\+\_\+ptr$<$ \mbox{\hyperlink{classParser}{Parser}} $>$ {\bfseries new\+\_\+parser} (const Token\+Stream \&tokens)
|
||||||
|
\end{DoxyCompactItemize}
|
||||||
|
|
||||||
|
|
||||||
|
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
src/Parser.\+h\item
|
||||||
|
src/Parser.\+cpp\end{DoxyCompactItemize}
|
26
docs/latex/class____benchmark__impl.tex
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
\hypertarget{class____benchmark__impl}{}\doxysection{\+\_\+\+\_\+benchmark\+\_\+impl Class Reference}
|
||||||
|
\label{class____benchmark__impl}\index{\_\_benchmark\_impl@{\_\_benchmark\_impl}}
|
||||||
|
\doxysubsection*{Public Member Functions}
|
||||||
|
\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{class____benchmark__impl_a2efd5ebe7e24a9a6ead5b205d0fe05f8}\label{class____benchmark__impl_a2efd5ebe7e24a9a6ead5b205d0fe05f8}}
|
||||||
|
{\bfseries \+\_\+\+\_\+benchmark\+\_\+impl} (std\+::string\+\_\+view \+\_\+\+\_\+function\+\_\+name)
|
||||||
|
\end{DoxyCompactItemize}
|
||||||
|
\doxysubsection*{Static Public Member Functions}
|
||||||
|
\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{class____benchmark__impl_abef5e19af3518d080c6988fc7558870d}\label{class____benchmark__impl_abef5e19af3518d080c6988fc7558870d}}
|
||||||
|
static void {\bfseries enable} ()
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{class____benchmark__impl_a5ddf5a17aee0bc1bab08229e574dad76}\label{class____benchmark__impl_a5ddf5a17aee0bc1bab08229e574dad76}}
|
||||||
|
static void {\bfseries disable} ()
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{class____benchmark__impl_a6f260fa4d0f93d4a14d6b2a56d91773a}\label{class____benchmark__impl_a6f260fa4d0f93d4a14d6b2a56d91773a}}
|
||||||
|
static void {\bfseries init} ()
|
||||||
|
\end{DoxyCompactItemize}
|
||||||
|
|
||||||
|
|
||||||
|
The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
src/utils.\+h\item
|
||||||
|
src/utils.\+cpp\end{DoxyCompactItemize}
|
576
docs/latex/doxygen.sty
Normal file
@ -0,0 +1,576 @@
|
|||||||
|
\NeedsTeXFormat{LaTeX2e}
|
||||||
|
\ProvidesPackage{doxygen}
|
||||||
|
|
||||||
|
% Packages used by this style file
|
||||||
|
\RequirePackage{alltt}
|
||||||
|
%%\RequirePackage{array} %% moved to refman.tex due to workaround for LaTex 2019 version and unmaintained tabu package
|
||||||
|
\RequirePackage{calc}
|
||||||
|
\RequirePackage{float}
|
||||||
|
%%\RequirePackage{ifthen} %% moved to refman.tex due to workaround for LaTex 2019 version and unmaintained tabu package
|
||||||
|
\RequirePackage{verbatim}
|
||||||
|
\RequirePackage[table]{xcolor}
|
||||||
|
\RequirePackage{longtable_doxygen}
|
||||||
|
\RequirePackage{tabu_doxygen}
|
||||||
|
\RequirePackage{fancyvrb}
|
||||||
|
\RequirePackage{tabularx}
|
||||||
|
\RequirePackage{multicol}
|
||||||
|
\RequirePackage{multirow}
|
||||||
|
\RequirePackage{hanging}
|
||||||
|
\RequirePackage{ifpdf}
|
||||||
|
\RequirePackage{adjustbox}
|
||||||
|
\RequirePackage{amssymb}
|
||||||
|
\RequirePackage{stackengine}
|
||||||
|
\RequirePackage[normalem]{ulem} % for strikeout, but don't modify emphasis
|
||||||
|
|
||||||
|
%---------- Internal commands used in this style file ----------------
|
||||||
|
|
||||||
|
\newcommand{\ensurespace}[1]{%
|
||||||
|
\begingroup%
|
||||||
|
\setlength{\dimen@}{#1}%
|
||||||
|
\vskip\z@\@plus\dimen@%
|
||||||
|
\penalty -100\vskip\z@\@plus -\dimen@%
|
||||||
|
\vskip\dimen@%
|
||||||
|
\penalty 9999%
|
||||||
|
\vskip -\dimen@%
|
||||||
|
\vskip\z@skip% hide the previous |\vskip| from |\addvspace|
|
||||||
|
\endgroup%
|
||||||
|
}
|
||||||
|
|
||||||
|
\newcommand{\DoxyHorRuler}[1]{%
|
||||||
|
\setlength{\parskip}{0ex plus 0ex minus 0ex}%
|
||||||
|
\ifthenelse{#1=0}%
|
||||||
|
{%
|
||||||
|
\hrule%
|
||||||
|
}%
|
||||||
|
{%
|
||||||
|
\hrulefilll%
|
||||||
|
}%
|
||||||
|
}
|
||||||
|
\newcommand{\DoxyLabelFont}{}
|
||||||
|
\newcommand{\entrylabel}[1]{%
|
||||||
|
{%
|
||||||
|
\parbox[b]{\labelwidth-4pt}{%
|
||||||
|
\makebox[0pt][l]{\DoxyLabelFont#1}%
|
||||||
|
\vspace{1.5\baselineskip}%
|
||||||
|
}%
|
||||||
|
}%
|
||||||
|
}
|
||||||
|
|
||||||
|
\newenvironment{DoxyDesc}[1]{%
|
||||||
|
\ensurespace{4\baselineskip}%
|
||||||
|
\begin{list}{}{%
|
||||||
|
\settowidth{\labelwidth}{20pt}%
|
||||||
|
%\setlength{\parsep}{0pt}%
|
||||||
|
\setlength{\itemsep}{0pt}%
|
||||||
|
\setlength{\leftmargin}{\labelwidth+\labelsep}%
|
||||||
|
\renewcommand{\makelabel}{\entrylabel}%
|
||||||
|
}%
|
||||||
|
\item[#1]%
|
||||||
|
}{%
|
||||||
|
\end{list}%
|
||||||
|
}
|
||||||
|
|
||||||
|
\newsavebox{\xrefbox}
|
||||||
|
\newlength{\xreflength}
|
||||||
|
\newcommand{\xreflabel}[1]{%
|
||||||
|
\sbox{\xrefbox}{#1}%
|
||||||
|
\setlength{\xreflength}{\wd\xrefbox}%
|
||||||
|
\ifthenelse{\xreflength>\labelwidth}{%
|
||||||
|
\begin{minipage}{\textwidth}%
|
||||||
|
\setlength{\parindent}{0pt}%
|
||||||
|
\hangindent=15pt\bfseries #1\vspace{1.2\itemsep}%
|
||||||
|
\end{minipage}%
|
||||||
|
}{%
|
||||||
|
\parbox[b]{\labelwidth}{\makebox[0pt][l]{\textbf{#1}}}%
|
||||||
|
}%
|
||||||
|
}
|
||||||
|
|
||||||
|
%---------- Commands used by doxygen LaTeX output generator ----------
|
||||||
|
|
||||||
|
% Used by <pre> ... </pre>
|
||||||
|
\newenvironment{DoxyPre}{%
|
||||||
|
\small%
|
||||||
|
\begin{alltt}%
|
||||||
|
}{%
|
||||||
|
\end{alltt}%
|
||||||
|
\normalsize%
|
||||||
|
}
|
||||||
|
% Necessary for redefining not defined characters, i.e. "Replacement Character" in tex output.
|
||||||
|
\newlength{\CodeWidthChar}
|
||||||
|
\newlength{\CodeHeightChar}
|
||||||
|
\settowidth{\CodeWidthChar}{?}
|
||||||
|
\settoheight{\CodeHeightChar}{?}
|
||||||
|
% Necessary for hanging indent
|
||||||
|
\newlength{\DoxyCodeWidth}
|
||||||
|
|
||||||
|
\newcommand\DoxyCodeLine[1]{\hangpara{\DoxyCodeWidth}{1}{#1}\par}
|
||||||
|
|
||||||
|
\newcommand\NiceSpace{%
|
||||||
|
\discretionary{}{\kern\fontdimen2\font}{\kern\fontdimen2\font}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @code ... @endcode
|
||||||
|
\newenvironment{DoxyCode}[1]{%
|
||||||
|
\par%
|
||||||
|
\scriptsize%
|
||||||
|
\normalfont\ttfamily%
|
||||||
|
\rightskip0pt plus 1fil%
|
||||||
|
\settowidth{\DoxyCodeWidth}{000000}%
|
||||||
|
\settowidth{\CodeWidthChar}{?}%
|
||||||
|
\settoheight{\CodeHeightChar}{?}%
|
||||||
|
\setlength{\parskip}{0ex plus 0ex minus 0ex}%
|
||||||
|
\ifthenelse{\equal{#1}{0}}
|
||||||
|
{
|
||||||
|
{\lccode`~32 \lowercase{\global\let~}\NiceSpace}\obeyspaces%
|
||||||
|
}
|
||||||
|
{
|
||||||
|
{\lccode`~32 \lowercase{\global\let~}}\obeyspaces%
|
||||||
|
}
|
||||||
|
|
||||||
|
}{%
|
||||||
|
\normalfont%
|
||||||
|
\normalsize%
|
||||||
|
\settowidth{\CodeWidthChar}{?}%
|
||||||
|
\settoheight{\CodeHeightChar}{?}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Redefining not defined characters, i.e. "Replacement Character" in tex output.
|
||||||
|
\def\ucr{\adjustbox{width=\CodeWidthChar,height=\CodeHeightChar}{\stackinset{c}{}{c}{-.2pt}{%
|
||||||
|
\textcolor{white}{\sffamily\bfseries\small ?}}{%
|
||||||
|
\rotatebox{45}{$\blacksquare$}}}}
|
||||||
|
|
||||||
|
% Used by @example, @include, @includelineno and @dontinclude
|
||||||
|
\newenvironment{DoxyCodeInclude}[1]{%
|
||||||
|
\DoxyCode{#1}%
|
||||||
|
}{%
|
||||||
|
\endDoxyCode%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @verbatim ... @endverbatim
|
||||||
|
\newenvironment{DoxyVerb}{%
|
||||||
|
\footnotesize%
|
||||||
|
\verbatim%
|
||||||
|
}{%
|
||||||
|
\endverbatim%
|
||||||
|
\normalsize%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @verbinclude
|
||||||
|
\newenvironment{DoxyVerbInclude}{%
|
||||||
|
\DoxyVerb%
|
||||||
|
}{%
|
||||||
|
\endDoxyVerb%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by numbered lists (using '-#' or <ol> ... </ol>)
|
||||||
|
\newenvironment{DoxyEnumerate}{%
|
||||||
|
\enumerate%
|
||||||
|
}{%
|
||||||
|
\endenumerate%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by bullet lists (using '-', @li, @arg, or <ul> ... </ul>)
|
||||||
|
\newenvironment{DoxyItemize}{%
|
||||||
|
\itemize%
|
||||||
|
}{%
|
||||||
|
\enditemize%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by description lists (using <dl> ... </dl>)
|
||||||
|
\newenvironment{DoxyDescription}{%
|
||||||
|
\description%
|
||||||
|
}{%
|
||||||
|
\enddescription%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc
|
||||||
|
% (only if caption is specified)
|
||||||
|
\newenvironment{DoxyImage}{%
|
||||||
|
\begin{figure}[H]%
|
||||||
|
\centering%
|
||||||
|
}{%
|
||||||
|
\end{figure}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc
|
||||||
|
% (only if no caption is specified)
|
||||||
|
\newenvironment{DoxyImageNoCaption}{%
|
||||||
|
\begin{center}%
|
||||||
|
}{%
|
||||||
|
\end{center}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @image
|
||||||
|
% (only if inline is specified)
|
||||||
|
\newenvironment{DoxyInlineImage}{%
|
||||||
|
}{%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @attention
|
||||||
|
\newenvironment{DoxyAttention}[1]{%
|
||||||
|
\begin{DoxyDesc}{#1}%
|
||||||
|
}{%
|
||||||
|
\end{DoxyDesc}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @author and @authors
|
||||||
|
\newenvironment{DoxyAuthor}[1]{%
|
||||||
|
\begin{DoxyDesc}{#1}%
|
||||||
|
}{%
|
||||||
|
\end{DoxyDesc}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @date
|
||||||
|
\newenvironment{DoxyDate}[1]{%
|
||||||
|
\begin{DoxyDesc}{#1}%
|
||||||
|
}{%
|
||||||
|
\end{DoxyDesc}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @invariant
|
||||||
|
\newenvironment{DoxyInvariant}[1]{%
|
||||||
|
\begin{DoxyDesc}{#1}%
|
||||||
|
}{%
|
||||||
|
\end{DoxyDesc}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @note
|
||||||
|
\newenvironment{DoxyNote}[1]{%
|
||||||
|
\begin{DoxyDesc}{#1}%
|
||||||
|
}{%
|
||||||
|
\end{DoxyDesc}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @post
|
||||||
|
\newenvironment{DoxyPostcond}[1]{%
|
||||||
|
\begin{DoxyDesc}{#1}%
|
||||||
|
}{%
|
||||||
|
\end{DoxyDesc}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @pre
|
||||||
|
\newenvironment{DoxyPrecond}[1]{%
|
||||||
|
\begin{DoxyDesc}{#1}%
|
||||||
|
}{%
|
||||||
|
\end{DoxyDesc}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @copyright
|
||||||
|
\newenvironment{DoxyCopyright}[1]{%
|
||||||
|
\begin{DoxyDesc}{#1}%
|
||||||
|
}{%
|
||||||
|
\end{DoxyDesc}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @remark
|
||||||
|
\newenvironment{DoxyRemark}[1]{%
|
||||||
|
\begin{DoxyDesc}{#1}%
|
||||||
|
}{%
|
||||||
|
\end{DoxyDesc}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @return and @returns
|
||||||
|
\newenvironment{DoxyReturn}[1]{%
|
||||||
|
\begin{DoxyDesc}{#1}%
|
||||||
|
}{%
|
||||||
|
\end{DoxyDesc}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @since
|
||||||
|
\newenvironment{DoxySince}[1]{%
|
||||||
|
\begin{DoxyDesc}{#1}%
|
||||||
|
}{%
|
||||||
|
\end{DoxyDesc}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @see
|
||||||
|
\newenvironment{DoxySeeAlso}[1]{%
|
||||||
|
\begin{DoxyDesc}{#1}%
|
||||||
|
}{%
|
||||||
|
\end{DoxyDesc}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @version
|
||||||
|
\newenvironment{DoxyVersion}[1]{%
|
||||||
|
\begin{DoxyDesc}{#1}%
|
||||||
|
}{%
|
||||||
|
\end{DoxyDesc}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @warning
|
||||||
|
\newenvironment{DoxyWarning}[1]{%
|
||||||
|
\begin{DoxyDesc}{#1}%
|
||||||
|
}{%
|
||||||
|
\end{DoxyDesc}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @internal
|
||||||
|
\newenvironment{DoxyInternal}[1]{%
|
||||||
|
\paragraph*{#1}%
|
||||||
|
}{%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @par and @paragraph
|
||||||
|
\newenvironment{DoxyParagraph}[1]{%
|
||||||
|
\begin{DoxyDesc}{#1}%
|
||||||
|
}{%
|
||||||
|
\end{DoxyDesc}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by parameter lists
|
||||||
|
\newenvironment{DoxyParams}[2][]{%
|
||||||
|
\tabulinesep=1mm%
|
||||||
|
\par%
|
||||||
|
\ifthenelse{\equal{#1}{}}%
|
||||||
|
{\begin{longtabu*}spread 0pt [l]{|X[-1,l]|X[-1,l]|}}% name + description
|
||||||
|
{\ifthenelse{\equal{#1}{1}}%
|
||||||
|
{\begin{longtabu*}spread 0pt [l]{|X[-1,l]|X[-1,l]|X[-1,l]|}}% in/out + name + desc
|
||||||
|
{\begin{longtabu*}spread 0pt [l]{|X[-1,l]|X[-1,l]|X[-1,l]|X[-1,l]|}}% in/out + type + name + desc
|
||||||
|
}
|
||||||
|
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]%
|
||||||
|
\hline%
|
||||||
|
\endfirsthead%
|
||||||
|
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]%
|
||||||
|
\hline%
|
||||||
|
\endhead%
|
||||||
|
}{%
|
||||||
|
\end{longtabu*}%
|
||||||
|
\vspace{6pt}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used for fields of simple structs
|
||||||
|
\newenvironment{DoxyFields}[1]{%
|
||||||
|
\tabulinesep=1mm%
|
||||||
|
\par%
|
||||||
|
\begin{longtabu*}spread 0pt [l]{|X[-1,r]|X[-1,l]|X[-1,l]|}%
|
||||||
|
\multicolumn{3}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
|
||||||
|
\hline%
|
||||||
|
\endfirsthead%
|
||||||
|
\multicolumn{3}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
|
||||||
|
\hline%
|
||||||
|
\endhead%
|
||||||
|
}{%
|
||||||
|
\end{longtabu*}%
|
||||||
|
\vspace{6pt}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used for fields simple class style enums
|
||||||
|
\newenvironment{DoxyEnumFields}[1]{%
|
||||||
|
\tabulinesep=1mm%
|
||||||
|
\par%
|
||||||
|
\begin{longtabu*}spread 0pt [l]{|X[-1,r]|X[-1,l]|}%
|
||||||
|
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
|
||||||
|
\hline%
|
||||||
|
\endfirsthead%
|
||||||
|
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
|
||||||
|
\hline%
|
||||||
|
\endhead%
|
||||||
|
}{%
|
||||||
|
\end{longtabu*}%
|
||||||
|
\vspace{6pt}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used for parameters within a detailed function description
|
||||||
|
\newenvironment{DoxyParamCaption}{%
|
||||||
|
\renewcommand{\item}[2][]{\\ \hspace*{2.0cm} ##1 {\em ##2}}%
|
||||||
|
}{%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by return value lists
|
||||||
|
\newenvironment{DoxyRetVals}[1]{%
|
||||||
|
\tabulinesep=1mm%
|
||||||
|
\par%
|
||||||
|
\begin{longtabu*}spread 0pt [l]{|X[-1,r]|X[-1,l]|}%
|
||||||
|
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
|
||||||
|
\hline%
|
||||||
|
\endfirsthead%
|
||||||
|
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
|
||||||
|
\hline%
|
||||||
|
\endhead%
|
||||||
|
}{%
|
||||||
|
\end{longtabu*}%
|
||||||
|
\vspace{6pt}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by exception lists
|
||||||
|
\newenvironment{DoxyExceptions}[1]{%
|
||||||
|
\tabulinesep=1mm%
|
||||||
|
\par%
|
||||||
|
\begin{longtabu*}spread 0pt [l]{|X[-1,r]|X[-1,l]|}%
|
||||||
|
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
|
||||||
|
\hline%
|
||||||
|
\endfirsthead%
|
||||||
|
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
|
||||||
|
\hline%
|
||||||
|
\endhead%
|
||||||
|
}{%
|
||||||
|
\end{longtabu*}%
|
||||||
|
\vspace{6pt}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by template parameter lists
|
||||||
|
\newenvironment{DoxyTemplParams}[1]{%
|
||||||
|
\tabulinesep=1mm%
|
||||||
|
\par%
|
||||||
|
\begin{longtabu*}spread 0pt [l]{|X[-1,r]|X[-1,l]|}%
|
||||||
|
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
|
||||||
|
\hline%
|
||||||
|
\endfirsthead%
|
||||||
|
\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]%
|
||||||
|
\hline%
|
||||||
|
\endhead%
|
||||||
|
}{%
|
||||||
|
\end{longtabu*}%
|
||||||
|
\vspace{6pt}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used for member lists
|
||||||
|
\newenvironment{DoxyCompactItemize}{%
|
||||||
|
\begin{itemize}%
|
||||||
|
\setlength{\itemsep}{-3pt}%
|
||||||
|
\setlength{\parsep}{0pt}%
|
||||||
|
\setlength{\topsep}{0pt}%
|
||||||
|
\setlength{\partopsep}{0pt}%
|
||||||
|
}{%
|
||||||
|
\end{itemize}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used for member descriptions
|
||||||
|
\newenvironment{DoxyCompactList}{%
|
||||||
|
\begin{list}{}{%
|
||||||
|
\setlength{\leftmargin}{0.5cm}%
|
||||||
|
\setlength{\itemsep}{0pt}%
|
||||||
|
\setlength{\parsep}{0pt}%
|
||||||
|
\setlength{\topsep}{0pt}%
|
||||||
|
\renewcommand{\makelabel}{\hfill}%
|
||||||
|
}%
|
||||||
|
}{%
|
||||||
|
\end{list}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used for reference lists (@bug, @deprecated, @todo, etc.)
|
||||||
|
\newenvironment{DoxyRefList}{%
|
||||||
|
\begin{list}{}{%
|
||||||
|
\setlength{\labelwidth}{10pt}%
|
||||||
|
\setlength{\leftmargin}{\labelwidth}%
|
||||||
|
\addtolength{\leftmargin}{\labelsep}%
|
||||||
|
\renewcommand{\makelabel}{\xreflabel}%
|
||||||
|
}%
|
||||||
|
}{%
|
||||||
|
\end{list}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @bug, @deprecated, @todo, etc.
|
||||||
|
\newenvironment{DoxyRefDesc}[1]{%
|
||||||
|
\begin{list}{}{%
|
||||||
|
\renewcommand\makelabel[1]{\textbf{##1}}%
|
||||||
|
\settowidth\labelwidth{\makelabel{#1}}%
|
||||||
|
\setlength\leftmargin{\labelwidth+\labelsep}%
|
||||||
|
}%
|
||||||
|
}{%
|
||||||
|
\end{list}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by parameter lists and simple sections
|
||||||
|
\newenvironment{Desc}
|
||||||
|
{\begin{list}{}{%
|
||||||
|
\settowidth{\labelwidth}{20pt}%
|
||||||
|
\setlength{\parsep}{0pt}%
|
||||||
|
\setlength{\itemsep}{0pt}%
|
||||||
|
\setlength{\leftmargin}{\labelwidth+\labelsep}%
|
||||||
|
\renewcommand{\makelabel}{\entrylabel}%
|
||||||
|
}
|
||||||
|
}{%
|
||||||
|
\end{list}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by tables
|
||||||
|
\newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp}%
|
||||||
|
\newenvironment{TabularC}[1]%
|
||||||
|
{\tabulinesep=1mm
|
||||||
|
\begin{longtabu*}spread 0pt [c]{*#1{|X[-1]}|}}%
|
||||||
|
{\end{longtabu*}\par}%
|
||||||
|
|
||||||
|
\newenvironment{TabularNC}[1]%
|
||||||
|
{\begin{tabu}spread 0pt [l]{*#1{|X[-1]}|}}%
|
||||||
|
{\end{tabu}\par}%
|
||||||
|
|
||||||
|
% Used for member group headers
|
||||||
|
\newenvironment{Indent}{%
|
||||||
|
\begin{list}{}{%
|
||||||
|
\setlength{\leftmargin}{0.5cm}%
|
||||||
|
}%
|
||||||
|
\item[]\ignorespaces%
|
||||||
|
}{%
|
||||||
|
\unskip%
|
||||||
|
\end{list}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used when hyperlinks are turned off
|
||||||
|
\newcommand{\doxyref}[3]{%
|
||||||
|
\textbf{#1} (\textnormal{#2}\,\pageref{#3})%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used to link to a table when hyperlinks are turned on
|
||||||
|
\newcommand{\doxytablelink}[2]{%
|
||||||
|
\ref{#1}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used to link to a table when hyperlinks are turned off
|
||||||
|
\newcommand{\doxytableref}[3]{%
|
||||||
|
\ref{#3}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Used by @addindex
|
||||||
|
\newcommand{\lcurly}{\{}
|
||||||
|
\newcommand{\rcurly}{\}}
|
||||||
|
|
||||||
|
% Colors used for syntax highlighting
|
||||||
|
\definecolor{comment}{rgb}{0.5,0.0,0.0}
|
||||||
|
\definecolor{keyword}{rgb}{0.0,0.5,0.0}
|
||||||
|
\definecolor{keywordtype}{rgb}{0.38,0.25,0.125}
|
||||||
|
\definecolor{keywordflow}{rgb}{0.88,0.5,0.0}
|
||||||
|
\definecolor{preprocessor}{rgb}{0.5,0.38,0.125}
|
||||||
|
\definecolor{stringliteral}{rgb}{0.0,0.125,0.25}
|
||||||
|
\definecolor{charliteral}{rgb}{0.0,0.5,0.5}
|
||||||
|
\definecolor{vhdldigit}{rgb}{1.0,0.0,1.0}
|
||||||
|
\definecolor{vhdlkeyword}{rgb}{0.43,0.0,0.43}
|
||||||
|
\definecolor{vhdllogic}{rgb}{1.0,0.0,0.0}
|
||||||
|
\definecolor{vhdlchar}{rgb}{0.0,0.0,0.0}
|
||||||
|
|
||||||
|
% Color used for table heading
|
||||||
|
\newcommand{\tableheadbgcolor}{lightgray}%
|
||||||
|
|
||||||
|
% Version of hypertarget with correct landing location
|
||||||
|
\newcommand{\Hypertarget}[1]{\Hy@raisedlink{\hypertarget{#1}{}}}
|
||||||
|
|
||||||
|
% possibility to have sections etc. be within the margins
|
||||||
|
% unfortunately had to copy part of book.cls and add \raggedright
|
||||||
|
\makeatletter
|
||||||
|
\newcommand\doxysection{\@startsection {section}{1}{\z@}%
|
||||||
|
{-3.5ex \@plus -1ex \@minus -.2ex}%
|
||||||
|
{2.3ex \@plus.2ex}%
|
||||||
|
{\raggedright\normalfont\Large\bfseries}}
|
||||||
|
\newcommand\doxysubsection{\@startsection{subsection}{2}{\z@}%
|
||||||
|
{-3.25ex\@plus -1ex \@minus -.2ex}%
|
||||||
|
{1.5ex \@plus .2ex}%
|
||||||
|
{\raggedright\normalfont\large\bfseries}}
|
||||||
|
\newcommand\doxysubsubsection{\@startsection{subsubsection}{3}{\z@}%
|
||||||
|
{-3.25ex\@plus -1ex \@minus -.2ex}%
|
||||||
|
{1.5ex \@plus .2ex}%
|
||||||
|
{\raggedright\normalfont\normalsize\bfseries}}
|
||||||
|
\newcommand\doxyparagraph{\@startsection{paragraph}{4}{\z@}%
|
||||||
|
{3.25ex \@plus1ex \@minus.2ex}%
|
||||||
|
{-1em}%
|
||||||
|
{\raggedright\normalfont\normalsize\bfseries}}
|
||||||
|
\newcommand\doxysubparagraph{\@startsection{subparagraph}{5}{\parindent}%
|
||||||
|
{3.25ex \@plus1ex \@minus .2ex}%
|
||||||
|
{-1em}%
|
||||||
|
{\raggedright\normalfont\normalsize\bfseries}}
|
||||||
|
\makeatother
|
||||||
|
% Define caption that is also suitable in a table
|
||||||
|
\makeatletter
|
||||||
|
\def\doxyfigcaption{%
|
||||||
|
\H@refstepcounter{figure}%
|
||||||
|
\@dblarg{\@caption{figure}}}
|
||||||
|
\makeatother
|
448
docs/latex/longtable_doxygen.sty
Normal file
@ -0,0 +1,448 @@
|
|||||||
|
%%
|
||||||
|
%% This is file `longtable.sty',
|
||||||
|
%% generated with the docstrip utility.
|
||||||
|
%%
|
||||||
|
%% The original source files were:
|
||||||
|
%%
|
||||||
|
%% longtable.dtx (with options: `package')
|
||||||
|
%%
|
||||||
|
%% This is a generated file.
|
||||||
|
%%
|
||||||
|
%% The source is maintained by the LaTeX Project team and bug
|
||||||
|
%% reports for it can be opened at http://latex-project.org/bugs.html
|
||||||
|
%% (but please observe conditions on bug reports sent to that address!)
|
||||||
|
%%
|
||||||
|
%% Copyright 1993-2016
|
||||||
|
%% The LaTeX3 Project and any individual authors listed elsewhere
|
||||||
|
%% in this file.
|
||||||
|
%%
|
||||||
|
%% This file was generated from file(s) of the Standard LaTeX `Tools Bundle'.
|
||||||
|
%% --------------------------------------------------------------------------
|
||||||
|
%%
|
||||||
|
%% It may be distributed and/or modified under the
|
||||||
|
%% conditions of the LaTeX Project Public License, either version 1.3c
|
||||||
|
%% of this license or (at your option) any later version.
|
||||||
|
%% The latest version of this license is in
|
||||||
|
%% http://www.latex-project.org/lppl.txt
|
||||||
|
%% and version 1.3c or later is part of all distributions of LaTeX
|
||||||
|
%% version 2005/12/01 or later.
|
||||||
|
%%
|
||||||
|
%% This file may only be distributed together with a copy of the LaTeX
|
||||||
|
%% `Tools Bundle'. You may however distribute the LaTeX `Tools Bundle'
|
||||||
|
%% without such generated files.
|
||||||
|
%%
|
||||||
|
%% The list of all files belonging to the LaTeX `Tools Bundle' is
|
||||||
|
%% given in the file `manifest.txt'.
|
||||||
|
%%
|
||||||
|
%% File: longtable.dtx Copyright (C) 1990-2001 David Carlisle
|
||||||
|
\NeedsTeXFormat{LaTeX2e}[1995/06/01]
|
||||||
|
\ProvidesPackage{longtable_doxygen}
|
||||||
|
[2014/10/28 v4.11 Multi-page Table package (DPC) - frozen version for doxygen]
|
||||||
|
\def\LT@err{\PackageError{longtable}}
|
||||||
|
\def\LT@warn{\PackageWarning{longtable}}
|
||||||
|
\def\LT@final@warn{%
|
||||||
|
\AtEndDocument{%
|
||||||
|
\LT@warn{Table \@width s have changed. Rerun LaTeX.\@gobbletwo}}%
|
||||||
|
\global\let\LT@final@warn\relax}
|
||||||
|
\DeclareOption{errorshow}{%
|
||||||
|
\def\LT@warn{\PackageInfo{longtable}}}
|
||||||
|
\DeclareOption{pausing}{%
|
||||||
|
\def\LT@warn#1{%
|
||||||
|
\LT@err{#1}{This is not really an error}}}
|
||||||
|
\DeclareOption{set}{}
|
||||||
|
\DeclareOption{final}{}
|
||||||
|
\ProcessOptions
|
||||||
|
\newskip\LTleft \LTleft=\fill
|
||||||
|
\newskip\LTright \LTright=\fill
|
||||||
|
\newskip\LTpre \LTpre=\bigskipamount
|
||||||
|
\newskip\LTpost \LTpost=\bigskipamount
|
||||||
|
\newcount\LTchunksize \LTchunksize=20
|
||||||
|
\let\c@LTchunksize\LTchunksize
|
||||||
|
\newdimen\LTcapwidth \LTcapwidth=4in
|
||||||
|
\newbox\LT@head
|
||||||
|
\newbox\LT@firsthead
|
||||||
|
\newbox\LT@foot
|
||||||
|
\newbox\LT@lastfoot
|
||||||
|
\newcount\LT@cols
|
||||||
|
\newcount\LT@rows
|
||||||
|
\newcounter{LT@tables}
|
||||||
|
\newcounter{LT@chunks}[LT@tables]
|
||||||
|
\ifx\c@table\undefined
|
||||||
|
\newcounter{table}
|
||||||
|
\def\fnum@table{\tablename~\thetable}
|
||||||
|
\fi
|
||||||
|
\ifx\tablename\undefined
|
||||||
|
\def\tablename{Table}
|
||||||
|
\fi
|
||||||
|
\newtoks\LT@p@ftn
|
||||||
|
\mathchardef\LT@end@pen=30000
|
||||||
|
\def\longtable{%
|
||||||
|
\par
|
||||||
|
\ifx\multicols\@undefined
|
||||||
|
\else
|
||||||
|
\ifnum\col@number>\@ne
|
||||||
|
\@twocolumntrue
|
||||||
|
\fi
|
||||||
|
\fi
|
||||||
|
\if@twocolumn
|
||||||
|
\LT@err{longtable not in 1-column mode}\@ehc
|
||||||
|
\fi
|
||||||
|
\begingroup
|
||||||
|
\@ifnextchar[\LT@array{\LT@array[x]}}
|
||||||
|
\def\LT@array[#1]#2{%
|
||||||
|
\refstepcounter{table}\stepcounter{LT@tables}%
|
||||||
|
\if l#1%
|
||||||
|
\LTleft\z@ \LTright\fill
|
||||||
|
\else\if r#1%
|
||||||
|
\LTleft\fill \LTright\z@
|
||||||
|
\else\if c#1%
|
||||||
|
\LTleft\fill \LTright\fill
|
||||||
|
\fi\fi\fi
|
||||||
|
\let\LT@mcol\multicolumn
|
||||||
|
\let\LT@@tabarray\@tabarray
|
||||||
|
\let\LT@@hl\hline
|
||||||
|
\def\@tabarray{%
|
||||||
|
\let\hline\LT@@hl
|
||||||
|
\LT@@tabarray}%
|
||||||
|
\let\\\LT@tabularcr\let\tabularnewline\\%
|
||||||
|
\def\newpage{\noalign{\break}}%
|
||||||
|
\def\pagebreak{\noalign{\ifnum`}=0\fi\@testopt{\LT@no@pgbk-}4}%
|
||||||
|
\def\nopagebreak{\noalign{\ifnum`}=0\fi\@testopt\LT@no@pgbk4}%
|
||||||
|
\let\hline\LT@hline \let\kill\LT@kill\let\caption\LT@caption
|
||||||
|
\@tempdima\ht\strutbox
|
||||||
|
\let\@endpbox\LT@endpbox
|
||||||
|
\ifx\extrarowheight\@undefined
|
||||||
|
\let\@acol\@tabacol
|
||||||
|
\let\@classz\@tabclassz \let\@classiv\@tabclassiv
|
||||||
|
\def\@startpbox{\vtop\LT@startpbox}%
|
||||||
|
\let\@@startpbox\@startpbox
|
||||||
|
\let\@@endpbox\@endpbox
|
||||||
|
\let\LT@LL@FM@cr\@tabularcr
|
||||||
|
\else
|
||||||
|
\advance\@tempdima\extrarowheight
|
||||||
|
\col@sep\tabcolsep
|
||||||
|
\let\@startpbox\LT@startpbox\let\LT@LL@FM@cr\@arraycr
|
||||||
|
\fi
|
||||||
|
\setbox\@arstrutbox\hbox{\vrule
|
||||||
|
\@height \arraystretch \@tempdima
|
||||||
|
\@depth \arraystretch \dp \strutbox
|
||||||
|
\@width \z@}%
|
||||||
|
\let\@sharp##\let\protect\relax
|
||||||
|
\begingroup
|
||||||
|
\@mkpream{#2}%
|
||||||
|
\xdef\LT@bchunk{%
|
||||||
|
\global\advance\c@LT@chunks\@ne
|
||||||
|
\global\LT@rows\z@\setbox\z@\vbox\bgroup
|
||||||
|
\LT@setprevdepth
|
||||||
|
\tabskip\LTleft \noexpand\halign to\hsize\bgroup
|
||||||
|
\tabskip\z@ \@arstrut \@preamble \tabskip\LTright \cr}%
|
||||||
|
\endgroup
|
||||||
|
\expandafter\LT@nofcols\LT@bchunk&\LT@nofcols
|
||||||
|
\LT@make@row
|
||||||
|
\m@th\let\par\@empty
|
||||||
|
\everycr{}\lineskip\z@\baselineskip\z@
|
||||||
|
\LT@bchunk}
|
||||||
|
\def\LT@no@pgbk#1[#2]{\penalty #1\@getpen{#2}\ifnum`{=0\fi}}
|
||||||
|
\def\LT@start{%
|
||||||
|
\let\LT@start\endgraf
|
||||||
|
\endgraf\penalty\z@\vskip\LTpre
|
||||||
|
\dimen@\pagetotal
|
||||||
|
\advance\dimen@ \ht\ifvoid\LT@firsthead\LT@head\else\LT@firsthead\fi
|
||||||
|
\advance\dimen@ \dp\ifvoid\LT@firsthead\LT@head\else\LT@firsthead\fi
|
||||||
|
\advance\dimen@ \ht\LT@foot
|
||||||
|
\dimen@ii\vfuzz
|
||||||
|
\vfuzz\maxdimen
|
||||||
|
\setbox\tw@\copy\z@
|
||||||
|
\setbox\tw@\vsplit\tw@ to \ht\@arstrutbox
|
||||||
|
\setbox\tw@\vbox{\unvbox\tw@}%
|
||||||
|
\vfuzz\dimen@ii
|
||||||
|
\advance\dimen@ \ht
|
||||||
|
\ifdim\ht\@arstrutbox>\ht\tw@\@arstrutbox\else\tw@\fi
|
||||||
|
\advance\dimen@\dp
|
||||||
|
\ifdim\dp\@arstrutbox>\dp\tw@\@arstrutbox\else\tw@\fi
|
||||||
|
\advance\dimen@ -\pagegoal
|
||||||
|
\ifdim \dimen@>\z@\vfil\break\fi
|
||||||
|
\global\@colroom\@colht
|
||||||
|
\ifvoid\LT@foot\else
|
||||||
|
\advance\vsize-\ht\LT@foot
|
||||||
|
\global\advance\@colroom-\ht\LT@foot
|
||||||
|
\dimen@\pagegoal\advance\dimen@-\ht\LT@foot\pagegoal\dimen@
|
||||||
|
\maxdepth\z@
|
||||||
|
\fi
|
||||||
|
\ifvoid\LT@firsthead\copy\LT@head\else\box\LT@firsthead\fi\nobreak
|
||||||
|
\output{\LT@output}}
|
||||||
|
\def\endlongtable{%
|
||||||
|
\crcr
|
||||||
|
\noalign{%
|
||||||
|
\let\LT@entry\LT@entry@chop
|
||||||
|
\xdef\LT@save@row{\LT@save@row}}%
|
||||||
|
\LT@echunk
|
||||||
|
\LT@start
|
||||||
|
\unvbox\z@
|
||||||
|
\LT@get@widths
|
||||||
|
\if@filesw
|
||||||
|
{\let\LT@entry\LT@entry@write\immediate\write\@auxout{%
|
||||||
|
\gdef\expandafter\noexpand
|
||||||
|
\csname LT@\romannumeral\c@LT@tables\endcsname
|
||||||
|
{\LT@save@row}}}%
|
||||||
|
\fi
|
||||||
|
\ifx\LT@save@row\LT@@save@row
|
||||||
|
\else
|
||||||
|
\LT@warn{Column \@width s have changed\MessageBreak
|
||||||
|
in table \thetable}%
|
||||||
|
\LT@final@warn
|
||||||
|
\fi
|
||||||
|
\endgraf\penalty -\LT@end@pen
|
||||||
|
\endgroup
|
||||||
|
\global\@mparbottom\z@
|
||||||
|
\pagegoal\vsize
|
||||||
|
\endgraf\penalty\z@\addvspace\LTpost
|
||||||
|
\ifvoid\footins\else\insert\footins{}\fi}
|
||||||
|
\def\LT@nofcols#1&{%
|
||||||
|
\futurelet\@let@token\LT@n@fcols}
|
||||||
|
\def\LT@n@fcols{%
|
||||||
|
\advance\LT@cols\@ne
|
||||||
|
\ifx\@let@token\LT@nofcols
|
||||||
|
\expandafter\@gobble
|
||||||
|
\else
|
||||||
|
\expandafter\LT@nofcols
|
||||||
|
\fi}
|
||||||
|
\def\LT@tabularcr{%
|
||||||
|
\relax\iffalse{\fi\ifnum0=`}\fi
|
||||||
|
\@ifstar
|
||||||
|
{\def\crcr{\LT@crcr\noalign{\nobreak}}\let\cr\crcr
|
||||||
|
\LT@t@bularcr}%
|
||||||
|
{\LT@t@bularcr}}
|
||||||
|
\let\LT@crcr\crcr
|
||||||
|
\let\LT@setprevdepth\relax
|
||||||
|
\def\LT@t@bularcr{%
|
||||||
|
\global\advance\LT@rows\@ne
|
||||||
|
\ifnum\LT@rows=\LTchunksize
|
||||||
|
\gdef\LT@setprevdepth{%
|
||||||
|
\prevdepth\z@\global
|
||||||
|
\global\let\LT@setprevdepth\relax}%
|
||||||
|
\expandafter\LT@xtabularcr
|
||||||
|
\else
|
||||||
|
\ifnum0=`{}\fi
|
||||||
|
\expandafter\LT@LL@FM@cr
|
||||||
|
\fi}
|
||||||
|
\def\LT@xtabularcr{%
|
||||||
|
\@ifnextchar[\LT@argtabularcr\LT@ntabularcr}
|
||||||
|
\def\LT@ntabularcr{%
|
||||||
|
\ifnum0=`{}\fi
|
||||||
|
\LT@echunk
|
||||||
|
\LT@start
|
||||||
|
\unvbox\z@
|
||||||
|
\LT@get@widths
|
||||||
|
\LT@bchunk}
|
||||||
|
\def\LT@argtabularcr[#1]{%
|
||||||
|
\ifnum0=`{}\fi
|
||||||
|
\ifdim #1>\z@
|
||||||
|
\unskip\@xargarraycr{#1}%
|
||||||
|
\else
|
||||||
|
\@yargarraycr{#1}%
|
||||||
|
\fi
|
||||||
|
\LT@echunk
|
||||||
|
\LT@start
|
||||||
|
\unvbox\z@
|
||||||
|
\LT@get@widths
|
||||||
|
\LT@bchunk}
|
||||||
|
\def\LT@echunk{%
|
||||||
|
\crcr\LT@save@row\cr\egroup
|
||||||
|
\global\setbox\@ne\lastbox
|
||||||
|
\unskip
|
||||||
|
\egroup}
|
||||||
|
\def\LT@entry#1#2{%
|
||||||
|
\ifhmode\@firstofone{&}\fi\omit
|
||||||
|
\ifnum#1=\c@LT@chunks
|
||||||
|
\else
|
||||||
|
\kern#2\relax
|
||||||
|
\fi}
|
||||||
|
\def\LT@entry@chop#1#2{%
|
||||||
|
\noexpand\LT@entry
|
||||||
|
{\ifnum#1>\c@LT@chunks
|
||||||
|
1}{0pt%
|
||||||
|
\else
|
||||||
|
#1}{#2%
|
||||||
|
\fi}}
|
||||||
|
\def\LT@entry@write{%
|
||||||
|
\noexpand\LT@entry^^J%
|
||||||
|
\@spaces}
|
||||||
|
\def\LT@kill{%
|
||||||
|
\LT@echunk
|
||||||
|
\LT@get@widths
|
||||||
|
\expandafter\LT@rebox\LT@bchunk}
|
||||||
|
\def\LT@rebox#1\bgroup{%
|
||||||
|
#1\bgroup
|
||||||
|
\unvbox\z@
|
||||||
|
\unskip
|
||||||
|
\setbox\z@\lastbox}
|
||||||
|
\def\LT@blank@row{%
|
||||||
|
\xdef\LT@save@row{\expandafter\LT@build@blank
|
||||||
|
\romannumeral\number\LT@cols 001 }}
|
||||||
|
\def\LT@build@blank#1{%
|
||||||
|
\if#1m%
|
||||||
|
\noexpand\LT@entry{1}{0pt}%
|
||||||
|
\expandafter\LT@build@blank
|
||||||
|
\fi}
|
||||||
|
\def\LT@make@row{%
|
||||||
|
\global\expandafter\let\expandafter\LT@save@row
|
||||||
|
\csname LT@\romannumeral\c@LT@tables\endcsname
|
||||||
|
\ifx\LT@save@row\relax
|
||||||
|
\LT@blank@row
|
||||||
|
\else
|
||||||
|
{\let\LT@entry\or
|
||||||
|
\if!%
|
||||||
|
\ifcase\expandafter\expandafter\expandafter\LT@cols
|
||||||
|
\expandafter\@gobble\LT@save@row
|
||||||
|
\or
|
||||||
|
\else
|
||||||
|
\relax
|
||||||
|
\fi
|
||||||
|
!%
|
||||||
|
\else
|
||||||
|
\aftergroup\LT@blank@row
|
||||||
|
\fi}%
|
||||||
|
\fi}
|
||||||
|
\let\setlongtables\relax
|
||||||
|
\def\LT@get@widths{%
|
||||||
|
\setbox\tw@\hbox{%
|
||||||
|
\unhbox\@ne
|
||||||
|
\let\LT@old@row\LT@save@row
|
||||||
|
\global\let\LT@save@row\@empty
|
||||||
|
\count@\LT@cols
|
||||||
|
\loop
|
||||||
|
\unskip
|
||||||
|
\setbox\tw@\lastbox
|
||||||
|
\ifhbox\tw@
|
||||||
|
\LT@def@row
|
||||||
|
\advance\count@\m@ne
|
||||||
|
\repeat}%
|
||||||
|
\ifx\LT@@save@row\@undefined
|
||||||
|
\let\LT@@save@row\LT@save@row
|
||||||
|
\fi}
|
||||||
|
\def\LT@def@row{%
|
||||||
|
\let\LT@entry\or
|
||||||
|
\edef\@tempa{%
|
||||||
|
\ifcase\expandafter\count@\LT@old@row
|
||||||
|
\else
|
||||||
|
{1}{0pt}%
|
||||||
|
\fi}%
|
||||||
|
\let\LT@entry\relax
|
||||||
|
\xdef\LT@save@row{%
|
||||||
|
\LT@entry
|
||||||
|
\expandafter\LT@max@sel\@tempa
|
||||||
|
\LT@save@row}}
|
||||||
|
\def\LT@max@sel#1#2{%
|
||||||
|
{\ifdim#2=\wd\tw@
|
||||||
|
#1%
|
||||||
|
\else
|
||||||
|
\number\c@LT@chunks
|
||||||
|
\fi}%
|
||||||
|
{\the\wd\tw@}}
|
||||||
|
\def\LT@hline{%
|
||||||
|
\noalign{\ifnum0=`}\fi
|
||||||
|
\penalty\@M
|
||||||
|
\futurelet\@let@token\LT@@hline}
|
||||||
|
\def\LT@@hline{%
|
||||||
|
\ifx\@let@token\hline
|
||||||
|
\global\let\@gtempa\@gobble
|
||||||
|
\gdef\LT@sep{\penalty-\@medpenalty\vskip\doublerulesep}%
|
||||||
|
\else
|
||||||
|
\global\let\@gtempa\@empty
|
||||||
|
\gdef\LT@sep{\penalty-\@lowpenalty\vskip-\arrayrulewidth}%
|
||||||
|
\fi
|
||||||
|
\ifnum0=`{\fi}%
|
||||||
|
\multispan\LT@cols
|
||||||
|
\unskip\leaders\hrule\@height\arrayrulewidth\hfill\cr
|
||||||
|
\noalign{\LT@sep}%
|
||||||
|
\multispan\LT@cols
|
||||||
|
\unskip\leaders\hrule\@height\arrayrulewidth\hfill\cr
|
||||||
|
\noalign{\penalty\@M}%
|
||||||
|
\@gtempa}
|
||||||
|
\def\LT@caption{%
|
||||||
|
\noalign\bgroup
|
||||||
|
\@ifnextchar[{\egroup\LT@c@ption\@firstofone}\LT@capti@n}
|
||||||
|
\def\LT@c@ption#1[#2]#3{%
|
||||||
|
\LT@makecaption#1\fnum@table{#3}%
|
||||||
|
\def\@tempa{#2}%
|
||||||
|
\ifx\@tempa\@empty\else
|
||||||
|
{\let\\\space
|
||||||
|
\addcontentsline{lot}{table}{\protect\numberline{\thetable}{#2}}}%
|
||||||
|
\fi}
|
||||||
|
\def\LT@capti@n{%
|
||||||
|
\@ifstar
|
||||||
|
{\egroup\LT@c@ption\@gobble[]}%
|
||||||
|
{\egroup\@xdblarg{\LT@c@ption\@firstofone}}}
|
||||||
|
\def\LT@makecaption#1#2#3{%
|
||||||
|
\LT@mcol\LT@cols c{\hbox to\z@{\hss\parbox[t]\LTcapwidth{%
|
||||||
|
\sbox\@tempboxa{#1{#2: }#3}%
|
||||||
|
\ifdim\wd\@tempboxa>\hsize
|
||||||
|
#1{#2: }#3%
|
||||||
|
\else
|
||||||
|
\hbox to\hsize{\hfil\box\@tempboxa\hfil}%
|
||||||
|
\fi
|
||||||
|
\endgraf\vskip\baselineskip}%
|
||||||
|
\hss}}}
|
||||||
|
\def\LT@output{%
|
||||||
|
\ifnum\outputpenalty <-\@Mi
|
||||||
|
\ifnum\outputpenalty > -\LT@end@pen
|
||||||
|
\LT@err{floats and marginpars not allowed in a longtable}\@ehc
|
||||||
|
\else
|
||||||
|
\setbox\z@\vbox{\unvbox\@cclv}%
|
||||||
|
\ifdim \ht\LT@lastfoot>\ht\LT@foot
|
||||||
|
\dimen@\pagegoal
|
||||||
|
\advance\dimen@-\ht\LT@lastfoot
|
||||||
|
\ifdim\dimen@<\ht\z@
|
||||||
|
\setbox\@cclv\vbox{\unvbox\z@\copy\LT@foot\vss}%
|
||||||
|
\@makecol
|
||||||
|
\@outputpage
|
||||||
|
\setbox\z@\vbox{\box\LT@head}%
|
||||||
|
\fi
|
||||||
|
\fi
|
||||||
|
\global\@colroom\@colht
|
||||||
|
\global\vsize\@colht
|
||||||
|
\vbox
|
||||||
|
{\unvbox\z@\box\ifvoid\LT@lastfoot\LT@foot\else\LT@lastfoot\fi}%
|
||||||
|
\fi
|
||||||
|
\else
|
||||||
|
\setbox\@cclv\vbox{\unvbox\@cclv\copy\LT@foot\vss}%
|
||||||
|
\@makecol
|
||||||
|
\@outputpage
|
||||||
|
\global\vsize\@colroom
|
||||||
|
\copy\LT@head\nobreak
|
||||||
|
\fi}
|
||||||
|
\def\LT@end@hd@ft#1{%
|
||||||
|
\LT@echunk
|
||||||
|
\ifx\LT@start\endgraf
|
||||||
|
\LT@err
|
||||||
|
{Longtable head or foot not at start of table}%
|
||||||
|
{Increase LTchunksize}%
|
||||||
|
\fi
|
||||||
|
\setbox#1\box\z@
|
||||||
|
\LT@get@widths
|
||||||
|
\LT@bchunk}
|
||||||
|
\def\endfirsthead{\LT@end@hd@ft\LT@firsthead}
|
||||||
|
\def\endhead{\LT@end@hd@ft\LT@head}
|
||||||
|
\def\endfoot{\LT@end@hd@ft\LT@foot}
|
||||||
|
\def\endlastfoot{\LT@end@hd@ft\LT@lastfoot}
|
||||||
|
\def\LT@startpbox#1{%
|
||||||
|
\bgroup
|
||||||
|
\let\@footnotetext\LT@p@ftntext
|
||||||
|
\setlength\hsize{#1}%
|
||||||
|
\@arrayparboxrestore
|
||||||
|
\vrule \@height \ht\@arstrutbox \@width \z@}
|
||||||
|
\def\LT@endpbox{%
|
||||||
|
\@finalstrut\@arstrutbox
|
||||||
|
\egroup
|
||||||
|
\the\LT@p@ftn
|
||||||
|
\global\LT@p@ftn{}%
|
||||||
|
\hfil}
|
||||||
|
\def\LT@p@ftntext#1{%
|
||||||
|
\edef\@tempa{\the\LT@p@ftn\noexpand\footnotetext[\the\c@footnote]}%
|
||||||
|
\global\LT@p@ftn\expandafter{\@tempa{#1}}}%
|
||||||
|
|
||||||
|
\@namedef{ver@longtable.sty}{2014/10/28 v4.11 Multi-page Table package (DPC) - frozen version for doxygen}
|
||||||
|
\endinput
|
||||||
|
%%
|
||||||
|
%% End of file `longtable.sty'.
|
193
docs/latex/refman.tex
Normal file
@ -0,0 +1,193 @@
|
|||||||
|
\let\mypdfximage\pdfximage\def\pdfximage{\immediate\mypdfximage}\documentclass[twoside]{book}
|
||||||
|
|
||||||
|
%% moved from doxygen.sty due to workaround for LaTex 2019 version and unmaintained tabu package
|
||||||
|
\usepackage{ifthen}
|
||||||
|
\ifx\requestedLaTeXdate\undefined
|
||||||
|
\usepackage{array}
|
||||||
|
\else
|
||||||
|
\usepackage{array}[=2016-10-06]
|
||||||
|
\fi
|
||||||
|
%%
|
||||||
|
% Packages required by doxygen
|
||||||
|
\usepackage{fixltx2e}
|
||||||
|
\usepackage{doxygen}
|
||||||
|
\usepackage{graphicx}
|
||||||
|
\usepackage[utf8]{inputenc}
|
||||||
|
\usepackage{makeidx}
|
||||||
|
\PassOptionsToPackage{warn}{textcomp}
|
||||||
|
\usepackage{textcomp}
|
||||||
|
\usepackage[nointegrals]{wasysym}
|
||||||
|
\usepackage{ifxetex}
|
||||||
|
|
||||||
|
% Font selection
|
||||||
|
\usepackage[T1]{fontenc}
|
||||||
|
\usepackage[scaled=.90]{helvet}
|
||||||
|
\usepackage{courier}
|
||||||
|
\renewcommand{\familydefault}{\sfdefault}
|
||||||
|
\usepackage{sectsty}
|
||||||
|
\allsectionsfont{%
|
||||||
|
\fontseries{bc}\selectfont%
|
||||||
|
\color{darkgray}%
|
||||||
|
}
|
||||||
|
\renewcommand{\DoxyLabelFont}{%
|
||||||
|
\fontseries{bc}\selectfont%
|
||||||
|
\color{darkgray}%
|
||||||
|
}
|
||||||
|
\newcommand{\+}{\discretionary{\mbox{\scriptsize$\hookleftarrow$}}{}{}}
|
||||||
|
|
||||||
|
% Arguments of doxygenemoji:
|
||||||
|
% 1) ':<text>:' form of the emoji, already "LaTeX"-escaped
|
||||||
|
% 2) file with the name of the emoji without the .png extension
|
||||||
|
% in case image exist use this otherwise use the ':<text>:' form
|
||||||
|
\newcommand{\doxygenemoji}[2]{%
|
||||||
|
\IfFileExists{./#2.png}{\raisebox{-0.1em}{\includegraphics[height=0.9em]{./#2.png}}}{#1}%
|
||||||
|
}
|
||||||
|
% Page & text layout
|
||||||
|
\usepackage{geometry}
|
||||||
|
\geometry{%
|
||||||
|
a4paper,%
|
||||||
|
top=2.5cm,%
|
||||||
|
bottom=2.5cm,%
|
||||||
|
left=2.5cm,%
|
||||||
|
right=2.5cm%
|
||||||
|
}
|
||||||
|
\tolerance=750
|
||||||
|
\hfuzz=15pt
|
||||||
|
\hbadness=750
|
||||||
|
\setlength{\emergencystretch}{15pt}
|
||||||
|
\setlength{\parindent}{0cm}
|
||||||
|
\newcommand{\doxynormalparskip}{\setlength{\parskip}{3ex plus 2ex minus 2ex}}
|
||||||
|
\newcommand{\doxytocparskip}{\setlength{\parskip}{1ex plus 0ex minus 0ex}}
|
||||||
|
\doxynormalparskip
|
||||||
|
\makeatletter
|
||||||
|
\renewcommand{\paragraph}{%
|
||||||
|
\@startsection{paragraph}{4}{0ex}{-1.0ex}{1.0ex}{%
|
||||||
|
\normalfont\normalsize\bfseries\SS@parafont%
|
||||||
|
}%
|
||||||
|
}
|
||||||
|
\renewcommand{\subparagraph}{%
|
||||||
|
\@startsection{subparagraph}{5}{0ex}{-1.0ex}{1.0ex}{%
|
||||||
|
\normalfont\normalsize\bfseries\SS@subparafont%
|
||||||
|
}%
|
||||||
|
}
|
||||||
|
\makeatother
|
||||||
|
|
||||||
|
\makeatletter
|
||||||
|
\newcommand\hrulefilll{\leavevmode\leaders\hrule\hskip 0pt plus 1filll\kern\z@}
|
||||||
|
\makeatother
|
||||||
|
|
||||||
|
% Headers & footers
|
||||||
|
\usepackage{fancyhdr}
|
||||||
|
\pagestyle{fancyplain}
|
||||||
|
\renewcommand{\footrulewidth}{0.4pt}
|
||||||
|
%
|
||||||
|
\fancypagestyle{fancyplain}{
|
||||||
|
\fancyhf{}
|
||||||
|
\fancyhead[LE, RO]{\bfseries\thepage}
|
||||||
|
\fancyhead[LO]{\bfseries\rightmark}
|
||||||
|
\fancyhead[RE]{\bfseries\leftmark}
|
||||||
|
\fancyfoot[LO, RE]{\bfseries\scriptsize Generated by Doxygen }
|
||||||
|
}
|
||||||
|
%
|
||||||
|
\fancypagestyle{plain}{
|
||||||
|
\fancyhf{}
|
||||||
|
\fancyfoot[LO, RE]{\bfseries\scriptsize Generated by Doxygen }
|
||||||
|
\renewcommand{\headrulewidth}{0pt}}
|
||||||
|
%
|
||||||
|
\pagestyle{fancyplain}
|
||||||
|
%
|
||||||
|
\renewcommand{\chaptermark}[1]{%
|
||||||
|
\markboth{#1}{}%
|
||||||
|
}
|
||||||
|
\renewcommand{\sectionmark}[1]{%
|
||||||
|
\markright{\thesection\ #1}%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Indices & bibliography
|
||||||
|
\usepackage{natbib}
|
||||||
|
\usepackage[titles]{tocloft}
|
||||||
|
\setcounter{tocdepth}{3}
|
||||||
|
\setcounter{secnumdepth}{5}
|
||||||
|
\makeindex
|
||||||
|
|
||||||
|
\usepackage{newunicodechar}
|
||||||
|
\newunicodechar{⁻}{${}^{-}$}% Superscript minus
|
||||||
|
\newunicodechar{²}{${}^{2}$}% Superscript two
|
||||||
|
\newunicodechar{³}{${}^{3}$}% Superscript three
|
||||||
|
|
||||||
|
% Hyperlinks (required, but should be loaded last)
|
||||||
|
\ifpdf
|
||||||
|
\usepackage[pdftex,pagebackref=true]{hyperref}
|
||||||
|
\else
|
||||||
|
\ifxetex
|
||||||
|
\usepackage[pagebackref=true]{hyperref}
|
||||||
|
\else
|
||||||
|
\usepackage[ps2pdf,pagebackref=true]{hyperref}
|
||||||
|
\fi
|
||||||
|
\fi
|
||||||
|
|
||||||
|
\hypersetup{%
|
||||||
|
colorlinks=true,%
|
||||||
|
linkcolor=blue,%
|
||||||
|
citecolor=blue,%
|
||||||
|
unicode%
|
||||||
|
}
|
||||||
|
|
||||||
|
% Custom commands
|
||||||
|
\newcommand{\clearemptydoublepage}{%
|
||||||
|
\newpage{\pagestyle{empty}\cleardoublepage}%
|
||||||
|
}
|
||||||
|
|
||||||
|
\usepackage{caption}
|
||||||
|
\captionsetup{labelsep=space,justification=centering,font={bf},singlelinecheck=off,skip=4pt,position=top}
|
||||||
|
|
||||||
|
\usepackage{etoc}
|
||||||
|
\etocsettocstyle{\doxytocparskip}{\doxynormalparskip}
|
||||||
|
\renewcommand{\numberline}[1]{#1~}
|
||||||
|
%===== C O N T E N T S =====
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
\raggedbottom
|
||||||
|
|
||||||
|
% Titlepage & ToC
|
||||||
|
\hypersetup{pageanchor=false,
|
||||||
|
bookmarksnumbered=true,
|
||||||
|
pdfencoding=unicode
|
||||||
|
}
|
||||||
|
\pagenumbering{alph}
|
||||||
|
\begin{titlepage}
|
||||||
|
\vspace*{7cm}
|
||||||
|
\begin{center}%
|
||||||
|
{\Large sapphirec \\[1ex]\large 0.\+1 }\\
|
||||||
|
\vspace*{1cm}
|
||||||
|
{\large Generated by Doxygen 1.9.1}\\
|
||||||
|
\end{center}
|
||||||
|
\end{titlepage}
|
||||||
|
\clearemptydoublepage
|
||||||
|
\pagenumbering{roman}
|
||||||
|
\tableofcontents
|
||||||
|
\clearemptydoublepage
|
||||||
|
\pagenumbering{arabic}
|
||||||
|
\hypersetup{pageanchor=true}
|
||||||
|
|
||||||
|
%--- Begin generated contents ---
|
||||||
|
\chapter{Class Index}
|
||||||
|
\input{annotated}
|
||||||
|
\chapter{Class Documentation}
|
||||||
|
\input{class____benchmark__impl}
|
||||||
|
\input{structArguments}
|
||||||
|
\input{classLexer}
|
||||||
|
\input{structLocation}
|
||||||
|
\input{classParser}
|
||||||
|
\input{structToken}
|
||||||
|
%--- End generated contents ---
|
||||||
|
|
||||||
|
% Index
|
||||||
|
\backmatter
|
||||||
|
\newpage
|
||||||
|
\phantomsection
|
||||||
|
\clearemptydoublepage
|
||||||
|
\addcontentsline{toc}{chapter}{\indexname}
|
||||||
|
\printindex
|
||||||
|
|
||||||
|
\end{document}
|
32
docs/latex/structArguments.tex
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
\hypertarget{structArguments}{}\doxysection{Arguments Struct Reference}
|
||||||
|
\label{structArguments}\index{Arguments@{Arguments}}
|
||||||
|
\doxysubsection*{Static Public Member Functions}
|
||||||
|
\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structArguments_a473917d0a36d731d31f89d49c2dc528c}\label{structArguments_a473917d0a36d731d31f89d49c2dc528c}}
|
||||||
|
static void {\bfseries parse} (int argc, char $\ast$$\ast$argv)
|
||||||
|
\end{DoxyCompactItemize}
|
||||||
|
\doxysubsection*{Static Public Attributes}
|
||||||
|
\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structArguments_a415be55e6706062e5a393e9db8761b07}\label{structArguments_a415be55e6706062e5a393e9db8761b07}}
|
||||||
|
static std\+::string {\bfseries input\+\_\+fname}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structArguments_ad11fab97672b642a76aab7c0217c9f2b}\label{structArguments_ad11fab97672b642a76aab7c0217c9f2b}}
|
||||||
|
static std\+::string {\bfseries output\+\_\+fname}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structArguments_a139f6982398f2c790dc298415fc9b007}\label{structArguments_a139f6982398f2c790dc298415fc9b007}}
|
||||||
|
static bool {\bfseries wimport}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structArguments_a30c0e29cd531baee48619881301db9d4}\label{structArguments_a30c0e29cd531baee48619881301db9d4}}
|
||||||
|
static std\+::string {\bfseries cpu}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structArguments_a7fad3659de10cf771380b86795c21928}\label{structArguments_a7fad3659de10cf771380b86795c21928}}
|
||||||
|
static llvm\+::\+Triple {\bfseries Target\+Triple}
|
||||||
|
\end{DoxyCompactItemize}
|
||||||
|
|
||||||
|
|
||||||
|
The documentation for this struct was generated from the following files\+:\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
src/Arguments.\+h\item
|
||||||
|
src/Arguments.\+cpp\end{DoxyCompactItemize}
|
47
docs/latex/structLocation.tex
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
\hypertarget{structLocation}{}\doxysection{Location Struct Reference}
|
||||||
|
\label{structLocation}\index{Location@{Location}}
|
||||||
|
\doxysubsection*{Public Member Functions}
|
||||||
|
\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structLocation_a7d1957f57b0c5b36b2f546d5833d6be6}\label{structLocation_a7d1957f57b0c5b36b2f546d5833d6be6}}
|
||||||
|
{\bfseries Location} (int ln, int col, std\+::string file)
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structLocation_acebfd439c295573434454fdd3e116e0e}\label{structLocation_acebfd439c295573434454fdd3e116e0e}}
|
||||||
|
std\+::string {\bfseries str} () const
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structLocation_aaa249a0b41e4208fd9346b4744c0a823}\label{structLocation_aaa249a0b41e4208fd9346b4744c0a823}}
|
||||||
|
std\+::string {\bfseries paren\+\_\+str} () const
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structLocation_a375ecb41aafad3dba17600684cb16a6f}\label{structLocation_a375ecb41aafad3dba17600684cb16a6f}}
|
||||||
|
void {\bfseries advance} ()
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structLocation_ab0754b2857e8fc1bb80f0f8c18c629ab}\label{structLocation_ab0754b2857e8fc1bb80f0f8c18c629ab}}
|
||||||
|
void {\bfseries pos\+\_\+from\+\_\+char} (const char \&character)
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structLocation_a8646c981888c9d6423e99a0298f9d795}\label{structLocation_a8646c981888c9d6423e99a0298f9d795}}
|
||||||
|
void {\bfseries operator=} (const \mbox{\hyperlink{structLocation}{Location}} \&other)
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structLocation_a524b9cec2031554ca8f15405ab5ae9ff}\label{structLocation_a524b9cec2031554ca8f15405ab5ae9ff}}
|
||||||
|
void {\bfseries copy} (const \mbox{\hyperlink{structLocation}{Location}} \&other)
|
||||||
|
\end{DoxyCompactItemize}
|
||||||
|
\doxysubsection*{Public Attributes}
|
||||||
|
\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structLocation_a20371736bca98414df38bc3ae316bd1c}\label{structLocation_a20371736bca98414df38bc3ae316bd1c}}
|
||||||
|
int {\bfseries line}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structLocation_ae9cf292727f8758f402671c80d6c4718}\label{structLocation_ae9cf292727f8758f402671c80d6c4718}}
|
||||||
|
int {\bfseries column}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structLocation_a5b691d1c7f3c5c1b7428cf118d3595c8}\label{structLocation_a5b691d1c7f3c5c1b7428cf118d3595c8}}
|
||||||
|
std\+::string {\bfseries fname}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structLocation_af047bbd018951f48de8adf5a89938acc}\label{structLocation_af047bbd018951f48de8adf5a89938acc}}
|
||||||
|
std\+::shared\+\_\+ptr$<$ \mbox{\hyperlink{structLocation}{Location}} $>$ {\bfseries parent} = nullptr
|
||||||
|
\end{DoxyCompactItemize}
|
||||||
|
|
||||||
|
|
||||||
|
The documentation for this struct was generated from the following files\+:\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
src/Location.\+h\item
|
||||||
|
src/Location.\+cpp\end{DoxyCompactItemize}
|
71
docs/latex/structToken.tex
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
\hypertarget{structToken}{}\doxysection{Token Struct Reference}
|
||||||
|
\label{structToken}\index{Token@{Token}}
|
||||||
|
\doxysubsection*{Public Member Functions}
|
||||||
|
\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structToken_ab74d6b5fef46e3c194229e7a884cad45}\label{structToken_ab74d6b5fef46e3c194229e7a884cad45}}
|
||||||
|
{\bfseries Token} (const Token\+Type \&type)
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structToken_a6d4d66f172376503d15b9a2feb5f90e8}\label{structToken_a6d4d66f172376503d15b9a2feb5f90e8}}
|
||||||
|
{\bfseries Token} (const Token\+Type \&type, const \mbox{\hyperlink{structLocation}{Location}} \&location)
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structToken_a2efe8a7168e6b2adac5d1cf6750daa7b}\label{structToken_a2efe8a7168e6b2adac5d1cf6750daa7b}}
|
||||||
|
{\bfseries Token} (const Token\+Type \&type, const int \&val, const \mbox{\hyperlink{structLocation}{Location}} \&location)
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structToken_a17f818bd7d9ff7472837307d09fb58fa}\label{structToken_a17f818bd7d9ff7472837307d09fb58fa}}
|
||||||
|
{\bfseries Token} (const Token\+Type \&type, const std\+::string \&val, const \mbox{\hyperlink{structLocation}{Location}} \&location)
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structToken_ad810ae05b8d953d481e1cbebb2964b17}\label{structToken_ad810ae05b8d953d481e1cbebb2964b17}}
|
||||||
|
{\bfseries Token} (const Token\+Type \&type, const std\+::string \&val)
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structToken_a40f4b33a2ffd88acf803132d598c4ab4}\label{structToken_a40f4b33a2ffd88acf803132d598c4ab4}}
|
||||||
|
{\bfseries Token} (const Token\+Type \&type, const float \&val, const \mbox{\hyperlink{structLocation}{Location}} \&location)
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structToken_a602aa1415de3415044205333495e72f5}\label{structToken_a602aa1415de3415044205333495e72f5}}
|
||||||
|
std\+::string {\bfseries to\+\_\+string} () const
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structToken_a432fb89b5fed83bd753f99a5ea10e2e6}\label{structToken_a432fb89b5fed83bd753f99a5ea10e2e6}}
|
||||||
|
std\+::string {\bfseries line} () const
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structToken_ab58cab5077c1c4c4671964595308c3fc}\label{structToken_ab58cab5077c1c4c4671964595308c3fc}}
|
||||||
|
void {\bfseries operator=} (const \mbox{\hyperlink{structToken}{Token}} \&other)
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structToken_a036d56315ccd55329e9e1e2271b16795}\label{structToken_a036d56315ccd55329e9e1e2271b16795}}
|
||||||
|
\mbox{\hyperlink{structToken}{Token}} {\bfseries copy\+\_\+with\+\_\+new\+\_\+type} (const Token\+Type \&type)
|
||||||
|
\end{DoxyCompactItemize}
|
||||||
|
\doxysubsection*{Static Public Member Functions}
|
||||||
|
\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structToken_a6c00b26185c109de4c2b79bd756defa1}\label{structToken_a6c00b26185c109de4c2b79bd756defa1}}
|
||||||
|
static \mbox{\hyperlink{structToken}{Token}} {\bfseries make\+\_\+with\+\_\+line} (const \mbox{\hyperlink{structToken}{Token}} \&origin, const std\+::string \&line\+\_\+text)
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structToken_a2d401d11a0b5cb39e1505dbaf13fee82}\label{structToken_a2d401d11a0b5cb39e1505dbaf13fee82}}
|
||||||
|
static void {\bfseries erase} (\mbox{\hyperlink{structToken}{Token}} \&tk)
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structToken_a0eaf331871c69faf7c37d8e87db1f7e6}\label{structToken_a0eaf331871c69faf7c37d8e87db1f7e6}}
|
||||||
|
static bool {\bfseries match\+\_\+token\+\_\+types} (const std\+::vector$<$ \mbox{\hyperlink{structToken}{Token}} $>$ \&a, const std\+::vector$<$ \mbox{\hyperlink{structToken}{Token}} $>$ \&b, int count)
|
||||||
|
\end{DoxyCompactItemize}
|
||||||
|
\doxysubsection*{Public Attributes}
|
||||||
|
\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structToken_afeecd45f0f912778b11fffe0abb299b5}\label{structToken_afeecd45f0f912778b11fffe0abb299b5}}
|
||||||
|
Token\+Type {\bfseries tk\+\_\+type}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structToken_a0bd1ec80054e52bb87e5f5c4fd2f6931}\label{structToken_a0bd1ec80054e52bb87e5f5c4fd2f6931}}
|
||||||
|
int {\bfseries int\+\_\+value}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structToken_a15eec7ad7fced0b21918e04a3e6c639c}\label{structToken_a15eec7ad7fced0b21918e04a3e6c639c}}
|
||||||
|
std\+::string {\bfseries string\+\_\+value}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structToken_a92a5a00e9160db302b651c44c3658051}\label{structToken_a92a5a00e9160db302b651c44c3658051}}
|
||||||
|
float {\bfseries float\+\_\+value}
|
||||||
|
\item
|
||||||
|
\mbox{\Hypertarget{structToken_a33ccd4b1d4d4e2690a54f6ed39a7bf06}\label{structToken_a33ccd4b1d4d4e2690a54f6ed39a7bf06}}
|
||||||
|
\mbox{\hyperlink{structLocation}{Location}} {\bfseries loc}
|
||||||
|
\end{DoxyCompactItemize}
|
||||||
|
|
||||||
|
|
||||||
|
The documentation for this struct was generated from the following files\+:\begin{DoxyCompactItemize}
|
||||||
|
\item
|
||||||
|
src/Token.\+h\item
|
||||||
|
src/Token.\+cpp\end{DoxyCompactItemize}
|
2557
docs/latex/tabu_doxygen.sty
Normal file
@ -3,7 +3,13 @@
|
|||||||
#include "sapphirepch.h"
|
#include "sapphirepch.h"
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
|
||||||
/* Simple function to replace a substring in a string. */
|
/*
|
||||||
|
* Replaces all ocurrences of a substring with another one in a string.
|
||||||
|
* @param[in] str The input string.
|
||||||
|
* @param[in] from The substring to remove.
|
||||||
|
* @param[in] to The substring to add.
|
||||||
|
* @param[out] replaced Whether anything was replaced.
|
||||||
|
*/
|
||||||
bool replace(std::string& str, const std::string& from, const std::string& to);
|
bool replace(std::string& str, const std::string& from, const std::string& to);
|
||||||
|
|
||||||
/* Easy way of converting an int to a string without writing 5 lines of code every time you want to do it. */
|
/* Easy way of converting an int to a string without writing 5 lines of code every time you want to do it. */
|
||||||
|