#include <Puma/CTree.h>

Public Types | |
| enum | { FCT_CALL = -100, SUBSCRIPT, NEW_ARRAY, DEL_ARRAY } |
Public Member Functions | |
| CT_OperatorName (CTree *op) | |
| CT_OperatorName (CTree *f, CTree *op, CTree *o, CTree *c) | |
| const char * | NodeName () const |
| int | Operator () const |
| void * | operator new (size_t) |
| void | operator delete (void *) |
Static Public Member Functions | |
| static const char * | NodeId () |
| anonymous enum |
Complex operator types.
| FCT_CALL | |
| SUBSCRIPT | Function call operator, i.e. (). |
| NEW_ARRAY | Array subscript operator, i.e. []. |
| DEL_ARRAY | New array operator, i.e. new[]. Delete array operator, i.e. delete[]. |
| Puma::CT_OperatorName::CT_OperatorName | ( | CTree * | op | ) |
Constructor.
| op | The token containing the operator. |
Constructor.
| f | The operator function keyword 'operator'. | |
| op | The token containing the operator. | |
| o | The token of '[' or '('. | |
| c | The token of ']' or ')'. |
| static const char* Puma::CT_OperatorName::NodeId | ( | ) | [static] |
Get the identifier for this node type. Can be compared with NodeName().
Reimplemented from Puma::CT_SimpleName.
| const char* Puma::CT_OperatorName::NodeName | ( | ) | const [inline, virtual] |
Get the name of the node. Can be compared with NodeId().
Reimplemented from Puma::CT_SimpleName.
| int Puma::CT_OperatorName::Operator | ( | ) | const [inline] |
Get the operator type (either the token type or one of the complex operator types).
| void* Puma::CT_OperatorName::operator new | ( | size_t | ) |
Own new operator reusing memory.
Reimplemented from Puma::CT_SpecialName.
| void Puma::CT_OperatorName::operator delete | ( | void * | ) |
Own delete operator.
Reimplemented from Puma::CT_SpecialName.
1.5.5