public interface GlobalRestriction
Modifier and Type | Field and Description |
---|---|
static GlobalRestriction[] |
DEFAULTS |
Modifier and Type | Method and Description |
---|---|
<T> void |
validate(ParseState<T> state)
Validates the parser state
|
static final GlobalRestriction[] DEFAULTS
<T> void validate(ParseState<T> state)
Should throw an exception if the restriction is violated, otherwise should simply return
state
- Parser stateCopyright © 2012–2017. All rights reserved.