|
Hormiga 1.0
|
#include <function.h>


Public Member Functions | |
| UserFunction (T_STRING &symbol, T_FUNCTION_ARGUMENTS *argv, VarValue *toRet, Statement *codeBlock) | |
| T_MAGNITUDE | eval (T_FUNCTION_ARGUMENTS *argv) |
| int | paramsCount () |
| T_STRING | getName () |
Protected Attributes | |
| T_FUNCTION_ARGUMENTS * | formalParams |
| Statement * | code |
| VarValue * | toRet |
| T_STRING | name |
UserFunction This class represent and interpret user defined functions.
Definition at line 88 of file function.h.
| UserFunction::UserFunction | ( | T_STRING & | symbol, |
| T_FUNCTION_ARGUMENTS * | argv, | ||
| VarValue * | toRet, | ||
| Statement * | codeBlock | ||
| ) |
Definition at line 49 of file function.cpp.
| T_MAGNITUDE UserFunction::eval | ( | T_FUNCTION_ARGUMENTS * | argv | ) | [virtual] |
Implements Function.
Definition at line 59 of file function.cpp.

| T_STRING UserFunction::getName | ( | ) | [inline, virtual] |
Implements Function.
Definition at line 95 of file function.h.
| int UserFunction::paramsCount | ( | ) | [inline, virtual] |
Implements Function.
Definition at line 94 of file function.h.
Statement* UserFunction::code [protected] |
Definition at line 98 of file function.h.
T_FUNCTION_ARGUMENTS* UserFunction::formalParams [protected] |
Definition at line 97 of file function.h.
T_STRING UserFunction::name [protected] |
Definition at line 100 of file function.h.
VarValue* UserFunction::toRet [protected] |
Definition at line 99 of file function.h.