AERA
Public Member Functions | List of all members
r_exec::HLPContext Class Reference
Inheritance diagram for r_exec::HLPContext:
r_exec::_Context

Public Member Functions

 HLPContext (Atom *code, uint16 index, HLPOverlay *const overlay, Data data=STEM)
 
HLPContext dereference () const
 
HLPContextoperator= (const HLPContext &c)
 
Atomoperator[] (uint16 i) const
 
bool operator== (const HLPContext &c) const
 
bool operator!= (const HLPContext &c) const
 
HLPContext get_child (uint16 index) const
 
HLPContext get_child_deref (uint16 index) const
 
bool evaluate () const
 
bool evaluate_no_dereference () const
 
_Contextclone () override
 
bool equal (const _Context *c) const override
 
Atomget_atom (uint16 i) const override
 
uint16 get_object_code_size () const override
 
uint16 get_children_count () const override
 
_Contextget_child_new (uint16 index) const override
 
_Contextdereference_new () const override
 
- Public Member Functions inherited from r_exec::_Context
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
 

Additional Inherited Members

- Protected Types inherited from r_exec::_Context
enum  Data {
  STEM = 0, REFERENCE = 1, VIEW = 2, MKS = 3,
  VWS = 4, VALUE_ARRAY = 5, BINDING_MAP = 6, UNDEFINED = 7
}
 
- Protected Member Functions inherited from r_exec::_Context
 _Context (Atom *code, uint16 index, Overlay *overlay, Data data)
 
- Protected Attributes inherited from r_exec::_Context
Overlay *const overlay_
 
Atomcode_
 
uint16 index_
 
Data data_
 

Detailed Description

Definition at line 96 of file hlp_context.h.

Member Function Documentation

◆ dereference_new()

_Context* r_exec::HLPContext::dereference_new ( ) const
inlineoverridevirtual

Dereference this and return a new allocated copy. The caller is responsible to delete it.

Implements r_exec::_Context.

Definition at line 164 of file hlp_context.h.

◆ get_child_deref()

HLPContext r_exec::HLPContext::get_child_deref ( uint16  index) const
inline

Call get_child(index) and then return the result of dereference().

Definition at line 124 of file hlp_context.h.

◆ get_child_new()

_Context* r_exec::HLPContext::get_child_new ( uint16  index) const
inlineoverridevirtual

Call get_child and return a new allocated copy of the child. The caller is responsible to delete it.

Implements r_exec::_Context.

Definition at line 155 of file hlp_context.h.


The documentation for this class was generated from the following files: