public class RemoveEarlyReturns.ReturnResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
za.ac.sun.cs.green.expr.Expression |
assign |
za.ac.sun.cs.green.expr.Expression |
condition |
Pair<java.lang.Integer,java.lang.String> |
retPosAndType |
za.ac.sun.cs.green.expr.Expression |
retVar |
Stmt |
stmt |
Constructor and Description |
---|
ReturnResult(Stmt stmt) |
ReturnResult(Stmt stmt,
za.ac.sun.cs.green.expr.Expression assign,
za.ac.sun.cs.green.expr.Expression condition,
Pair<java.lang.Integer,java.lang.String> retPosAndType,
za.ac.sun.cs.green.expr.Expression retVar) |
ReturnResult(Stmt stmt,
RemoveEarlyReturns.ReturnResult res) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasER() |
boolean |
isNull() |
boolean |
isTrue() |
public final Stmt stmt
public final za.ac.sun.cs.green.expr.Expression assign
public za.ac.sun.cs.green.expr.Expression condition
public final Pair<java.lang.Integer,java.lang.String> retPosAndType
public za.ac.sun.cs.green.expr.Expression retVar
public ReturnResult(Stmt stmt, za.ac.sun.cs.green.expr.Expression assign, za.ac.sun.cs.green.expr.Expression condition, Pair<java.lang.Integer,java.lang.String> retPosAndType, za.ac.sun.cs.green.expr.Expression retVar)
public ReturnResult(Stmt stmt)
public ReturnResult(Stmt stmt, RemoveEarlyReturns.ReturnResult res)