public static enum Cpg.CpgStruct.Node.NodeType extends java.lang.Enum<Cpg.CpgStruct.Node.NodeType> implements com.google.protobuf.ProtocolMessageEnum
Logical node type.Protobuf enum
cpg.CpgStruct.Node.NodeType| Enum Constant and Description |
|---|
ARRAY_INITIALIZER
Initialization contruct for arrays.
|
BLOCK
A structuring block in the AST.
|
CALL
A (method)-call
|
CLOSURE_BINDING
Represents the binding of a LOCAL or METHOD_PARAMETER_IN into the closure of a method.
|
FILE
Node presenting a source file.
|
IDENTIFIER
An arbitrary identifier/reference.
|
LITERAL
Literal/Constant
|
LOCAL
A local variable
|
MEMBER
Member of a class struct or union
|
META_DATA
Node to save meta data about the graph on its properties.
|
METHOD
A method/function/procedure
|
METHOD_INST
A method instance which always has to reference a method and may have type argument children if the refered method is a template.
|
METHOD_PARAMETER_IN
This node represents a formal parameter going towards the callee side.
|
METHOD_REF
Reference to a method.
|
METHOD_RETURN
A formal method return
|
MODIFIER
The static-modifier
|
NAMESPACE_BLOCK
A reference to a namespace.
|
RETURN
A return instruction.
|
TYPE
A type which always has to reference a type declaration and may have type argument children if the refered type declaration is a template.
|
TYPE_ARGUMENT
Argument for a TYPE_PARAMETER and belonging to a TYPE or METHOD_INST.
|
TYPE_DECL
A type declaration.
|
TYPE_PARAMETER
Type parameter of TYPE_DECL or METHOD.
|
UNKNOWN
A language-specific node
|
UNKNOWN_NODE_TYPE
UNKNOWN_NODE_TYPE = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ARRAY_INITIALIZER_VALUE
Initialization contruct for arrays.
|
static int |
BLOCK_VALUE
A structuring block in the AST.
|
static int |
CALL_VALUE
A (method)-call
|
static int |
CLOSURE_BINDING_VALUE
Represents the binding of a LOCAL or METHOD_PARAMETER_IN into the closure of a method.
|
static int |
FILE_VALUE
Node presenting a source file.
|
static int |
IDENTIFIER_VALUE
An arbitrary identifier/reference.
|
static int |
LITERAL_VALUE
Literal/Constant
|
static int |
LOCAL_VALUE
A local variable
|
static int |
MEMBER_VALUE
Member of a class struct or union
|
static int |
META_DATA_VALUE
Node to save meta data about the graph on its properties.
|
static int |
METHOD_INST_VALUE
A method instance which always has to reference a method and may have type argument children if the refered method is a template.
|
static int |
METHOD_PARAMETER_IN_VALUE
This node represents a formal parameter going towards the callee side.
|
static int |
METHOD_REF_VALUE
Reference to a method.
|
static int |
METHOD_RETURN_VALUE
A formal method return
|
static int |
METHOD_VALUE
A method/function/procedure
|
static int |
MODIFIER_VALUE
The static-modifier
|
static int |
NAMESPACE_BLOCK_VALUE
A reference to a namespace.
|
static int |
RETURN_VALUE
A return instruction.
|
static int |
TYPE_ARGUMENT_VALUE
Argument for a TYPE_PARAMETER and belonging to a TYPE or METHOD_INST.
|
static int |
TYPE_DECL_VALUE
A type declaration.
|
static int |
TYPE_PARAMETER_VALUE
Type parameter of TYPE_DECL or METHOD.
|
static int |
TYPE_VALUE
A type which always has to reference a type declaration and may have type argument children if the refered type declaration is a template.
|
static int |
UNKNOWN_NODE_TYPE_VALUE
UNKNOWN_NODE_TYPE = 0; |
static int |
UNKNOWN_VALUE
A language-specific node
|
| Modifier and Type | Method and Description |
|---|---|
static Cpg.CpgStruct.Node.NodeType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<Cpg.CpgStruct.Node.NodeType> |
internalGetValueMap() |
static Cpg.CpgStruct.Node.NodeType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Cpg.CpgStruct.Node.NodeType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Cpg.CpgStruct.Node.NodeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Cpg.CpgStruct.Node.NodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Cpg.CpgStruct.Node.NodeType UNKNOWN_NODE_TYPE
UNKNOWN_NODE_TYPE = 0;public static final Cpg.CpgStruct.Node.NodeType ARRAY_INITIALIZER
Initialization contruct for arrays.
ARRAY_INITIALIZER = 14;public static final Cpg.CpgStruct.Node.NodeType BLOCK
A structuring block in the AST.
BLOCK = 31;public static final Cpg.CpgStruct.Node.NodeType CALL
A (method)-call
CALL = 15;public static final Cpg.CpgStruct.Node.NodeType FILE
Node presenting a source file. Often also the AST root.
FILE = 38;public static final Cpg.CpgStruct.Node.NodeType IDENTIFIER
An arbitrary identifier/reference.
IDENTIFIER = 27;public static final Cpg.CpgStruct.Node.NodeType LITERAL
Literal/Constant
LITERAL = 8;public static final Cpg.CpgStruct.Node.NodeType MEMBER
Member of a class struct or union
MEMBER = 9;public static final Cpg.CpgStruct.Node.NodeType META_DATA
Node to save meta data about the graph on its properties. Exactly one node of this type per graph.
META_DATA = 39;public static final Cpg.CpgStruct.Node.NodeType METHOD
A method/function/procedure
METHOD = 1;public static final Cpg.CpgStruct.Node.NodeType METHOD_INST
A method instance which always has to reference a method and may have type argument children if the refered method is a template.
METHOD_INST = 32;public static final Cpg.CpgStruct.Node.NodeType METHOD_PARAMETER_IN
This node represents a formal parameter going towards the callee side.
METHOD_PARAMETER_IN = 34;public static final Cpg.CpgStruct.Node.NodeType METHOD_RETURN
A formal method return
METHOD_RETURN = 3;public static final Cpg.CpgStruct.Node.NodeType MODIFIER
The static-modifier
MODIFIER = 300;public static final Cpg.CpgStruct.Node.NodeType NAMESPACE_BLOCK
A reference to a namespace.
NAMESPACE_BLOCK = 41;public static final Cpg.CpgStruct.Node.NodeType RETURN
A return instruction.
RETURN = 30;public static final Cpg.CpgStruct.Node.NodeType TYPE
A type which always has to reference a type declaration and may have type argument children if the refered type declaration is a template.
TYPE = 45;public static final Cpg.CpgStruct.Node.NodeType TYPE_ARGUMENT
Argument for a TYPE_PARAMETER and belonging to a TYPE or METHOD_INST. It binds another TYPE to a TYPE_PARAMETER.
TYPE_ARGUMENT = 48;public static final Cpg.CpgStruct.Node.NodeType TYPE_DECL
A type declaration.
TYPE_DECL = 46;public static final Cpg.CpgStruct.Node.NodeType TYPE_PARAMETER
Type parameter of TYPE_DECL or METHOD.
TYPE_PARAMETER = 47;public static final Cpg.CpgStruct.Node.NodeType UNKNOWN
A language-specific node
UNKNOWN = 44;public static final Cpg.CpgStruct.Node.NodeType CLOSURE_BINDING
Represents the binding of a LOCAL or METHOD_PARAMETER_IN into the closure of a method.
CLOSURE_BINDING = 334;public static final Cpg.CpgStruct.Node.NodeType LOCAL
A local variable
LOCAL = 23;public static final Cpg.CpgStruct.Node.NodeType METHOD_REF
Reference to a method.
METHOD_REF = 333;public static final Cpg.CpgStruct.Node.NodeType UNRECOGNIZED
public static final int UNKNOWN_NODE_TYPE_VALUE
UNKNOWN_NODE_TYPE = 0;public static final int ARRAY_INITIALIZER_VALUE
Initialization contruct for arrays.
ARRAY_INITIALIZER = 14;public static final int BLOCK_VALUE
A structuring block in the AST.
BLOCK = 31;public static final int CALL_VALUE
A (method)-call
CALL = 15;public static final int FILE_VALUE
Node presenting a source file. Often also the AST root.
FILE = 38;public static final int IDENTIFIER_VALUE
An arbitrary identifier/reference.
IDENTIFIER = 27;public static final int LITERAL_VALUE
Literal/Constant
LITERAL = 8;public static final int MEMBER_VALUE
Member of a class struct or union
MEMBER = 9;public static final int META_DATA_VALUE
Node to save meta data about the graph on its properties. Exactly one node of this type per graph.
META_DATA = 39;public static final int METHOD_VALUE
A method/function/procedure
METHOD = 1;public static final int METHOD_INST_VALUE
A method instance which always has to reference a method and may have type argument children if the refered method is a template.
METHOD_INST = 32;public static final int METHOD_PARAMETER_IN_VALUE
This node represents a formal parameter going towards the callee side.
METHOD_PARAMETER_IN = 34;public static final int METHOD_RETURN_VALUE
A formal method return
METHOD_RETURN = 3;public static final int MODIFIER_VALUE
The static-modifier
MODIFIER = 300;public static final int NAMESPACE_BLOCK_VALUE
A reference to a namespace.
NAMESPACE_BLOCK = 41;public static final int RETURN_VALUE
A return instruction.
RETURN = 30;public static final int TYPE_VALUE
A type which always has to reference a type declaration and may have type argument children if the refered type declaration is a template.
TYPE = 45;public static final int TYPE_ARGUMENT_VALUE
Argument for a TYPE_PARAMETER and belonging to a TYPE or METHOD_INST. It binds another TYPE to a TYPE_PARAMETER.
TYPE_ARGUMENT = 48;public static final int TYPE_DECL_VALUE
A type declaration.
TYPE_DECL = 46;public static final int TYPE_PARAMETER_VALUE
Type parameter of TYPE_DECL or METHOD.
TYPE_PARAMETER = 47;public static final int UNKNOWN_VALUE
A language-specific node
UNKNOWN = 44;public static final int CLOSURE_BINDING_VALUE
Represents the binding of a LOCAL or METHOD_PARAMETER_IN into the closure of a method.
CLOSURE_BINDING = 334;public static final int LOCAL_VALUE
A local variable
LOCAL = 23;public static final int METHOD_REF_VALUE
Reference to a method.
METHOD_REF = 333;public static Cpg.CpgStruct.Node.NodeType[] values()
for (Cpg.CpgStruct.Node.NodeType c : Cpg.CpgStruct.Node.NodeType.values()) System.out.println(c);
public static Cpg.CpgStruct.Node.NodeType 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 final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Cpg.CpgStruct.Node.NodeType valueOf(int value)
forNumber(int) instead.public static Cpg.CpgStruct.Node.NodeType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Cpg.CpgStruct.Node.NodeType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Cpg.CpgStruct.Node.NodeType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)