AST
node type PreDecExpr

General Info

Production
PreDecExpr : 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.PreDecExpr
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>

Description

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

Member Filters

API level:

Aspect:

Constructors

public PreDecExpr()
 
public PreDecExpr(Expr p0)
 

Attributes

syn java.lang.String printPreOp()
Overrides:printPreOp in class Unary
Source
Declared in Java1.4Frontend/PrettyPrint.jadd at line 376
Aspect
PrettyPrint
syn boolean needsPop()
Overrides:needsPop in class Expr
Source
Declared in Java1.4Backend/CreateBCode.jrag at line 219
Aspect
CreateBCode

Methods

public void flushCache()
Overrides:flushCache in class Unary
public void flushCollectionCache()
Overrides:flushCollectionCache in class Unary
public PreDecExpr clone()
                 throws java.lang.CloneNotSupportedException
Overrides:clone in class Unary
Throws:
java.lang.CloneNotSupportedException
public PreDecExpr 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 definiteAssignment()
Overrides:definiteAssignment in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/DefiniteAssignment.jrag at line 81
Aspect
DefiniteAssignment
protected boolean checkDUeverywhere(Variable v)
Overrides:checkDUeverywhere in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/DefiniteAssignment.jrag at line 483
Aspect
DA
public void typeCheck()
Overrides:typeCheck in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/TypeCheck.jrag at line 309
Aspect
TypeCheck
public void createBCode(CodeGeneration gen)
Overrides:createBCode in class Unary
Source
Declared in Java1.4Backend/CreateBCode.jrag at line 879
Aspect
CreateBCode
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.
public boolean Define_boolean_isDest(ASTNode caller,
                                     ASTNode child)
Overrides:Define_boolean_isDest in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/DefiniteAssignment.jrag at line 47
public boolean Define_boolean_isIncOrDec(ASTNode caller,
                                         ASTNode child)
Overrides:Define_boolean_isIncOrDec in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/DefiniteAssignment.jrag at line 55
Overrides:rewriteTo in class Unary

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

Fields inherited from AST.Expr

Fields inherited from AST.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value