AST
node type BitNotExpr

General Info

Production
BitNotExpr : Unary;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by AST.ASTNode<ASTNode>
          extended by AST.Expr
              extended by AST.Unary
                  extended by AST.BitNotExpr
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>

Description

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

Member Filters

API level:

Aspect:

Constructors

public BitNotExpr()
 
public BitNotExpr(Expr p0)
 

Attributes

Overrides:constant in class Expr
Source
Declared in Java7Frontend/ConstantExpression.jrag at line 91
Aspect
ConstantExpression
syn boolean isConstant()
Overrides:isConstant in class Expr
Source
Declared in Java7Frontend/ConstantExpression.jrag at line 336
Aspect
ConstantExpression
syn java.lang.String printPreOp()
Overrides:printPreOp in class Unary
Source
Declared in Java1.4Frontend/PrettyPrint.jadd at line 376
Aspect
PrettyPrint
syn TypeDecl type()
Overrides:type in class Unary
Source
Declared in Java1.4Frontend/TypeAnalysis.jrag at line 317
Aspect
TypeAnalysis

Methods

public void flushCache()
Overrides:flushCache in class Unary
public void flushCollectionCache()
Overrides:flushCollectionCache in class Unary
public BitNotExpr clone()
                 throws java.lang.CloneNotSupportedException
Overrides:clone in class Unary
Throws:
java.lang.CloneNotSupportedException
public BitNotExpr copy()
Overrides:copy in class ASTNode<ASTNode>
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Overrides:fullCopy in class ASTNode<ASTNode>
Returns:
dangling copy of the subtree at this node
public void typeCheck()
Overrides:typeCheck in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/TypeCheck.jrag at line 281
Aspect
TypeCheck
public void createBCode(CodeGeneration gen)
Overrides:createBCode in class Unary
Source
Declared in Java1.5Backend/AutoBoxingCodegen.jrag at line 305
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 Unary
protected int numChildren()
Overrides:numChildren in class Unary
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class Unary
public void setOperand(Expr node)
Replaces the Operand child.
Overrides:setOperand in class Unary
Parameters:
node - The new node to replace the Operand child.
public Expr getOperand()
Retrieves the Operand child.
Overrides:getOperand in class Unary
Returns:
The current node used as the Operand child.
Retrieves the Operand child.

This method does not invoke AST transformations.

Overrides:getOperandNoTransform in class Unary
Returns:
The current node used as the Operand child.
Overrides:rewriteTo in class Unary

Fields

protected boolean type_computed

Inherited Members

Attributes inherited from AST.Unary

Attributes inherited from AST.Expr

Attributes inherited from AST.ASTNode

Methods inherited from class AST.Unary

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.Expr

Fields inherited from AST.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value