#include <functype.h>
Collaboration diagram for VM::FuncType:
Public Types | |
enum | ID { Unknown = 0, Function, Method, VMethod } |
Public Member Functions | |
FuncType () | |
Construct "unknown" non-exported function type. | |
FuncType (ID _id, uint8 _exported) | |
Construct passed function type. | |
FuncType (const FuncType &vt) | |
Copy function type. | |
~FuncType () | |
Destructor: A no-op. | |
FuncType & | operator= (const FuncType &vt) |
Assign a function type. | |
bool | operator== (const FuncType &ft) const |
Compare func types (id and exported flag must match). | |
bool | operator!= (const FuncType &ft) const |
Compare func types (id and exported flag must match). | |
TLString | TypeString () const |
Returns string representation of type information. | |
Public Attributes | |
ID | id: 8 |
Type of the function. | |
uint8 | exported |
Symbol exported? (0/1). |
This class is C++-safe.
Definition at line 44 of file functype.h.
|
Definition at line 46 of file functype.h. |
|
Construct "unknown" non-exported function type.
Definition at line 58 of file functype.h. |
|
Construct passed function type.
Definition at line 60 of file functype.h. References uint8. |
|
Copy function type.
Definition at line 62 of file functype.h. |
|
Destructor: A no-op.
Definition at line 64 of file functype.h. |
|
Compare func types (id and exported flag must match).
Definition at line 74 of file functype.h. |
|
Assign a function type.
Definition at line 67 of file functype.h. |
|
Compare func types (id and exported flag must match).
Definition at line 71 of file functype.h. |
|
Returns string representation of type information.
Definition at line 23 of file functype.cc. References TLString::assign(), exported, Function, id, Method, Unknown, and VMethod. Referenced by VM::AssemblerFile_Plaintext::_WriteFunctionProgram(), and VM::NamespaceInfo::DumpTree(). |
|
Symbol exported? (0/1).
Definition at line 55 of file functype.h. Referenced by VM::VMLinker::_GenerateSymbolProvideMap(), VM::AssemblerFile_Plaintext::_ParseSymbols_Symbols(), VM::AssemblerFile_Plaintext::_WriteSymbols_Recursive(), operator!=(), operator=(), operator==(), and TypeString(). |
|
Type of the function.
Definition at line 54 of file functype.h. Referenced by VM::AssemblerFile_Plaintext::_WriteSymbols_Recursive(), operator!=(), operator=(), operator==(), and TypeString(). |