\hypertarget{struct_token}{}\doxysection{Token Struct Reference} \label{struct_token}\index{Token@{Token}} {\ttfamily \#include $<$Token.\+h$>$} \doxysubsection*{Public Member Functions} \begin{DoxyCompactItemize} \item \mbox{\hyperlink{struct_token_ab74d6b5fef46e3c194229e7a884cad45}{Token}} (const \mbox{\hyperlink{_token_8h_aa520fbf142ba1e7e659590c07da31921}{Token\+Type}} \&type) \item \mbox{\hyperlink{struct_token_a6d4d66f172376503d15b9a2feb5f90e8}{Token}} (const \mbox{\hyperlink{_token_8h_aa520fbf142ba1e7e659590c07da31921}{Token\+Type}} \&type, const \mbox{\hyperlink{struct_location}{Location}} \&location) \item \mbox{\hyperlink{struct_token_a2efe8a7168e6b2adac5d1cf6750daa7b}{Token}} (const \mbox{\hyperlink{_token_8h_aa520fbf142ba1e7e659590c07da31921}{Token\+Type}} \&type, const int \&val, const \mbox{\hyperlink{struct_location}{Location}} \&location) \item \mbox{\hyperlink{struct_token_a17f818bd7d9ff7472837307d09fb58fa}{Token}} (const \mbox{\hyperlink{_token_8h_aa520fbf142ba1e7e659590c07da31921}{Token\+Type}} \&type, const std\+::string \&val, const \mbox{\hyperlink{struct_location}{Location}} \&location) \item \mbox{\hyperlink{struct_token_ad810ae05b8d953d481e1cbebb2964b17}{Token}} (const \mbox{\hyperlink{_token_8h_aa520fbf142ba1e7e659590c07da31921}{Token\+Type}} \&type, const std\+::string \&val) \item \mbox{\hyperlink{struct_token_a40f4b33a2ffd88acf803132d598c4ab4}{Token}} (const \mbox{\hyperlink{_token_8h_aa520fbf142ba1e7e659590c07da31921}{Token\+Type}} \&type, const float \&val, const \mbox{\hyperlink{struct_location}{Location}} \&location) \item \mbox{\hyperlink{struct_token_a3d7d59eaac1535df1433357d5d372f84}{$\sim$\+Token}} () \item std\+::string \mbox{\hyperlink{struct_token_a602aa1415de3415044205333495e72f5}{to\+\_\+string}} () const \item std\+::string \mbox{\hyperlink{struct_token_a432fb89b5fed83bd753f99a5ea10e2e6}{line}} () const \item void \mbox{\hyperlink{struct_token_ab58cab5077c1c4c4671964595308c3fc}{operator=}} (const \mbox{\hyperlink{struct_token}{Token}} \&other) \item \mbox{\hyperlink{struct_token}{Token}} \mbox{\hyperlink{struct_token_a036d56315ccd55329e9e1e2271b16795}{copy\+\_\+with\+\_\+new\+\_\+type}} (const \mbox{\hyperlink{_token_8h_aa520fbf142ba1e7e659590c07da31921}{Token\+Type}} \&type) \end{DoxyCompactItemize} \doxysubsection*{Static Public Member Functions} \begin{DoxyCompactItemize} \item static \mbox{\hyperlink{struct_token}{Token}} \mbox{\hyperlink{struct_token_a6c00b26185c109de4c2b79bd756defa1}{make\+\_\+with\+\_\+line}} (const \mbox{\hyperlink{struct_token}{Token}} \&origin, const std\+::string \&line\+\_\+text) \item static void \mbox{\hyperlink{struct_token_a2d401d11a0b5cb39e1505dbaf13fee82}{erase}} (\mbox{\hyperlink{struct_token}{Token}} \&tk) \item static bool \mbox{\hyperlink{struct_token_a0eaf331871c69faf7c37d8e87db1f7e6}{match\+\_\+token\+\_\+types}} (const std\+::vector$<$ \mbox{\hyperlink{struct_token}{Token}} $>$ \&a, const std\+::vector$<$ \mbox{\hyperlink{struct_token}{Token}} $>$ \&b, int count) \end{DoxyCompactItemize} \doxysubsection*{Public Attributes} \begin{DoxyCompactItemize} \item \mbox{\hyperlink{_token_8h_aa520fbf142ba1e7e659590c07da31921}{Token\+Type}} \mbox{\hyperlink{struct_token_afeecd45f0f912778b11fffe0abb299b5}{tk\+\_\+type}} \item int \mbox{\hyperlink{struct_token_a0bd1ec80054e52bb87e5f5c4fd2f6931}{int\+\_\+value}} \item std\+::string \mbox{\hyperlink{struct_token_a15eec7ad7fced0b21918e04a3e6c639c}{string\+\_\+value}} \item float \mbox{\hyperlink{struct_token_a92a5a00e9160db302b651c44c3658051}{float\+\_\+value}} \item \mbox{\hyperlink{struct_location}{Location}} \mbox{\hyperlink{struct_token_a33ccd4b1d4d4e2690a54f6ed39a7bf06}{loc}} \end{DoxyCompactItemize} \doxysubsection{Constructor \& Destructor Documentation} \mbox{\Hypertarget{struct_token_ab74d6b5fef46e3c194229e7a884cad45}\label{struct_token_ab74d6b5fef46e3c194229e7a884cad45}} \index{Token@{Token}!Token@{Token}} \index{Token@{Token}!Token@{Token}} \doxysubsubsection{\texorpdfstring{Token()}{Token()}\hspace{0.1cm}{\footnotesize\ttfamily [1/6]}} {\footnotesize\ttfamily Token\+::\+Token (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{_token_8h_aa520fbf142ba1e7e659590c07da31921}{Token\+Type}} \&}]{type }\end{DoxyParamCaption})} \mbox{\Hypertarget{struct_token_a6d4d66f172376503d15b9a2feb5f90e8}\label{struct_token_a6d4d66f172376503d15b9a2feb5f90e8}} \index{Token@{Token}!Token@{Token}} \index{Token@{Token}!Token@{Token}} \doxysubsubsection{\texorpdfstring{Token()}{Token()}\hspace{0.1cm}{\footnotesize\ttfamily [2/6]}} {\footnotesize\ttfamily Token\+::\+Token (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{_token_8h_aa520fbf142ba1e7e659590c07da31921}{Token\+Type}} \&}]{type, }\item[{const \mbox{\hyperlink{struct_location}{Location}} \&}]{location }\end{DoxyParamCaption})} \mbox{\Hypertarget{struct_token_a2efe8a7168e6b2adac5d1cf6750daa7b}\label{struct_token_a2efe8a7168e6b2adac5d1cf6750daa7b}} \index{Token@{Token}!Token@{Token}} \index{Token@{Token}!Token@{Token}} \doxysubsubsection{\texorpdfstring{Token()}{Token()}\hspace{0.1cm}{\footnotesize\ttfamily [3/6]}} {\footnotesize\ttfamily Token\+::\+Token (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{_token_8h_aa520fbf142ba1e7e659590c07da31921}{Token\+Type}} \&}]{type, }\item[{const int \&}]{val, }\item[{const \mbox{\hyperlink{struct_location}{Location}} \&}]{location }\end{DoxyParamCaption})} \mbox{\Hypertarget{struct_token_a17f818bd7d9ff7472837307d09fb58fa}\label{struct_token_a17f818bd7d9ff7472837307d09fb58fa}} \index{Token@{Token}!Token@{Token}} \index{Token@{Token}!Token@{Token}} \doxysubsubsection{\texorpdfstring{Token()}{Token()}\hspace{0.1cm}{\footnotesize\ttfamily [4/6]}} {\footnotesize\ttfamily Token\+::\+Token (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{_token_8h_aa520fbf142ba1e7e659590c07da31921}{Token\+Type}} \&}]{type, }\item[{const std\+::string \&}]{val, }\item[{const \mbox{\hyperlink{struct_location}{Location}} \&}]{location }\end{DoxyParamCaption})} \mbox{\Hypertarget{struct_token_ad810ae05b8d953d481e1cbebb2964b17}\label{struct_token_ad810ae05b8d953d481e1cbebb2964b17}} \index{Token@{Token}!Token@{Token}} \index{Token@{Token}!Token@{Token}} \doxysubsubsection{\texorpdfstring{Token()}{Token()}\hspace{0.1cm}{\footnotesize\ttfamily [5/6]}} {\footnotesize\ttfamily Token\+::\+Token (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{_token_8h_aa520fbf142ba1e7e659590c07da31921}{Token\+Type}} \&}]{type, }\item[{const std\+::string \&}]{val }\end{DoxyParamCaption})} \mbox{\Hypertarget{struct_token_a40f4b33a2ffd88acf803132d598c4ab4}\label{struct_token_a40f4b33a2ffd88acf803132d598c4ab4}} \index{Token@{Token}!Token@{Token}} \index{Token@{Token}!Token@{Token}} \doxysubsubsection{\texorpdfstring{Token()}{Token()}\hspace{0.1cm}{\footnotesize\ttfamily [6/6]}} {\footnotesize\ttfamily Token\+::\+Token (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{_token_8h_aa520fbf142ba1e7e659590c07da31921}{Token\+Type}} \&}]{type, }\item[{const float \&}]{val, }\item[{const \mbox{\hyperlink{struct_location}{Location}} \&}]{location }\end{DoxyParamCaption})} \mbox{\Hypertarget{struct_token_a3d7d59eaac1535df1433357d5d372f84}\label{struct_token_a3d7d59eaac1535df1433357d5d372f84}} \index{Token@{Token}!````~Token@{$\sim$Token}} \index{````~Token@{$\sim$Token}!Token@{Token}} \doxysubsubsection{\texorpdfstring{$\sim$Token()}{~Token()}} {\footnotesize\ttfamily Token\+::$\sim$\+Token (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})} \doxysubsection{Member Function Documentation} \mbox{\Hypertarget{struct_token_a036d56315ccd55329e9e1e2271b16795}\label{struct_token_a036d56315ccd55329e9e1e2271b16795}} \index{Token@{Token}!copy\_with\_new\_type@{copy\_with\_new\_type}} \index{copy\_with\_new\_type@{copy\_with\_new\_type}!Token@{Token}} \doxysubsubsection{\texorpdfstring{copy\_with\_new\_type()}{copy\_with\_new\_type()}} {\footnotesize\ttfamily \mbox{\hyperlink{struct_token}{Token}} Token\+::copy\+\_\+with\+\_\+new\+\_\+type (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{_token_8h_aa520fbf142ba1e7e659590c07da31921}{Token\+Type}} \&}]{type }\end{DoxyParamCaption})} \mbox{\Hypertarget{struct_token_a2d401d11a0b5cb39e1505dbaf13fee82}\label{struct_token_a2d401d11a0b5cb39e1505dbaf13fee82}} \index{Token@{Token}!erase@{erase}} \index{erase@{erase}!Token@{Token}} \doxysubsubsection{\texorpdfstring{erase()}{erase()}} {\footnotesize\ttfamily void Token\+::erase (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_token}{Token}} \&}]{tk }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}} \mbox{\Hypertarget{struct_token_a432fb89b5fed83bd753f99a5ea10e2e6}\label{struct_token_a432fb89b5fed83bd753f99a5ea10e2e6}} \index{Token@{Token}!line@{line}} \index{line@{line}!Token@{Token}} \doxysubsubsection{\texorpdfstring{line()}{line()}} {\footnotesize\ttfamily std\+::string Token\+::line (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const} \mbox{\Hypertarget{struct_token_a6c00b26185c109de4c2b79bd756defa1}\label{struct_token_a6c00b26185c109de4c2b79bd756defa1}} \index{Token@{Token}!make\_with\_line@{make\_with\_line}} \index{make\_with\_line@{make\_with\_line}!Token@{Token}} \doxysubsubsection{\texorpdfstring{make\_with\_line()}{make\_with\_line()}} {\footnotesize\ttfamily \mbox{\hyperlink{struct_token}{Token}} Token\+::make\+\_\+with\+\_\+line (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{struct_token}{Token}} \&}]{origin, }\item[{const std\+::string \&}]{line\+\_\+text }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}} \mbox{\Hypertarget{struct_token_a0eaf331871c69faf7c37d8e87db1f7e6}\label{struct_token_a0eaf331871c69faf7c37d8e87db1f7e6}} \index{Token@{Token}!match\_token\_types@{match\_token\_types}} \index{match\_token\_types@{match\_token\_types}!Token@{Token}} \doxysubsubsection{\texorpdfstring{match\_token\_types()}{match\_token\_types()}} {\footnotesize\ttfamily bool Token\+::match\+\_\+token\+\_\+types (\begin{DoxyParamCaption}\item[{const std\+::vector$<$ \mbox{\hyperlink{struct_token}{Token}} $>$ \&}]{a, }\item[{const std\+::vector$<$ \mbox{\hyperlink{struct_token}{Token}} $>$ \&}]{b, }\item[{int}]{count }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}} \mbox{\Hypertarget{struct_token_ab58cab5077c1c4c4671964595308c3fc}\label{struct_token_ab58cab5077c1c4c4671964595308c3fc}} \index{Token@{Token}!operator=@{operator=}} \index{operator=@{operator=}!Token@{Token}} \doxysubsubsection{\texorpdfstring{operator=()}{operator=()}} {\footnotesize\ttfamily void Token\+::operator= (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{struct_token}{Token}} \&}]{other }\end{DoxyParamCaption})} \mbox{\Hypertarget{struct_token_a602aa1415de3415044205333495e72f5}\label{struct_token_a602aa1415de3415044205333495e72f5}} \index{Token@{Token}!to\_string@{to\_string}} \index{to\_string@{to\_string}!Token@{Token}} \doxysubsubsection{\texorpdfstring{to\_string()}{to\_string()}} {\footnotesize\ttfamily std\+::string Token\+::to\+\_\+string (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const} \doxysubsection{Member Data Documentation} \mbox{\Hypertarget{struct_token_a92a5a00e9160db302b651c44c3658051}\label{struct_token_a92a5a00e9160db302b651c44c3658051}} \index{Token@{Token}!float\_value@{float\_value}} \index{float\_value@{float\_value}!Token@{Token}} \doxysubsubsection{\texorpdfstring{float\_value}{float\_value}} {\footnotesize\ttfamily float Token\+::float\+\_\+value} \mbox{\Hypertarget{struct_token_a0bd1ec80054e52bb87e5f5c4fd2f6931}\label{struct_token_a0bd1ec80054e52bb87e5f5c4fd2f6931}} \index{Token@{Token}!int\_value@{int\_value}} \index{int\_value@{int\_value}!Token@{Token}} \doxysubsubsection{\texorpdfstring{int\_value}{int\_value}} {\footnotesize\ttfamily int Token\+::int\+\_\+value} \mbox{\Hypertarget{struct_token_a33ccd4b1d4d4e2690a54f6ed39a7bf06}\label{struct_token_a33ccd4b1d4d4e2690a54f6ed39a7bf06}} \index{Token@{Token}!loc@{loc}} \index{loc@{loc}!Token@{Token}} \doxysubsubsection{\texorpdfstring{loc}{loc}} {\footnotesize\ttfamily \mbox{\hyperlink{struct_location}{Location}} Token\+::loc} \mbox{\Hypertarget{struct_token_a15eec7ad7fced0b21918e04a3e6c639c}\label{struct_token_a15eec7ad7fced0b21918e04a3e6c639c}} \index{Token@{Token}!string\_value@{string\_value}} \index{string\_value@{string\_value}!Token@{Token}} \doxysubsubsection{\texorpdfstring{string\_value}{string\_value}} {\footnotesize\ttfamily std\+::string Token\+::string\+\_\+value} \mbox{\Hypertarget{struct_token_afeecd45f0f912778b11fffe0abb299b5}\label{struct_token_afeecd45f0f912778b11fffe0abb299b5}} \index{Token@{Token}!tk\_type@{tk\_type}} \index{tk\_type@{tk\_type}!Token@{Token}} \doxysubsubsection{\texorpdfstring{tk\_type}{tk\_type}} {\footnotesize\ttfamily \mbox{\hyperlink{_token_8h_aa520fbf142ba1e7e659590c07da31921}{Token\+Type}} Token\+::tk\+\_\+type} The documentation for this struct was generated from the following files\+:\begin{DoxyCompactItemize} \item src/\mbox{\hyperlink{_token_8h}{Token.\+h}}\item src/\mbox{\hyperlink{_token_8cpp}{Token.\+cpp}}\end{DoxyCompactItemize}