public static enum OptNode.NodeType extends Enum<OptNode.NodeType>
Enum Constant and Description |
---|
FOR |
FUNCCALL |
GENERIC |
HOP |
IF |
INST |
PARFOR |
WHILE |
Modifier and Type | Method and Description |
---|---|
boolean |
isLoop() |
static OptNode.NodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OptNode.NodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptNode.NodeType GENERIC
public static final OptNode.NodeType FUNCCALL
public static final OptNode.NodeType IF
public static final OptNode.NodeType WHILE
public static final OptNode.NodeType FOR
public static final OptNode.NodeType PARFOR
public static final OptNode.NodeType INST
public static final OptNode.NodeType HOP
public static OptNode.NodeType[] values()
for (OptNode.NodeType c : OptNode.NodeType.values()) System.out.println(c);
public static OptNode.NodeType 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 boolean isLoop()
Copyright © 2021 The Apache Software Foundation. All rights reserved.