ContextThunk Class Reference

ContextThunk Class Reference

#include <thunks.h>

+ Inheritance diagram for ContextThunk:

Public Member Functions

 ENABLE_STACK_ALLOCATE (ContextLocalThunk)
 
 ContextThunk (Thunk *thunk, Value **frame)
 
void collect ()
 
void sprin1 (CharStream *s)
 
Valueeval ()
 
Valueassign_vf (Value **arg_list, int count)
 

Public Attributes

Thunkthunk
 
Value ** frame
 

Constructor & Destructor Documentation

ContextThunk ( Thunk thunk,
Value **  frame 
)
inline
147  :
148  thunk(thunk), frame(frame) { tag = INTERNAL_CONTEXT_THUNK_TAG; }
Value ** frame
Definition: thunks.h:142
#define INTERNAL_CONTEXT_THUNK_TAG
Definition: value.h:466
Thunk * thunk
Definition: thunks.h:141

Member Function Documentation

ENABLE_STACK_ALLOCATE ( ContextLocalThunk  )
void collect ( )
void sprin1 ( CharStream s)
inline
152 { s->printf(_M("&")); thunk->sprin1(s); }
#define _M(x)
Used to wrap string literals.
Definition: strbasic.h:122
Thunk * thunk
Definition: thunks.h:141
Value* eval ( )
Value* assign_vf ( Value **  arg_list,
int  count 
)

Member Data Documentation

Thunk* thunk
Value** frame