public static enum ParseError.ParseErrorKind extends Enum<ParseError.ParseErrorKind>
Enum Constant and Description |
---|
METHOD_NOT_IMPLEMENTED |
OFFSET_RANGE_NOT_NAME |
OFFSETDUPLE_UNREACHABLE |
TIMEOUT_OR_CANCELLED |
TOO_MANY_TOKENS
The user preference for
CCorePreferenceConstants.SCALABILITY_LIMIT_TOKENS_PER_TU is
enabled and more than
CCorePreferenceConstants.SCALABILITY_MAXIMUM_TOKENS tokens
were created while parsing a single translation unit. |
Modifier and Type | Method and Description |
---|---|
static ParseError.ParseErrorKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParseError.ParseErrorKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParseError.ParseErrorKind METHOD_NOT_IMPLEMENTED
public static final ParseError.ParseErrorKind OFFSETDUPLE_UNREACHABLE
public static final ParseError.ParseErrorKind OFFSET_RANGE_NOT_NAME
public static final ParseError.ParseErrorKind TIMEOUT_OR_CANCELLED
public static final ParseError.ParseErrorKind TOO_MANY_TOKENS
CCorePreferenceConstants.SCALABILITY_LIMIT_TOKENS_PER_TU
is
enabled and more than
CCorePreferenceConstants.SCALABILITY_MAXIMUM_TOKENS
tokens
were created while parsing a single translation unit.public static ParseError.ParseErrorKind[] values()
for (ParseError.ParseErrorKind c : ParseError.ParseErrorKind.values()) System.out.println(c);
public static ParseError.ParseErrorKind 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 (c) IBM Corp. and others 2004, 2020. All Rights Reserved.