Falcon::CoreFunc Class Reference

Class implementing a live function in the VM. More...

#include <corefunc.h>

Inheritance diagram for Falcon::CoreFunc:

Inheritance graph
[legend]

List of all members.

Public Member Functions

void closure (ItemArray *cl)
ItemArrayclosure () const
 CoreFunc (const CoreFunc &other)
 CoreFunc (const Symbol *sym, LiveModule *lm)
 Creates a Falcon function.
virtual void gcMark (uint32 gen)
 Applies mark to subclasses.
virtual bool isFunc () const
LiveModuleliveModule () const
virtual const Stringname () const
virtual void readyFrame (VMachine *vm, uint32 paramCount)
const Symbolsymbol () const
virtual ~CoreFunc ()


Detailed Description

Class implementing a live function in the VM.

Constructor & Destructor Documentation

Falcon::CoreFunc::CoreFunc ( const Symbol sym,
LiveModule lm 
) [inline]

Creates a Falcon function.

The symbol determines if this will be an external or internal function.

Falcon::CoreFunc::CoreFunc ( const CoreFunc other  )  [inline]

References m_lm, and m_symbol.

virtual Falcon::CoreFunc::~CoreFunc (  )  [virtual]


Member Function Documentation

void Falcon::CoreFunc::closure ( ItemArray cl  )  [inline]

ItemArray* Falcon::CoreFunc::closure (  )  const [inline]

virtual void Falcon::CoreFunc::gcMark ( uint32  mk  )  [virtual]

Applies mark to subclasses.

By default, this method just changes the mark() value.

Subclasses having deep data may overload this to take care of marking it.

Reimplemented from Falcon::Garbageable.

virtual bool Falcon::CoreFunc::isFunc (  )  const [inline, virtual]

Implements Falcon::CallPoint.

LiveModule* Falcon::CoreFunc::liveModule (  )  const [inline]

virtual const String& Falcon::CoreFunc::name (  )  const [inline, virtual]

Implements Falcon::CallPoint.

virtual void Falcon::CoreFunc::readyFrame ( VMachine vm,
uint32  paramCount 
) [virtual]

Implements Falcon::CallPoint.

const Symbol* Falcon::CoreFunc::symbol (  )  const [inline]


The documentation for this class was generated from the following file:

Generated on Mon Oct 19 10:11:33 2009 for Falcon_Core by  doxygen 1.5.8