org.eigenbase.rex
Interface RexPattern
public interface RexPattern
A RexPattern
represents an expression with holes in it. The
match(org.eigenbase.rex.RexNode, org.eigenbase.rex.RexAction)
method tests whether a given expression matches the pattern.
- Since:
- May 3, 2002
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/rex/RexPattern.java#9 $
- Author:
- jhyde
Method Summary |
void |
match(RexNode ptree,
RexAction action)
Calls action for every combination of tokens for which this
pattern matches. |
match
void match(RexNode ptree,
RexAction action)
- Calls
action
for every combination of tokens for which this
pattern matches.