AST
node type EqualityExpr

General Info

Production
EqualityExpr : RelationalExpr;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by AST.ASTNode<ASTNode>
          extended by AST.Expr
              extended by AST.Binary
                  extended by AST.RelationalExpr
                      extended by AST.EqualityExpr
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>
Direct Known Subclasses:
EQExpr, NEExpr

Description

Source
Declared in Java1.4Frontend/java.ast at line 181

Member Filters

API level:

Aspect:

Constructors

public EqualityExpr()
 
public EqualityExpr(Expr p0,
                    Expr p1)
 

Methods

public void flushCache()
Overrides:flushCache in class RelationalExpr
public void flushCollectionCache()
public EqualityExpr clone()
                   throws java.lang.CloneNotSupportedException
Overrides:clone in class RelationalExpr
Throws:
java.lang.CloneNotSupportedException
public void typeCheck()
Overrides:typeCheck in class RelationalExpr
Source
Declared in Java1.4Frontend/TypeCheck.jrag at line 220
Aspect
TypeCheck
public void emitEvalBranch(CodeGeneration gen)
Overrides:emitEvalBranch in class RelationalExpr
Source
Declared in Java1.5Backend/AutoBoxingCodegen.jrag at line 330
Aspect
AutoBoxingCodegen
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class RelationalExpr
protected int numChildren()
Overrides:numChildren in class RelationalExpr
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class RelationalExpr
public void setLeftOperand(Expr node)
Replaces the LeftOperand child.
Overrides:setLeftOperand in class RelationalExpr
Parameters:
node - The new node to replace the LeftOperand child.
Retrieves the LeftOperand child.
Overrides:getLeftOperand in class RelationalExpr
Returns:
The current node used as the LeftOperand child.
Retrieves the LeftOperand child.

This method does not invoke AST transformations.

Overrides:getLeftOperandNoTransform in class RelationalExpr
Returns:
The current node used as the LeftOperand child.
public void setRightOperand(Expr node)
Replaces the RightOperand child.
Overrides:setRightOperand in class RelationalExpr
Parameters:
node - The new node to replace the RightOperand child.
Retrieves the RightOperand child.
Overrides:getRightOperand in class RelationalExpr
Returns:
The current node used as the RightOperand child.
Retrieves the RightOperand child.

This method does not invoke AST transformations.

Overrides:getRightOperandNoTransform in class RelationalExpr
Returns:
The current node used as the RightOperand child.
Overrides:rewriteTo in class RelationalExpr

Inherited Members

Attributes inherited from AST.RelationalExpr

Attributes inherited from AST.Binary

Attributes inherited from AST.Expr

Attributes inherited from AST.ASTNode

Methods inherited from class AST.RelationalExpr

Methods inherited from class AST.Binary

Methods inherited from class AST.Expr

Methods inherited from class AST.ASTNode

Methods inherited from class beaver.Symbol

getColumn
getEnd
getId
getLine
getStart
makePosition

Methods inherited from class java.lang.Object

equals
finalize
getClass
hashCode
notify
notifyAll
wait
wait
wait

Fields inherited from AST.RelationalExpr

Fields inherited from AST.Binary

Fields inherited from AST.Expr

Fields inherited from AST.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value