An assignment operation.
More...
#include <node.hh>
List of all members.
Public Member Functions |
| | NodeAssign (const string &varid, BinOper *mod, Node *rvalue, unsigned line) |
| | Caller must not delete / modify pointer.
|
|
| DEFINE_VISITABLE () |
| const string & | varid () const |
| Node & | rvalue () const |
|
BinOper * | mod () const |
Private Attributes |
|
string | _varid |
|
BinOper * | _mod |
|
Node * | _rvalue |
Detailed Description
Constructor & Destructor Documentation
| NodeAssign::NodeAssign |
( |
const string & |
varid, |
|
|
BinOper * |
mod, |
|
|
Node * |
rvalue, |
|
|
unsigned |
line |
|
) |
| [inline] |
Caller must not delete / modify pointer.
- Parameters:
-
| varid | the name of the variable being assigned to. |
| mod | the modifier (e.g., += has a modifier OpAdd). |
| rvalue | the expression being assigned to the variable. |
| line | line of configuration where node was created. |
Member Function Documentation
| Node& NodeAssign::rvalue |
( |
| ) |
const [inline] |
- Returns:
- argument of assignment.
| const string& NodeAssign::varid |
( |
| ) |
const [inline] |
- Returns:
- name of variable being assigned to.
The documentation for this class was generated from the following file:
- /home/greearb/git/xorp.ct.github/xorp/policy/node.hh