Class NoUnexpectedArgumentsRestriction

    • Constructor Detail

      • NoUnexpectedArgumentsRestriction

        public NoUnexpectedArgumentsRestriction()
    • Method Detail

      • validate

        public <T> void validate​(ParseState<T> state)
        Description copied from interface: GlobalRestriction
        Validates the parser state

        Should throw an exception if the restriction is violated, otherwise should simply return

        Specified by:
        validate in interface GlobalRestriction
        Parameters:
        state - Parser state