public abstract class BaseMatchRuleParser
extends java.lang.Object
Constructor and Description |
---|
BaseMatchRuleParser()
Initialize the new instance with default values
|
BaseMatchRuleParser(java.lang.String rule)
Initialize the new instance with the given rule.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
atEnd(char ch)
Returns true, if the given character indicates the end of a scanned string.
|
protected void |
checkExpectedEnd(char ch) |
protected void |
checkUnexpectedEnd(char ch) |
protected StringScanner |
scanner() |
protected void |
scanner(StringScanner newValue) |
protected StringUtil |
str() |
protected void |
throwException(java.lang.String msg) |
public BaseMatchRuleParser()
public BaseMatchRuleParser(java.lang.String rule)
rule
- Any rule string the internal scanner should be initialized withprotected boolean atEnd(char ch)
protected void checkUnexpectedEnd(char ch) throws MatchRuleParseException
MatchRuleParseException
protected void checkExpectedEnd(char ch) throws MatchRuleParseException
MatchRuleParseException
protected void throwException(java.lang.String msg) throws MatchRuleParseException
MatchRuleParseException
protected StringScanner scanner()
protected void scanner(StringScanner newValue)
protected StringUtil str()