Class MatchOneOf
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.opgraph.op4rewriters.matchutil.MatchOneOf
- All Implemented Interfaces:
Matcher<StructuredStatement>
Note that this will match the FIRST match, not necessarily the best.
I.e. no backtracking.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
match
(MatchIterator<StructuredStatement> matchIterator, MatchResultCollector matchResultCollector)
-
Field Details
-
matchers
-
-
Constructor Details
-
MatchOneOf
-
-
Method Details
-
match
public boolean match(MatchIterator<StructuredStatement> matchIterator, MatchResultCollector matchResultCollector) - Specified by:
match
in interfaceMatcher<StructuredStatement>
-