org.javacc.parser.Options.Language.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javacc Show documentation
Show all versions of javacc Show documentation
JavaCC is a parser/scanner generator for Java.
Options.Language
org.javacc.parser
Enum Options.Language
- java.lang.Object
-
- java.lang.Enum<Options.Language>
-
- org.javacc.parser.Options.Language
-
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Options.Language>
- Enclosing class:
- Options
public static enum Options.Language
extends java.lang.Enum<Options.Language>
-
-
Method Summary
Methods
Modifier and Type
Method and Description
static Options.Language
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
static Options.Language[]
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
-
-
Enum Constant Detail
-
java
public static final Options.Language java
-
cpp
public static final Options.Language cpp
-
Method Detail
-
values
public static Options.Language[] values()
Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Options.Language c : Options.Language.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
-
valueOf
public static Options.Language valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null