SourcePositionWrapper Class Reference
 
 
 
SourcePositionWrapper Class Reference

#include <codetree.h>

Inheritance diagram for SourcePositionWrapper:
Value Collectable

Public Member Functions

  SourcePositionWrapper (Value *icode, unsigned int pos=0, unsigned int lineNumber=0)
void  gc_trace ()
void  collect ()
ScripterExport void  sprin1 (CharStream *s)
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)
BOOL  _is_collection ()
BOOL  _is_charstream ()
BOOL  _is_rolloutcontrol ()
BOOL  _is_rolloutthunk ()
BOOL  _is_function ()
BOOL  _is_selection ()
BOOL  _is_thunk ()
BOOL  _is_indirect_thunk ()
Thunk *  to_thunk ()
ScripterExport Value eval ()
ScripterExport Value apply (Value **arglist, int count, CallContext *cc=NULL)
ScripterExport Value apply_no_alloc_frame (Value **arglist, int count, CallContext *cc=NULL)
ScripterExport Value apply (value_vf vfn_ptr, Value **arglist, int count)

Public Attributes

Value code
unsigned int  pos
unsigned int  line

Constructor & Destructor Documentation

SourcePositionWrapper ( Value icode,
unsigned int  pos = 0,
unsigned int  lineNumber = 0 
)

Member Function Documentation

void gc_trace ( ) [virtual]
void collect ( ) [virtual]
ScripterExport void sprin1 ( CharStream *  s ) [virtual]

Reimplemented from Value.

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

Reimplemented from Value.

{ DbgAssert(false); return code->is_kind_of(c); }
BOOL _is_collection ( ) [inline, virtual]

Reimplemented from Value.

{ DbgAssert(false); return FALSE; }
BOOL _is_charstream ( ) [inline, virtual]

Reimplemented from Value.

{ DbgAssert(false); return FALSE; }
BOOL _is_rolloutcontrol ( ) [inline, virtual]

Reimplemented from Value.

{ DbgAssert(false); return FALSE; }
BOOL _is_rolloutthunk ( ) [inline, virtual]

Reimplemented from Value.

{ DbgAssert(false); return FALSE; }
BOOL _is_function ( ) [inline, virtual]

Reimplemented from Value.

{ DbgAssert(false); return code->_is_function(); }
BOOL _is_selection ( ) [inline, virtual]

Reimplemented from Value.

{ DbgAssert(false); return FALSE; }
BOOL _is_thunk ( ) [inline, virtual]

Reimplemented from Value.

{ DbgAssert(false); return code->_is_thunk(); }
BOOL _is_indirect_thunk ( ) [inline, virtual]

Reimplemented from Value.

{ DbgAssert(false); return FALSE; }
Thunk* to_thunk ( ) [inline, virtual]

Reimplemented from Value.

{ DbgAssert(false); return code->to_thunk(); }
ScripterExport Value* eval ( ) [virtual]

Reimplemented from Value.

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

Reimplemented from Value.

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

Reimplemented from Value.

ScripterExport Value* apply ( value_vf  vfn_ptr,
Value **  arglist,
int  count 
)

Member Data Documentation

unsigned int pos

Reimplemented from Value.