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