\section{KJS::Exec\-State Class Reference}
\label{classKJS_1_1ExecState}\index{KJS::ExecState@{KJS::ExecState}}
Represents the current state of script execution.  


{\tt \#include $<$interpreter.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Interpreter} $\ast$ {\bf interpreter} () const 
\begin{CompactList}\small\item\em Returns the interpreter associated with this execution state. \item\end{CompactList}\item 
const  {\bf Context} {\bf context} () const 
\begin{CompactList}\small\item\em Returns the execution context associated with this execution state. \item\end{CompactList}\item 
void {\bf set\-Exception} (const  {\bf Value} \&e)\label{classKJS_1_1ExecState_a3}

\item 
void {\bf clear\-Exception} ()\label{classKJS_1_1ExecState_a4}

\item 
{\bf Value} {\bf exception} () const \label{classKJS_1_1ExecState_a5}

\item 
bool {\bf had\-Exception} () const \label{classKJS_1_1ExecState_a6}

\end{CompactItemize}
\subsection*{Static Public Member Functions}
\begin{CompactItemize}
\item 
void {\bf request\-Terminate} ()\label{classKJS_1_1ExecState_e0}

\end{CompactItemize}
\subsection*{Friends}
\begin{CompactItemize}
\item 
class {\bf Interpreter\-Imp}\label{classKJS_1_1ExecState_n0}

\item 
class {\bf Function\-Imp}\label{classKJS_1_1ExecState_n1}

\item 
class {\bf Global\-Func\-Imp}\label{classKJS_1_1ExecState_n2}

\end{CompactItemize}


\subsection{Detailed Description}
Represents the current state of script execution. 

This object allows you obtain a handle the interpreter that is currently executing the script, and also the current execution state context. 



Definition at line 373 of file interpreter.h.

\subsection{Member Function Documentation}
\index{KJS::ExecState@{KJS::Exec\-State}!interpreter@{interpreter}}
\index{interpreter@{interpreter}!KJS::ExecState@{KJS::Exec\-State}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Interpreter} $\ast$ Exec\-State::interpreter () const}\label{classKJS_1_1ExecState_a1}


Returns the interpreter associated with this execution state. 

\begin{Desc}
\item[Returns:]The interpreter executing the script \end{Desc}


Definition at line 346 of file interpreter.cpp.

Referenced by KJS::Error::create().\index{KJS::ExecState@{KJS::Exec\-State}!context@{context}}
\index{context@{context}!KJS::ExecState@{KJS::Exec\-State}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const  {\bf Context} Exec\-State::context () const}\label{classKJS_1_1ExecState_a2}


Returns the execution context associated with this execution state. 

\begin{Desc}
\item[Returns:]The current execution state context \end{Desc}


Definition at line 351 of file interpreter.cpp.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
interpreter.h\item 
interpreter.cpp\end{CompactItemize}
