|
MXVM 1.8.1
Virtual Machine, Compiler, and Pascal Frontend
|
Describes an external function imported from a module or object. More...
#include <parser.hpp>
Public Member Functions | |
| bool | operator== (const ExternalFunction &f) |
| Equality comparison by name and module. | |
Public Attributes | |
| std::string | name |
| function symbol name | |
| std::string | mod |
| module or object name | |
| bool | module |
| true if from a module, false if from an object | |
| VarType | ret_type = VarType::VAR_INTEGER |
| return type of the external function | |
| bool | ret_owned = false |
| true if the return value is an owned pointer | |
Describes an external function imported from a module or object.
Definition at line 162 of file parser.hpp.
|
inline |
Equality comparison by name and module.
Definition at line 167 of file parser.hpp.
| std::string mxvm::ExternalFunction::mod |
| bool mxvm::ExternalFunction::module |
true if from a module, false if from an object
Definition at line 165 of file parser.hpp.
| std::string mxvm::ExternalFunction::name |
| bool mxvm::ExternalFunction::ret_owned = false |
true if the return value is an owned pointer
Definition at line 172 of file parser.hpp.
| VarType mxvm::ExternalFunction::ret_type = VarType::VAR_INTEGER |
return type of the external function
Definition at line 171 of file parser.hpp.