public enum ParserLanguage extends Enum<ParserLanguage>
Modifier and Type | Method and Description |
---|---|
abstract boolean |
isCPP() |
static ParserLanguage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParserLanguage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParserLanguage C
public static final ParserLanguage CPP
public static ParserLanguage[] values()
for (ParserLanguage c : ParserLanguage.values()) System.out.println(c);
public static ParserLanguage 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 nullpublic abstract boolean isCPP()
Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.