Package ca.phon.phonex
Class BasePhoneMatcher
java.lang.Object
ca.phon.phonex.BasePhoneMatcher
- All Implemented Interfaces:
PhoneMatcher
Basic, single-character matcher in Phonex.
This will NOT matcher compound phones - only
Phone
object whose base character
is the same as the specified matcher character.-
Nested Class Summary
Modifier and TypeClassDescriptionclass
Visitor for the phone object -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Perform test on given phone.boolean
Does this matcher match anything? Used at runtime to help determine proper backtracking paths.toString()
-
Constructor Details
-
BasePhoneMatcher
-
-
Method Details
-
matches
Description copied from interface:PhoneMatcher
Perform test on given phone.- Specified by:
matches
in interfacePhoneMatcher
-
matchesAnything
public boolean matchesAnything()Description copied from interface:PhoneMatcher
Does this matcher match anything? Used at runtime to help determine proper backtracking paths.- Specified by:
matchesAnything
in interfacePhoneMatcher
-
toString
-