public class BeginLoopNode extends Node
Placed just before the loop branch.
EXCEPTION_REG, FIRST_ORDINARY_REG, NO_VALUE, RETURN_REG
Constructor and Description |
---|
BeginLoopNode(IfNode ifNode,
boolean nested,
SourceLocation sourceLocation)
Constructs a new begin-loop node.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canThrowExceptions()
Returns true if this node may throw exceptions.
|
IfNode |
getIfNode()
Returns the loop branch node.
|
boolean |
isNested()
Returns true iff the loop is nested inside another loop in the same function body.
|
java.lang.String |
toString()
Returns a string description of this node.
|
void |
visitBy(NodeVisitor v)
Visits this node with the given visitor.
|
check, clone, getBlock, getDuplicateOf, getImplicitAfterCall, getIndex, getSourceLocation, getThisOrDuplicateOf, isArtificial, isRegistersDone, setArtificial, setBlock, setDuplicateOf, setImplicitAfterCall, setIndex, setRegistersDone, setSourceLocation
public BeginLoopNode(IfNode ifNode, boolean nested, SourceLocation sourceLocation)
public boolean canThrowExceptions()
AbstractNode
canThrowExceptions
in class AbstractNode
public IfNode getIfNode()
public boolean isNested()
public java.lang.String toString()
AbstractNode
toString
in class AbstractNode
public void visitBy(NodeVisitor v)
Node
Copyright © 2009-2019 Aarhus University