openjava.ptree.util
Interface ParseTreePattern


public interface ParseTreePattern

A ParseTreePattern represents an expression with holes in it. The match(openjava.ptree.ParseTree, openjava.ptree.util.ParseTreeAction) method tests whether a given expression matches the pattern.

Since:
May 3, 2002
Version:
$Id: //open/saffron/src/openjava/ptree/util/ParseTreePattern.java#1 $
Author:
jhyde

Method Summary
 void match(ParseTree ptree, ParseTreeAction action)
          Calls action for every combination of tokens for which this pattern matches.
 

Method Detail

match

public void match(ParseTree ptree,
                  ParseTreeAction action)
Calls action for every combination of tokens for which this pattern matches.


SourceForge.net_Logo