\hypertarget{class_qore_1_1_expression}{}\section{Qore\+:\+:Expression Class Reference}
\label{class_qore_1_1_expression}\index{Qore\+::\+Expression@{Qore\+::\+Expression}}


\hyperlink{class_qore_1_1_expression}{Expression} objects represent a single executable expression.  


\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_qore_1_1_expression_af8f6fb07b8498784c8a3fb8e49452f84}{constructor} (\hyperlink{class_qore_1_1_program}{Program} pgm, \hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string} source, \hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string} label)
\begin{DoxyCompactList}\small\item\em Creates the expression object. \end{DoxyCompactList}\item 
auto \hyperlink{class_qore_1_1_expression_a21e8890dbaf5797c13a2235ddce254c2}{eval} ()
\begin{DoxyCompactList}\small\item\em Evaluates the expression and returns any return value. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{class_qore_1_1_expression}{Expression} objects represent a single executable expression. 

\begin{DoxySince}{Since}
\hyperlink{namespace_qore}{Qore} 0.\+9.\+5 
\end{DoxySince}


\subsection{Member Function Documentation}
\mbox{\Hypertarget{class_qore_1_1_expression_af8f6fb07b8498784c8a3fb8e49452f84}\label{class_qore_1_1_expression_af8f6fb07b8498784c8a3fb8e49452f84}} 
\index{Qore\+::\+Expression@{Qore\+::\+Expression}!constructor@{constructor}}
\index{constructor@{constructor}!Qore\+::\+Expression@{Qore\+::\+Expression}}
\subsubsection{\texorpdfstring{constructor()}{constructor()}}
{\footnotesize\ttfamily Qore\+::\+Expression\+::constructor (\begin{DoxyParamCaption}\item[{\hyperlink{class_qore_1_1_program}{Program}}]{pgm,  }\item[{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}}]{source,  }\item[{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}}]{label }\end{DoxyParamCaption})}



Creates the expression object. 


\begin{DoxyParams}{Parameters}
{\em pgm} & The \hyperlink{class_qore_1_1_program}{Program} object where the expression will be created \\
\hline
{\em source} & The source to the expression \\
\hline
{\em label} & the label for the expression \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{class_qore_1_1_expression_a21e8890dbaf5797c13a2235ddce254c2}\label{class_qore_1_1_expression_a21e8890dbaf5797c13a2235ddce254c2}} 
\index{Qore\+::\+Expression@{Qore\+::\+Expression}!eval@{eval}}
\index{eval@{eval}!Qore\+::\+Expression@{Qore\+::\+Expression}}
\subsubsection{\texorpdfstring{eval()}{eval()}}
{\footnotesize\ttfamily auto Qore\+::\+Expression\+::eval (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Evaluates the expression and returns any return value. 

\begin{DoxyReturn}{Returns}
The return value of the expression after evaluation 
\end{DoxyReturn}
