Mercurial > hg > truffle
comparison graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/nodes/IfNode.java @ 7530:5e3d1a68664e
applied mx eclipseformat to all Java files
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 23 Jan 2013 16:34:57 +0100 |
parents | 31da1716950f |
children | aa9ffb3a715e |
comparison
equal
deleted
inserted
replaced
7529:4a11124a3563 | 7530:5e3d1a68664e |
---|---|
26 import com.oracle.truffle.api.frame.*; | 26 import com.oracle.truffle.api.frame.*; |
27 | 27 |
28 @ExecuteChildren("conditionNode") | 28 @ExecuteChildren("conditionNode") |
29 public abstract class IfNode extends StatementNode { | 29 public abstract class IfNode extends StatementNode { |
30 | 30 |
31 @Child | 31 @Child protected ConditionNode conditionNode; |
32 protected ConditionNode conditionNode; | |
33 | 32 |
34 @Child | 33 @Child private StatementNode thenPartNode; |
35 private StatementNode thenPartNode; | |
36 | 34 |
37 @Child | 35 @Child private StatementNode elsePartNode; |
38 private StatementNode elsePartNode; | |
39 | 36 |
40 public IfNode(ConditionNode condition, StatementNode thenPart, StatementNode elsePart) { | 37 public IfNode(ConditionNode condition, StatementNode thenPart, StatementNode elsePart) { |
41 this.conditionNode = adoptChild(condition); | 38 this.conditionNode = adoptChild(condition); |
42 this.thenPartNode = adoptChild(thenPart); | 39 this.thenPartNode = adoptChild(thenPart); |
43 this.elsePartNode = adoptChild(elsePart); | 40 this.elsePartNode = adoptChild(elsePart); |