public static enum TranslatorDriver.ParserContext extends Enum<TranslatorDriver.ParserContext>
Modifier and Type | Method and Description |
---|---|
static TranslatorDriver.ParserContext |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TranslatorDriver.ParserContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TranslatorDriver.ParserContext TOP_LEVEL
public static final TranslatorDriver.ParserContext SHELL
public static final TranslatorDriver.ParserContext MODULE
public static TranslatorDriver.ParserContext[] values()
for (TranslatorDriver.ParserContext c : TranslatorDriver.ParserContext.values()) System.out.println(c);
public static TranslatorDriver.ParserContext 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 © 2001-2015 JRuby. All Rights Reserved.