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


Public Member Functions | |
| typePatternNode (const parserID *var) | |
| Create a new pattern node. More... | |
| void | lookup (procedureAnn *procedure, Annotations *annotations) |
| Lookup annotation variable. More... | |
| bool | qualified_equal_to (typeNode *node2, bool strict_toplevel, bool strict_recursive) |
| Type equality (No-op) More... | |
| virtual Node * | clone () const |
| virtual void | output_type (output_context &ct, Node *par, Assoc context, Type_qualifiers q) |
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 153 of file cpattern.h.
| typePatternNode::typePatternNode | ( | const parserID * | var) |
Create a new pattern node.
Referenced by clone().
|
inline |
Definition at line 178 of file cpattern.h.
References _name.
|
inline |
Definition at line 179 of file cpattern.h.
References _name.
|
inline |
Definition at line 180 of file cpattern.h.
References _name.
|
inline |
Definition at line 182 of file cpattern.h.
References _variable.
|
inline |
Definition at line 183 of file cpattern.h.
References _variable, and variable().
Referenced by variable().
| void typePatternNode::lookup | ( | procedureAnn * | procedure, |
| Annotations * | annotations | ||
| ) |
Lookup annotation variable.
|
inline |
Type equality (No-op)
Definition at line 194 of file cpattern.h.
|
virtual |
|
virtual |
|
virtual |
|
inlinevirtual |
Definition at line 211 of file cpattern.h.
References typePatternNode().
|
virtual |
|
private |
|
private |
Reference to the annotation variable.
This is only needed for pattern expansion.
Definition at line 165 of file cpattern.h.
Referenced by variable().