sapphire/docs/latex/structToken.tex

72 lines
4.3 KiB
TeX
Raw Normal View History

2022-07-02 09:42:10 +00:00
\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}