org.extendj.ast
node type AssignOrExpr

General Info

Production
AssignOrExpr : AssignBitwiseExpr;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by org.extendj.ast.ASTNode<ASTNode>
          extended by org.extendj.ast.Expr
              extended by org.extendj.ast.AssignExpr
                  extended by org.extendj.ast.AssignBitwiseExpr
                      extended by org.extendj.ast.AssignOrExpr
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>, org.jastadd.util.PrettyPrintable

Description

Source
Declared in /home/jesper/git/extendj/java4/grammar/Java.ast at line 124

Member Filters

API level:

Aspect:

Constructors

public AssignOrExpr()
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 1
public AssignOrExpr(Expr p0,
                    Expr p1)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 13

Attributes

@ASTNodeAnnotation.Attribute
syn java.lang.String printOp()
The operator string used for pretty printing this expression.
Specified by:printOp in class AssignExpr
Source
Declared in /home/jesper/git/extendj/java4/frontend/PrettyPrintUtil.jrag at line 292
Aspect
PrettyPrintUtil

Methods

public void createAssignOp(org.extendj.ast.CodeGeneration gen,
                           TypeDecl type)
Overrides:createAssignOp in class AssignExpr
Source
Declared in /home/jesper/git/extendj/java4/backend/CreateBCode.jrag at line 512
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 AssignBitwiseExpr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 10
protected int numChildren()
Overrides:numChildren in class AssignBitwiseExpr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 20
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class AssignBitwiseExpr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 26
public void flushAttrCache()
Overrides:flushAttrCache in class AssignBitwiseExpr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 32
public void flushCollectionCache()
Overrides:flushCollectionCache in class AssignBitwiseExpr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 38
public void flushRewriteCache()
Overrides:flushRewriteCache in class AssignBitwiseExpr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 44
public AssignOrExpr clone()
                   throws java.lang.CloneNotSupportedException
Overrides:clone in class AssignBitwiseExpr
Throws:
java.lang.CloneNotSupportedException
Source
Declared in /home/jesper/git/extendj/ASTNode at line 50
public AssignOrExpr copy()
Overrides:copy in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 57
@Deprecated
public AssignOrExpr fullCopy()
Deprecated. Please use treeCopy or treeCopyNoTransform instead

Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.

Specified by:fullCopy in class AssignBitwiseExpr
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 76
public AssignOrExpr treeCopyNoTransform()
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Specified by:treeCopyNoTransform in class AssignBitwiseExpr
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 86
public AssignOrExpr treeCopy()
Create a deep copy of the AST subtree at this node. The subtree of this node is traversed to trigger rewrites before copy. The copy is dangling, i.e. has no parent.
Specified by:treeCopy in class AssignBitwiseExpr
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 106
protected boolean is$Equal(ASTNode node)
Overrides:is$Equal in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 113
public void setDest(Expr node)
Replaces the Dest child.
Overrides:setDest in class AssignBitwiseExpr
Parameters:
node - The new node to replace the Dest child.
Retrieves the Dest child.
Overrides:getDest in class AssignBitwiseExpr
Returns:
The current node used as the Dest child.
Retrieves the Dest child.

This method does not invoke AST transformations.

Overrides:getDestNoTransform in class AssignBitwiseExpr
Returns:
The current node used as the Dest child.
public void setSource(Expr node)
Replaces the Source child.
Overrides:setSource in class AssignBitwiseExpr
Parameters:
node - The new node to replace the Source child.
Retrieves the Source child.
Overrides:getSource in class AssignBitwiseExpr
Returns:
The current node used as the Source child.
Retrieves the Source child.

This method does not invoke AST transformations.

Overrides:getSourceNoTransform in class AssignBitwiseExpr
Returns:
The current node used as the Source child.
Overrides:rewriteTo in class AssignBitwiseExpr

Inherited Members

Attributes inherited from org.extendj.ast.AssignExpr

Attributes inherited from org.extendj.ast.Expr

Attributes inherited from org.extendj.ast.ASTNode

Methods inherited from class org.extendj.ast.AssignBitwiseExpr

Methods inherited from class org.extendj.ast.AssignExpr

Methods inherited from class org.extendj.ast.Expr

Methods inherited from class org.extendj.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 org.extendj.ast.AssignExpr

Fields inherited from org.extendj.ast.Expr

Fields inherited from org.extendj.ast.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value