Expr
::= Condition:Expr
TrueExpr:Expr
FalseExpr:Expr
;- Type Hierarchy:
java.lang.Object
beaver.Symbol
AST.ASTNode<ASTNode>
AST.Expr
AST.ConditionalExpr
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Iterable<ASTNode>
|
|||||||
FRAMES NO FRAMES |
Java1.4Frontend/java.ast
at line 188
public ConditionalExpr()
public ConditionalExpr(Expr p0, Expr p1, Expr p2)
syn boolean isConstant()
isConstant
in class Expr
Java7Frontend/ConstantExpression.jrag
at line 347
syn boolean booleanOperator()
Java1.4Frontend/DefiniteAssignment.jrag
at line 230
syn boolean isDAafterFalse(Variable v)
isDAafterFalse
in class Expr
Java1.4Frontend/DefiniteAssignment.jrag
at line 333
syn boolean isDUafterTrue(Variable v)
isDUafterTrue
in class Expr
Java1.4Frontend/DefiniteAssignment.jrag
at line 702
syn boolean isDUafterFalse(Variable v)
isDUafterFalse
in class Expr
Java1.4Frontend/DefiniteAssignment.jrag
at line 703
syn boolean definesLabel()
definesLabel
in class ASTNode<ASTNode>
Java1.4Backend/CreateBCode.jrag
at line 946
syn boolean canBeTrue()
syn boolean canBeFalse()
canBeFalse
in class Expr
Java1.4Backend/CreateBCode.jrag
at line 1017
syn int else_branch_label()
Java1.4Backend/CreateBCode.jrag
at line 1065
syn int then_branch_label()
Java1.4Backend/CreateBCode.jrag
at line 1066
public void flushCache()
flushCache
in class Expr
public void flushCollectionCache()
flushCollectionCache
in class Expr
public ConditionalExpr clone() throws java.lang.CloneNotSupportedException
public ConditionalExpr copy()
public ConditionalExpr fullCopy()
public void toString(java.lang.StringBuffer s)
public void typeCheck()
public void createBCode(CodeGeneration gen)
createBCode
in class ASTNode<ASTNode>
Java1.4Backend/CreateBCode.jrag
at line 1042
public void emitEvalBranch(CodeGeneration gen)
emitEvalBranch
in class Expr
Java1.4Backend/CreateBCode.jrag
at line 1108
public void emitBooleanCondition(CodeGeneration gen)
emitBooleanCondition
in class Expr
Java1.5Backend/AutoBoxingCodegen.jrag
at line 385
public void init$Children()
init$Children
in class Expr
protected int numChildren()
numChildren
in class Expr
public boolean mayHaveRewrite()
mayHaveRewrite
in class Expr
public void setCondition(Expr node)
node
- The new node to replace the Condition child.public Expr getCondition()
public Expr getConditionNoTransform()
This method does not invoke AST transformations.
public void setTrueExpr(Expr node)
node
- The new node to replace the TrueExpr child.public Expr getTrueExpr()
public Expr getTrueExprNoTransform()
This method does not invoke AST transformations.
public void setFalseExpr(Expr node)
node
- The new node to replace the FalseExpr child.public Expr getFalseExpr()
public Expr getFalseExprNoTransform()
This method does not invoke AST transformations.
public boolean isDAafterTrue(Variable v)
public boolean Define_boolean_isDAbefore(ASTNode caller, ASTNode child, Variable v)
Define_boolean_isDAbefore
in class ASTNode<ASTNode>
Java1.4Frontend/DefiniteAssignment.jrag
at line 387
public boolean Define_boolean_isDUbefore(ASTNode caller, ASTNode child, Variable v)
Define_boolean_isDUbefore
in class ASTNode<ASTNode>
Java1.4Frontend/DefiniteAssignment.jrag
at line 823
public int Define_int_condition_false_label(ASTNode caller, ASTNode child)
Define_int_condition_false_label
in class ASTNode<ASTNode>
Java1.4Backend/CreateBCode.jrag
at line 989
public int Define_int_condition_true_label(ASTNode caller, ASTNode child)
Define_int_condition_true_label
in class ASTNode<ASTNode>
Java1.4Backend/CreateBCode.jrag
at line 990
protected boolean constant_computed
protected Constant constant_value
protected boolean isConstant_computed
protected boolean isConstant_value
protected boolean booleanOperator_computed
protected boolean booleanOperator_value
protected boolean type_computed
protected TypeDecl type_value
protected boolean else_branch_label_computed
protected int else_branch_label_value
protected boolean then_branch_label_computed
protected int then_branch_label_value
|
|||||||
FRAMES NO FRAMES |