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, matchAnyString
final java.util.Set failedExps
StringRecoveryToken(StringToken base)
StringRecoveryToken(StringToken base, java.util.Set failedExps)
public boolean match(DataExp exp)
StringToken
match
in class StringToken
public boolean match(ValueExp exp)
match
in class StringToken
public boolean match(ListExp exp)
StringToken
match
in class StringToken
protected StringToken createChildStringToken(java.lang.String literal, DatatypeRef dtRef)
createChildStringToken
in class StringToken