44 lines
2.5 KiB
TeX
44 lines
2.5 KiB
TeX
\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}
|