All Implemented Interfaces:
ArgumentsRestriction, GlobalRestriction, OptionRestriction

public class None extends AbstractCommonRestriction implements GlobalRestriction
A restriction which doesn't actually impose any restrictions
  • Constructor Details

    • None

      public None()
  • Method Details

    • 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