Public Member Functions | Public Attributes

PropertyThunk Class Reference

Search for all occurrences

#include <thunks.h>

Inheritance diagram for PropertyThunk:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  PropertyThunk (Value *target, Value *prop_name)
  PropertyThunk (Value *target, Value *prop_name, getter_vf get_fn, setter_vf set_fn)
void  gc_trace ()
void  collect ()
ScripterExport void  sprin1 (CharStream *s)
ScripterExport Value eval (Value **arg_list, int count)
ScripterExport Value eval ()
Value assign_vf (Value **arg_list, int count)
Value op_assign_vf (Value **arg_list, int count)

Public Attributes

Value target_code
Value property_name
getter_vf  getter
setter_vf  setter

Constructor & Destructor Documentation

PropertyThunk ( Value target,
Value prop_name 
)
PropertyThunk ( Value target,
Value prop_name,
getter_vf  get_fn,
setter_vf  set_fn 
)

Member Function Documentation

void gc_trace ( )
void collect ( ) [inline]

Reimplemented in FnCallPropertyThunk.

{ delete this; }
ScripterExport void sprin1 ( CharStream *  s )
ScripterExport Value* eval ( Value **  arg_list,
int  count 
)
ScripterExport Value* eval ( ) [inline]

Reimplemented in FnCallPropertyThunk.

{ return eval(NULL,0); }
Value* assign_vf ( Value **  arg_list,
int  count 
)
Value* op_assign_vf ( Value **  arg_list,
int  count 
)

Member Data Documentation

getter_vf getter
setter_vf setter

PropertyThunk PropertyThunk PropertyThunk PropertyThunk PropertyThunk PropertyThunk PropertyThunk PropertyThunk PropertyThunk PropertyThunk
PropertyThunk PropertyThunk PropertyThunk PropertyThunk PropertyThunk PropertyThunk PropertyThunk PropertyThunk PropertyThunk PropertyThunk