diff options
Diffstat (limited to 'src/main/javassist/compiler/ast/CondExpr.java')
-rw-r--r-- | src/main/javassist/compiler/ast/CondExpr.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/javassist/compiler/ast/CondExpr.java b/src/main/javassist/compiler/ast/CondExpr.java index 5eb786f3..f20da602 100644 --- a/src/main/javassist/compiler/ast/CondExpr.java +++ b/src/main/javassist/compiler/ast/CondExpr.java @@ -27,6 +27,8 @@ public class CondExpr extends ASTList { public ASTree condExpr() { return head(); } + public void setCond(ASTree t) { setHead(t); } + public ASTree thenExpr() { return tail().head(); } public void setThen(ASTree t) { tail().setHead(t); } |