Nektar++
|
Public Member Functions | |
def | match (self, expr) |
Abstract base class for tree patterns.
Definition at line 1334 of file optimize.py.
def CellMLToNektar.optimize.ExpressionMatcher.Pattern.match | ( | self, | |
expr | |||
) |
Method implemented by concrete subclasses to test a given expression. Returns True iff there is a match.
Reimplemented in CellMLToNektar.optimize.ExpressionMatcher.A, CellMLToNektar.optimize.ExpressionMatcher.V, CellMLToNektar.optimize.ExpressionMatcher.N, CellMLToNektar.optimize.ExpressionMatcher.X, and CellMLToNektar.optimize.ExpressionMatcher.R.
Definition at line 1336 of file optimize.py.