AERA
|
Public Member Functions | |
virtual _Context * | clone ()=0 |
virtual bool | equal (const _Context *c) const =0 |
virtual Atom & | get_atom (uint16 i) const =0 |
virtual uint16 | get_object_code_size () const =0 |
virtual uint16 | get_children_count () const =0 |
virtual _Context * | get_child_new (uint16 index) const =0 |
virtual _Context * | dereference_new () const =0 |
void | commit () const |
void | rollback () const |
void | patch_code (uint16 location, Atom value) const |
void | unpatch_code (uint16 patch_index) const |
uint16 | get_last_patch_index () const |
void | setAtomicResult (Atom a) const |
void | setTimestampResult (Timestamp t) const |
void | setDurationResult (std::chrono::microseconds d) const |
uint16 | setCompoundResultHead (Atom a) const |
void | addCompoundResultPart (Atom a) const |
void | trace (std::ostream &out) const |
Protected Types | |
enum | Data { STEM = 0, REFERENCE = 1, VIEW = 2, MKS = 3, VWS = 4, VALUE_ARRAY = 5, BINDING_MAP = 6, UNDEFINED = 7 } |
Protected Member Functions | |
_Context (Atom *code, uint16 index, Overlay *overlay, Data data) | |
Protected Attributes | |
Overlay *const | overlay_ |
Atom * | code_ |
uint16 | index_ |
Data | data_ |
Definition at line 96 of file _context.h.
|
pure virtual |
Dereference this and return a new allocated copy. The caller is responsible to delete it.
Implemented in r_exec::IPGMContext, and r_exec::HLPContext.
|
pure virtual |
Call get_child and return a new allocated copy of the child. The caller is responsible to delete it.
Implemented in r_exec::IPGMContext, and r_exec::HLPContext.
uint16 r_exec::_Context::setCompoundResultHead | ( | Atom | a | ) | const |
Patch the code with a VALUE_PTR to the values array.
a | The Atom that is the head of the compound value. |
Definition at line 112 of file _context.cpp.