#include <PY_CompiledCode.h>
|
| PY_CompiledCode (const char *python_code, CodeType code_type, const char *as_file=NULL, bool allow_function_bodies=false) |
|
| PY_CompiledCode (UT_IStream &is, CodeType code_type) |
|
| ~PY_CompiledCode () |
|
void | setEvaluationCacheStackForCurrentThread () |
|
int64 | getMemoryUsage (bool inclusive) const |
|
bool | hasSyntaxErrors () const |
|
const UT_String & | syntaxErrors () const |
|
const UT_String & | code () const |
|
void | compiledCodeAsString (UT_WorkBuffer &result) const |
|
bool | saveCompiledCode (std::ostream &os) |
|
void | evaluate (PY_Result::Type desired_result_type, PY_Result &result) const |
|
void | evaluateWithDict (PY_Result::Type desired_result_type, void *opaque_dict, PY_Result &result) const |
|
void | evaluateInContext (PY_Result::Type desired_result_type, PY_EvaluationContext &context, PY_Result &result) const |
|
void | evaluateInContext (PY_Result::Type desired_result_type, PY_EvaluationContext &context, void *opaque_locals_dict, PY_Result &result) const |
|
PY_Result | evaluate (PY_Result::Type desired_result_type) const |
|
PY_Result | evaluateInContext (PY_Result::Type desired_result_type, PY_EvaluationContext &context) const |
|
bool | isPureCompiled () |
|
CodeType | codeType () const |
|
Definition at line 27 of file PY_CompiledCode.h.
PY_CompiledCode::PY_CompiledCode |
( |
const char * |
python_code, |
|
|
CodeType |
code_type, |
|
|
const char * |
as_file = NULL , |
|
|
bool |
allow_function_bodies = false |
|
) |
| |
PY_CompiledCode::~PY_CompiledCode |
( |
| ) |
|
const UT_String& PY_CompiledCode::code |
( |
| ) |
const |
CodeType PY_CompiledCode::codeType |
( |
| ) |
const |
|
inline |
int64 PY_CompiledCode::getMemoryUsage |
( |
bool |
inclusive | ) |
const |
bool PY_CompiledCode::hasSyntaxErrors |
( |
| ) |
const |
bool PY_CompiledCode::isPureCompiled |
( |
| ) |
|
|
inline |
bool PY_CompiledCode::saveCompiledCode |
( |
std::ostream & |
os | ) |
|
void PY_CompiledCode::setEvaluationCacheStackForCurrentThread |
( |
| ) |
|
const UT_String& PY_CompiledCode::syntaxErrors |
( |
| ) |
const |
The documentation for this class was generated from the following file: