Puma Reference Manual | Puma::CT_PostfixExpr Class Reference |
Tree node representing a postfix expression. More...
#include <Puma/CTree.h>
Public Member Functions | |
CT_PostfixExpr (CTree *e, CTree *o) | |
Constructor. | |
const char * | NodeName () const |
Get the name of the node. | |
Static Public Member Functions | |
static const char * | NodeId () |
Get the identifier for this node type. |
Tree node representing a postfix expression.
Example:
a++
Puma::CT_PostfixExpr::CT_PostfixExpr | ( | CTree * | e, |
CTree * | o | ||
) | [inline] |
Constructor.
e | The expression on which to invoke the operator. |
o | The postfix operator. |
static const char* Puma::CT_PostfixExpr::NodeId | ( | ) | [static] |
Get the identifier for this node type.
Can be compared with NodeName().
Reimplemented from Puma::CT_UnaryExpr.
const char* Puma::CT_PostfixExpr::NodeName | ( | ) | const [inline, virtual] |