software engineer &        architecture


class LispFunction

Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lisp::LispFunction Class Reference

#include <LispFunction.h>

Inheritance diagram for acdk::lisp::LispFunction:

acdk::lisp::LispVar acdk::lisp::Function acdk::io::Serializable acdk::lang::Object acdk::lang::Cloneable acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Public Member Functions

 LispFunction (IN(RLispList) definition)
virtual acdk::lang::Object clone ()
virtual acdk::lang::Object clone (sys::Allocator *alc)
RString name ()
bool isMacro ()
virtual RString toString ()
 converts it to string without paranteses or white spaces

virtual RString toCode ()
 converts it to Lisp code

virtual RString functionName ()
virtual RLispVar eval (IN(RLispEnvironment) env, IN(RLispList) args)
 args[0] == the symbol of function args[1 + n] == the arguments

virtual RString getHelpText ()
virtual RLispList getDefinition ()
virtual RLispList getDeclDefinition ()
virtual RLispVar evalMacro (IN(RLispEnvironment) env, IN(RLispList) args)

Static Public Member Functions

acdk::lang::Object create_instance ()

Private Attributes

RString _name
RLispList _definition
bool _isDefun
bool _isMacro

Constructor & Destructor Documentation

acdk::lisp::LispFunction::LispFunction IN(RLispList definition  ) 

Member Function Documentation

virtual acdk::lang::Object acdk::lisp::LispFunction::clone sys::Allocator *  alc  )  [inline, virtual]

Implements acdk::lisp::LispVar.

virtual acdk::lang::Object acdk::lisp::LispFunction::clone  )  [inline, virtual]

Implements acdk::lisp::LispVar.

acdk::lang::Object acdk::lisp::LispFunction::create_instance  )  [inline, static]

Reimplemented from acdk::lang::Object.

virtual RLispVar acdk::lisp::LispFunction::eval IN(RLispEnvironment env,
IN(RLispList args

args[0] == the symbol of function args[1 + n] == the arguments

Implements acdk::lisp::Function.

virtual RLispVar acdk::lisp::LispFunction::evalMacro IN(RLispEnvironment env,
IN(RLispList args

virtual RString acdk::lisp::LispFunction::functionName  )  [inline, virtual]

Implements acdk::lisp::Function.

virtual RLispList acdk::lisp::LispFunction::getDeclDefinition  )  [virtual]

Implements acdk::lisp::Function.

virtual RLispList acdk::lisp::LispFunction::getDefinition  )  [inline, virtual]

Implements acdk::lisp::Function.

virtual RString acdk::lisp::LispFunction::getHelpText  )  [virtual]

Implements acdk::lisp::Function.

bool acdk::lisp::LispFunction::isMacro  )  [inline]

RString acdk::lisp::LispFunction::name  )  [inline]

virtual RString acdk::lisp::LispFunction::toCode  )  [inline, virtual]

converts it to Lisp code

Implements acdk::lisp::LispVar.

virtual RString acdk::lisp::LispFunction::toString  )  [inline, virtual]

converts it to string without paranteses or white spaces

Implements acdk::lisp::LispVar.

Member Data Documentation

RLispList acdk::lisp::LispFunction::_definition [private]

bool acdk::lisp::LispFunction::_isDefun [private]

bool acdk::lisp::LispFunction::_isMacro [private]

RString acdk::lisp::LispFunction::_name [private]

Last modified 2005-05-08 18:32 by SYSTEM By Artefaktur, Ing. Bureau Kommer