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


Public Member Functions | |
| exprPatternNode (const parserID *var) | |
| Create a new pattern node. More... | |
| void | lookup (procedureAnn *procedure, Annotations *annotations) |
| Lookup annotation variable. More... | |
| virtual void | eval () |
| Constant folding (No-op) More... | |
| virtual void | dataflow (FlowVal *v, FlowProblem &fp) |
| virtual Node * | clone () const |
| virtual void | output_expr (output_context &ct, Node *par, int prec, Assoc assoc) |
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 13 of file cpattern.h.
| exprPatternNode::exprPatternNode | ( | const parserID * | var) |
Create a new pattern node.
Referenced by clone().
|
inline |
Definition at line 38 of file cpattern.h.
References _name.
|
inline |
Definition at line 39 of file cpattern.h.
References _name.
|
inline |
Definition at line 40 of file cpattern.h.
References _name.
|
inline |
Definition at line 42 of file cpattern.h.
References _variable.
|
inline |
Definition at line 43 of file cpattern.h.
References _variable, and variable().
Referenced by variable().
| void exprPatternNode::lookup | ( | procedureAnn * | procedure, |
| Annotations * | annotations | ||
| ) |
Lookup annotation variable.
|
inlinevirtual |
Constant folding (No-op)
Definition at line 54 of file cpattern.h.
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
Definition at line 71 of file cpattern.h.
|
inlinevirtual |
Definition at line 75 of file cpattern.h.
References exprPatternNode().
|
virtual |
|
private |
|
private |
Reference to the annotation variable.
This is only needed for pattern expansion.
Definition at line 25 of file cpattern.h.
Referenced by variable().