Public Member Functions | Public Attributes

SourceFileWrapper Class Reference

Search for all occurrences

#include <codetree.h>

Inheritance diagram for SourceFileWrapper:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  SourceFileWrapper (Value *file_name, Value *code, unsigned int ipos, unsigned int lineNumber, DWORD flags=0)
void  gc_trace ()
void  collect ()
ScripterExport 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)
ScripterExport Value eval ()
ScripterExport Value eval_no_wrapper ()
ScripterExport Value apply (Value **arglist, int count, CallContext *cc=NULL)

Public Attributes

Value file_name
Value code
MSZipPackage module
unsigned int  pos
unsigned int  line
DWORD  flags

Constructor & Destructor Documentation

SourceFileWrapper ( Value file_name,
Value code,
unsigned int  ipos,
unsigned int  lineNumber,
DWORD  flags = 0 
)

Member Function Documentation

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

Reimplemented from Value.

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

Reimplemented from Value.

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

Reimplemented from Value.

{ return code->is_kind_of(c); }
ScripterExport Value* eval ( ) [virtual]

Reimplemented from Value.

ScripterExport Value* eval_no_wrapper ( ) [virtual]

Reimplemented from Value.

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

Reimplemented from Value.


Member Data Documentation

unsigned int pos

Reimplemented from Value.

unsigned int line
DWORD flags

SourceFileWrapper SourceFileWrapper SourceFileWrapper SourceFileWrapper SourceFileWrapper SourceFileWrapper SourceFileWrapper SourceFileWrapper SourceFileWrapper SourceFileWrapper
SourceFileWrapper SourceFileWrapper SourceFileWrapper SourceFileWrapper SourceFileWrapper SourceFileWrapper SourceFileWrapper SourceFileWrapper SourceFileWrapper SourceFileWrapper