Public Member Functions | Public Attributes

StructMethod Class Reference

Search for all occurrences

#include <functions.h>

Inheritance diagram for StructMethod:
Inheritance graph
[legend]

List of all members.

Public Member Functions

ScripterExport  StructMethod (Struct *t, Value *f)
void  gc_trace ()
void  collect ()
void  sprin1 (CharStream *s)
BOOL  _is_function ()
Value *  classOf_vf (Value **arg_list, int count)
Value *  superClassOf_vf (Value **arg_list, int count)
Value *  isKindOf_vf (Value **arg_list, int count)
BOOL  is_kind_of (ValueMetaClass *c)
Value *  get_property (Value **arg_list, int count)
Value *  eval ()
Value *  apply (Value **arglist, int count, CallContext *cc=NULL)
Value *  apply_no_alloc_frame (Value **arglist, int count, CallContext *cc=NULL)

Public Attributes

Struct *  this_struct
Value *  fn

Constructor & Destructor Documentation

ScripterExport StructMethod ( Struct *  t,
Value *  f 
)

Member Function Documentation

void gc_trace ( ) [virtual]
void collect ( ) [inline, virtual]

Implements Collectable.

{ delete this; }
void sprin1 ( CharStream *  s ) [inline, virtual]

Reimplemented from Value.

{ fn->sprin1(s); }
BOOL _is_function ( ) [inline, virtual]

Reimplemented from Value.

{ return fn->_is_function(); }
Value* classOf_vf ( Value **  arg_list,
int  count 
) [inline]
{ return fn->classOf_vf(arg_list, count); }
Value* superClassOf_vf ( Value **  arg_list,
int  count 
) [inline]
{ return fn->superClassOf_vf(arg_list, count); }
Value* isKindOf_vf ( Value **  arg_list,
int  count 
) [inline]
{ return fn->isKindOf_vf(arg_list, count); }
BOOL is_kind_of ( ValueMetaClass *  c ) [inline, virtual]

Reimplemented from Value.

{ return fn->is_kind_of(c); }
Value* get_property ( Value **  arg_list,
int  count 
) [inline, virtual]

Reimplemented from Value.

{ return fn->get_property(arg_list, count); }
Value* eval ( ) [inline, virtual]

Reimplemented from Value.

{ return fn->eval(); }
Value* apply ( Value **  arglist,
int  count,
CallContext *  cc = NULL 
) [virtual]

Reimplemented from Value.

Value* apply_no_alloc_frame ( Value **  arglist,
int  count,
CallContext *  cc = NULL 
) [virtual]

Reimplemented from Value.


Member Data Documentation


StructMethod StructMethod StructMethod StructMethod StructMethod StructMethod StructMethod StructMethod StructMethod StructMethod
StructMethod StructMethod StructMethod StructMethod StructMethod StructMethod StructMethod StructMethod StructMethod StructMethod