|
Pol
Rev 533
|
#include <userfunc.h>
Collaboration diagram for UserFunction:Public Types | |
| typedef vector< unsigned > | Addresses |
| typedef vector< UserParam > | Parameters |
Public Member Functions | |
| UserFunction () | |
| ~UserFunction () | |
Static Public Member Functions | |
| static unsigned int | instances () |
| static void | show_instances () |
Public Attributes | |
| CompilerContext | ctx |
| std::string | declaration |
| bool | emitted |
| bool | exported |
| Addresses | forward_callers |
| char * | function_body |
| std::string | name |
| Parameters | parameters |
| unsigned | position |
Protected Member Functions | |
| void | register_instance () |
| void | unregister_instance () |
Static Protected Attributes | |
| static set< UserFunction * > | _instancelist |
| static unsigned int | _instances |
Definition at line 33 of file userfunc.h.
| typedef vector<unsigned> UserFunction::Addresses |
Definition at line 43 of file userfunc.h.
| typedef vector<UserParam> UserFunction::Parameters |
Definition at line 40 of file userfunc.h.
Definition at line 38 of file userfunc.cpp.
Definition at line 50 of file userfunc.cpp.
| unsigned int UserFunction::instances | ( | ) | [static] |
Definition at line 34 of file userfunc.cpp.
References _instances.
| void UserFunction::register_instance | ( | ) | [protected] |
Definition at line 24 of file userfunc.cpp.
References _instancelist, and _instances.
| void UserFunction::show_instances | ( | ) | [static] |
Definition at line 16 of file userfunc.cpp.
References _instancelist, and name.
| void UserFunction::unregister_instance | ( | ) | [protected] |
Definition at line 29 of file userfunc.cpp.
References _instancelist, and _instances.
set< UserFunction * > UserFunction::_instancelist [static, protected] |
Definition at line 57 of file userfunc.h.
Referenced by register_instance(), show_instances(), and unregister_instance().
unsigned int UserFunction::_instances [static, protected] |
Definition at line 56 of file userfunc.h.
Referenced by instances(), register_instance(), and unregister_instance().
Definition at line 46 of file userfunc.h.
Referenced by Compiler::emit_function(), Compiler::forward_read_function(), and Compiler::readFunctionDeclaration().
| std::string UserFunction::declaration |
Definition at line 50 of file userfunc.h.
Referenced by Compiler::forward_read_function(), and Compiler::handleBracketedFunction3().
Definition at line 49 of file userfunc.h.
Referenced by Compiler::emit_functions().
Definition at line 48 of file userfunc.h.
Referenced by Compiler::emit_functions(), Compiler::forward_read_function(), and Compiler::handleBracketedFunction3().
Definition at line 44 of file userfunc.h.
Referenced by EScriptProgram::addToken(), Compiler::emit_functions(), Compiler::patch_callers(), and Compiler::rollback().
Definition at line 47 of file userfunc.h.
Referenced by Compiler::forward_read_function().
| std::string UserFunction::name |
Definition at line 39 of file userfunc.h.
Referenced by Compiler::emit_function(), Compiler::forward_read_function(), Compiler::getUserArgs(), Compiler::handleBracketedFunction(), Compiler::handleBracketedFunction3(), Compiler::handleFunction(), Compiler::readFunctionDeclaration(), show_instances(), and Compiler::useModule().
Definition at line 41 of file userfunc.h.
Referenced by Expression::get_num_tokens(), Compiler::getUserArgs(), Compiler::handleBracketedFunction(), Compiler::handleBracketedFunction3(), Compiler::handleFunction(), Compiler::readFunctionDeclaration(), and Compiler::useModule().
| unsigned UserFunction::position |
Definition at line 42 of file userfunc.h.
Referenced by Compiler::handleBracketedFunction(), Compiler::handleBracketedFunction3(), Compiler::handleFunction(), and Compiler::patch_callers().