public static enum Parser.ParseContext extends Enum<Parser.ParseContext>
Enum Constant and Description |
---|
ACCEPT_LINE
Try a real "final" parse.
|
COMPLETE
Parse to find completions (typically after a Tab).
|
SECONDARY_PROMPT
Called when we need to update the secondary prompts.
|
UNSPECIFIED |
Modifier and Type | Method and Description |
---|---|
static Parser.ParseContext |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Parser.ParseContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Parser.ParseContext UNSPECIFIED
public static final Parser.ParseContext ACCEPT_LINE
public static final Parser.ParseContext COMPLETE
public static final Parser.ParseContext SECONDARY_PROMPT
public static Parser.ParseContext[] values()
for (Parser.ParseContext c : Parser.ParseContext.values()) System.out.println(c);
public static Parser.ParseContext valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017. All rights reserved.