class StringRecoveryToken extends StringToken
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.Set |
failedExps
TypedStringExps and ListExps that
rejected this token are collected into this set.
|
| Constructor and Description |
|---|
StringRecoveryToken(StringToken base) |
StringRecoveryToken(StringToken base,
java.util.Set failedExps) |
| Modifier and Type | Method and Description |
|---|---|
protected StringToken |
createChildStringToken(java.lang.String literal,
DatatypeRef dtRef) |
boolean |
match(DataExp exp)
DataExp can consume this token if its datatype can accept this string
|
boolean |
match(ListExp exp)
ListExp can consume this token if its pattern accepts this string
|
boolean |
match(ValueExp exp) |
isIgnorable, matchAnyStringfinal java.util.Set failedExps
StringRecoveryToken(StringToken base)
StringRecoveryToken(StringToken base, java.util.Set failedExps)
public boolean match(DataExp exp)
StringTokenmatch in class StringTokenpublic boolean match(ValueExp exp)
match in class StringTokenpublic boolean match(ListExp exp)
StringTokenmatch in class StringTokenprotected StringToken createChildStringToken(java.lang.String literal, DatatypeRef dtRef)
createChildStringToken in class StringToken