01: /*
02: Copyright 2004-2007 Paul R. Holser, Jr. All rights reserved.
03: Licensed under the Academic Free License version 3.0
04: */
05:
06: package joptsimple;
07:
08: /**
09: * Abstraction of parser state; mostly serves to model how a parser behaves depending on
10: * whether end-of-options has been detected.
11: *
12: * @since 1.0
13: * @author <a href="mailto:pholser@alumni.rice.edu">Paul Holser</a>
14: * @version $Id: OptionParserState.java,v 1.8 2007/04/10 20:06:25 pholser Exp $
15: */
16: interface OptionParserState {
17: void handleArgument(OptionParser parser, ArgumentList arguments,
18: OptionSet detectedOptions);
19: }
|