public static enum NBinding.Kind extends java.lang.Enum<NBinding.Kind>
NBinding.Kind
enumeration that
attempts to represent the structural role the name plays in the code.
This is a rough categorization that takes into account type information,
structural (AST) information, and possibly other semantics. It can help
IDEs with presentation decisions, and can be useful to expose to users as
a parameter for filtering queries on the graph.Enum Constant and Description |
---|
ATTRIBUTE |
CLASS |
CONSTRUCTOR |
FUNCTION |
METHOD |
MODULE |
PARAMETER |
SCOPE |
VARIABLE |
Modifier and Type | Method and Description |
---|---|
static NBinding.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NBinding.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NBinding.Kind ATTRIBUTE
public static final NBinding.Kind CLASS
public static final NBinding.Kind CONSTRUCTOR
public static final NBinding.Kind FUNCTION
public static final NBinding.Kind METHOD
public static final NBinding.Kind MODULE
public static final NBinding.Kind PARAMETER
public static final NBinding.Kind SCOPE
public static final NBinding.Kind VARIABLE
public static NBinding.Kind[] values()
for (NBinding.Kind c : NBinding.Kind.values()) System.out.println(c);
public static NBinding.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 null