public static enum WTreeNode.WTNodeType extends Enum<WTreeNode.WTNodeType>
Enum Constant and Description |
---|
BASIC_BLOCK |
FCALL |
FOR |
IF |
MAIN |
PARFOR |
WHILE |
Modifier and Type | Method and Description |
---|---|
boolean |
isLoop() |
static WTreeNode.WTNodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WTreeNode.WTNodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WTreeNode.WTNodeType MAIN
public static final WTreeNode.WTNodeType FCALL
public static final WTreeNode.WTNodeType IF
public static final WTreeNode.WTNodeType WHILE
public static final WTreeNode.WTNodeType FOR
public static final WTreeNode.WTNodeType PARFOR
public static final WTreeNode.WTNodeType BASIC_BLOCK
public static WTreeNode.WTNodeType[] values()
for (WTreeNode.WTNodeType c : WTreeNode.WTNodeType.values()) System.out.println(c);
public static WTreeNode.WTNodeType 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.