Package gw.lang.ir.statement
Class IRWhileStatement
java.lang.Object
gw.lang.ir.IRElement
gw.lang.ir.IRStatement
gw.lang.ir.IRAbstractLoopStatement
gw.lang.ir.statement.IRWhileStatement
- All Implemented Interfaces:
IRLoopStatement
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBody()
boolean
void
setBody
(IRStatement irStatement) void
setLoopTest
(IRExpression test) Methods inherited from class gw.lang.ir.IRStatement
getOriginalSourceStatement, setOriginalSourceStatement
Methods inherited from class gw.lang.ir.IRElement
getLineNumber, getParent, isImplicit, maybeEraseStructuralSymbolTypes, maybeEraseStructuralType, maybeEraseStructuralType, maybeEraseStructuralTypes, setImplicit, setLineNumber, setParent, setParentToThis
-
Field Details
-
_test
-
_body
-
-
Constructor Details
-
IRWhileStatement
public IRWhileStatement()
-
-
Method Details
-
getLoopTest
-
setLoopTest
-
getBody
-
setBody
-
isLoopCondLiteralTrue
public boolean isLoopCondLiteralTrue() -
getLeastSignificantTerminalStatement
- Specified by:
getLeastSignificantTerminalStatement
in classIRStatement
-