Abstract base class representing a predicate function on nodes.
|
satisfiedByNode(self,
node)
Pure virtual method returning a boolean if the predicate is satisfied
by the node |
source code
|
|
|
|
|
makeScriptMethodCall(self,
isRecursive)
Method to generate a string containing a (hopefully) readable search
method call on a node (to be used when generating Python source code
in the event recorder) |
source code
|
|
|
makeScriptVariableName(self)
Method to generate a string containing a (hopefully) readable name
for a Node instance variable that would be the result of a search on
this predicate (to be used when generating Python source code in the
event recorder). |
source code
|
|
|
__eq__(self,
other)
Predicates are considered equal if they are of the same subclass and
have the same data |
source code
|
|