#include <Type.h>
Public Types | |
| T_VOID = 0 | |
| T_BYTE | |
| T_WORD | |
| T_DWORD | |
| T_STRING | |
| T_PID | |
| T_VAR | |
| T_LIST | |
| T_SLIST | |
| T_STRPTR | |
| T_INVALID | |
| enum | ttype { T_VOID = 0, T_BYTE, T_WORD, T_DWORD, T_STRING, T_PID, T_VAR, T_LIST, T_SLIST, T_STRPTR, T_INVALID } |
Public Member Functions | |
| Type (const ttype t) | |
| Type () | |
| Type & | operator= (const ttype t) |
| Type & | operator= (const Type &t) |
| bool | operator== (const ttype t) const |
| bool | operator!= (const ttype t) const |
| bool | operator== (const Type &t) const |
| bool | operator!= (const Type &t) const |
| ttype | type () const |
| const char * | name () const |
| uint32 | size () const |
| void | print_unk (Console &o) const |
Private Attributes | |
| ttype | _type |
Static Private Attributes | |
| static const char *const | _namearr [] |
Definition at line 27 of file Type.h.
| enum Type::ttype |
| const char* Type::name | ( | ) | const [inline] |
Definition at line 51 of file Type.h.
References _namearr, and _type.
Referenced by DCCallNode::print_extern_unk(), and print_unk().
| bool Type::operator!= | ( | const Type & | t | ) | const [inline] |
| bool Type::operator== | ( | const Type & | t | ) | const [inline] |
| bool Type::operator== | ( | const ttype | t | ) | const [inline] |
| void Type::print_unk | ( | Console & | o | ) | const |
Definition at line 35 of file Type.cpp.
References name(), and Console::Printf().
Referenced by DataType::print_type_unk(), and DCCallNode::print_unk().
| uint32 Type::size | ( | ) | const [inline] |
| ttype Type::type | ( | ) | const [inline] |
Definition at line 50 of file Type.h.
References _type.
Referenced by PushVarNode::print_asm(), PopVarNode::print_asm(), PushVarNode::print_bin(), PopVarNode::print_bin(), DataType::print_value_asm(), DataType::print_value_bin(), and DataType::print_value_unk().
const char *const Type::_namearr [static, private] |
ttype Type::_type [private] |
Definition at line 74 of file Type.h.
Referenced by name(), operator!=(), operator=(), operator==(), size(), and type().
1.4.7