public class NoUnexpectedArgumentsRestriction extends Object implements GlobalRestriction
DEFAULTS| Constructor and Description |
|---|
NoUnexpectedArgumentsRestriction() |
| Modifier and Type | Method and Description |
|---|---|
<T> void |
validate(ParseState<T> state)
Validates the parser state
|
public <T> void validate(ParseState<T> state)
GlobalRestrictionShould throw an exception if the restriction is violated, otherwise should simply return
validate in interface GlobalRestrictionstate - Parser stateCopyright © 2012–2022. All rights reserved.