#include <streepin.h>
Inheritance diagram for Pin:
Public Member Functions | |
Pin () | |
Creates a Pin. | |
virtual SType | getType () const |
Returns type of the node. | |
virtual string | getName () const |
Returs string representing node type or name for List. | |
virtual ostream & | print (ostream &os) const |
Writes node to the stream. | |
virtual ostream & | php (ostream &os) const |
Writes node to the stream as php. | |
virtual bool | match (const Node *p, Assignment &assign, const NameSpace &nameSpace) const |
Matches node p to the node. If node matches sets the assignment. | |
virtual bool | matchToBegining (const List *p, Assignment &assign, const NameSpace &nameSpace) const |
Matches the list to the begining of p. | |
virtual bool | compare (const Node *p) const |
Comares node p to the node. | |
virtual Node * | copy () const |
Copies the node. | |
virtual void | getVariables (VariableList &vlist) const |
Returns list of variables used in the node. | |
virtual Node * | substitute (const Assignment &assign) |
Substitutes variables in the node accordingly to the given assignment. | |
virtual string | evaluate (const NameSpace &nameSpace) const |
Computes the value of the expression (only basic atihmetic and string operations). |
Definition at line 10 of file streepin.h.
|
Creates a Pin.
Definition at line 14 of file streepin.h. Referenced by copy(). |
|
Comares node p to the node.
Implements Node. Definition at line 19 of file streepin.cpp. References Node::getType(), and SPin. |
|
Copies the node.
Implements Node. Definition at line 27 of file streepin.cpp. References Pin(). |
|
Computes the value of the expression (only basic atihmetic and string operations).
Implements Node. Definition at line 34 of file streepin.cpp. |
|
Returs string representing node type or name for List.
Implements Node. Definition at line 18 of file streepin.h. References CPin. |
|
Returns type of the node.
Implements Node. Definition at line 16 of file streepin.h. |
|
Returns list of variables used in the node.
Implements Node. Definition at line 31 of file streepin.cpp. |
|
Matches node p to the node. If node matches sets the assignment.
Implements Node. Definition at line 11 of file streepin.cpp. References SPin. |
|
Matches the list to the begining of p.
Implements Node. Definition at line 15 of file streepin.cpp. |
|
Writes node to the stream as php.
Implements Node. Definition at line 7 of file streepin.cpp. |
|
Writes node to the stream.
Implements Node. Definition at line 3 of file streepin.cpp. |
|
Substitutes variables in the node accordingly to the given assignment.
Implements Node. Definition at line 23 of file streepin.cpp. |