public static enum SourceLocation.Kind extends java.lang.Enum<SourceLocation.Kind>
Enum Constant and Description |
---|
DYNAMIC
Locations created dynamically, through `eval` and related functions.
|
STATIC
Ordinary locations that exist in source files.
|
SYNTHETIC
Synthetic locations, mainly used for testing.
|
Modifier and Type | Method and Description |
---|---|
static SourceLocation.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SourceLocation.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceLocation.Kind DYNAMIC
public static final SourceLocation.Kind STATIC
public static final SourceLocation.Kind SYNTHETIC
public static SourceLocation.Kind valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SourceLocation.Kind[] values()
for (SourceLocation.Kind c : SourceLocation.Kind.values()) System.out.println(c);
Copyright © 2009-2019 Aarhus University