Public Member Functions

ConstGlobalThunk Class Reference

Search for all occurrences

#include <thunks.h>

Inheritance diagram for ConstGlobalThunk:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  ConstGlobalThunk (Value *iname)
  ConstGlobalThunk (Value *iname, Value *ival)
Value eval ()
void  collect ()
Value assign_vf (Value **arg_list, int count)

Constructor & Destructor Documentation

ConstGlobalThunk ( Value iname ) [inline]
: GlobalThunk(iname) { tag = INTERNAL_CONST_GLOBAL_THUNK_TAG; }
ConstGlobalThunk ( Value iname,
Value ival 
) [inline]
: GlobalThunk(iname, ival) { tag = INTERNAL_CONST_GLOBAL_THUNK_TAG; }

Member Function Documentation

Value* eval ( ) [inline]

Reimplemented from GlobalThunk.

{ return cell->is_const() ? cell->copy_vf(NULL, 0) : cell; }
void collect ( ) [inline]

Reimplemented from GlobalThunk.

{ delete this; }
Value* assign_vf ( Value **  arg_list,
int  count 
) [inline]

Reimplemented from GlobalThunk.

{ throw AssignToConstError (this); return &undefined; }

ConstGlobalThunk ConstGlobalThunk ConstGlobalThunk ConstGlobalThunk ConstGlobalThunk ConstGlobalThunk ConstGlobalThunk ConstGlobalThunk ConstGlobalThunk ConstGlobalThunk
ConstGlobalThunk ConstGlobalThunk ConstGlobalThunk ConstGlobalThunk ConstGlobalThunk ConstGlobalThunk ConstGlobalThunk ConstGlobalThunk ConstGlobalThunk ConstGlobalThunk