\hypertarget{class_qore_1_1_expression}{}\doxysection{Qore\+::Expression Class Reference} \label{class_qore_1_1_expression}\index{Qore::Expression@{Qore::Expression}} \mbox{\hyperlink{class_qore_1_1_expression}{Expression}} objects represent a single executable expression. \doxysubsection*{Public Member Functions} \begin{DoxyCompactItemize} \item \mbox{\hyperlink{class_qore_1_1_expression_af8f6fb07b8498784c8a3fb8e49452f84}{constructor}} (\mbox{\hyperlink{class_qore_1_1_program}{Program}} pgm, \mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} source, \mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}} label) \begin{DoxyCompactList}\small\item\em Creates the expression object. \end{DoxyCompactList}\item auto \mbox{\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} \doxysubsection{Detailed Description} \mbox{\hyperlink{class_qore_1_1_expression}{Expression}} objects represent a single executable expression. \begin{DoxySince}{Since} \mbox{\hyperlink{namespace_qore}{Qore}} 0.\+9.\+5 \end{DoxySince} \doxysubsection{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}} \doxysubsubsection{\texorpdfstring{constructor()}{constructor()}} {\footnotesize\ttfamily Qore\+::\+Expression\+::constructor (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_qore_1_1_program}{Program}}}]{pgm, }\item[{\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}}}]{source, }\item[{\mbox{\hyperlink{group__type__conversion__functions_gacf16b4126b795f4b6933ef3425cadae3}{string}}}]{label }\end{DoxyParamCaption})} Creates the expression object. \begin{DoxyParams}{Parameters} {\em pgm} & The \mbox{\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}} \doxysubsubsection{\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}