|
ROSE
0.9.6a
|
#include <cpattern.h>


Public Member Functions | |
| stmtPatternNode (const parserID *var) | |
| Create a new pattern node. More... | |
| void | lookup (procedureAnn *procedure, Annotations *annotations) |
| Lookup annotation variable. More... | |
| virtual void | dataflow (FlowVal *v, FlowProblem &fp) |
| virtual Node * | clone () const |
| virtual void | output_stmt (output_context &ct, Node *par) |
Accessors | |
Methods to get and set fields in the class. | |
| string & | name () |
| const string & | name () const |
| void | name (string nm) |
| annVariable * | variable () const |
| void | variable (annVariable *variable) |
AST Traversal | |
Methods to uniformly traverse the AST. See the documentation in the Node class. | |
| virtual void | visit (Visitor *the_visitor) |
| virtual void | walk (Walker &the_walker) |
| virtual Node * | change (Changer &the_changer, bool redispatch=false) |
Private Attributes | |
| string | _name |
| The name of the pattern variable. More... | |
| REF annVariable * | _variable |
| Reference to the annotation variable. More... | |
Definition at line 86 of file cpattern.h.
| stmtPatternNode::stmtPatternNode | ( | const parserID * | var) |
Create a new pattern node.
Referenced by clone().
|
inline |
Definition at line 111 of file cpattern.h.
References _name.
|
inline |
Definition at line 112 of file cpattern.h.
References _name.
|
inline |
Definition at line 113 of file cpattern.h.
References _name.
|
inline |
Definition at line 115 of file cpattern.h.
References _variable.
|
inline |
Definition at line 116 of file cpattern.h.
References _variable, and variable().
Referenced by variable().
| void stmtPatternNode::lookup | ( | procedureAnn * | procedure, |
| Annotations * | annotations | ||
| ) |
Lookup annotation variable.
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
Definition at line 138 of file cpattern.h.
|
inlinevirtual |
Definition at line 142 of file cpattern.h.
References stmtPatternNode().
|
virtual |
|
private |
|
private |
Reference to the annotation variable.
This is only needed for pattern expansion.
Definition at line 98 of file cpattern.h.
Referenced by variable().