org.extendj.ast
node type AssignSimpleExpr

General Info

Production
AssignSimpleExpr : AssignExpr;
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.AssignSimpleExpr
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 105

Member Filters

API level:

Aspect:

Constructors

public AssignSimpleExpr()
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 1
public AssignSimpleExpr(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
@ASTNodeAnnotation.Attribute
inh boolean withinSuppressWarnings(java.lang.String annot)
Source
Declared in /home/jesper/git/extendj/java7/frontend/SuppressWarnings.jrag at line 37
Aspect
SuppressWarnings

Methods

public void typeCheck()
Overrides:typeCheck in class AssignExpr
Source
Declared in /home/jesper/git/extendj/java4/frontend/TypeCheck.jrag at line 67
Aspect
TypeCheck
public void createBCode(org.extendj.ast.CodeGeneration gen)
Create bytecode for a simple assign expression.
Overrides:createBCode in class AssignExpr
Source
Declared in /home/jesper/git/extendj/java4/backend/CreateBCode.jrag at line 324
Aspect
CreateBCode
public void checkWarnings()
Description copied from class: ASTNodeChecking of the SafeVarargs annotation is only needed for method declarations.
Overrides:checkWarnings in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java7/frontend/UncheckedConversion.jrag at line 53
Aspect
UncheckedConversion
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class AssignExpr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 10
protected int numChildren()
Overrides:numChildren in class AssignExpr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 20
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class AssignExpr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 26
public void flushAttrCache()
Overrides:flushAttrCache in class AssignExpr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 32
public void flushCollectionCache()
Overrides:flushCollectionCache in class AssignExpr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 38
public void flushRewriteCache()
Overrides:flushRewriteCache in class AssignExpr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 44
public AssignSimpleExpr clone()
                       throws java.lang.CloneNotSupportedException
Overrides:clone in class AssignExpr
Throws:
java.lang.CloneNotSupportedException
Source
Declared in /home/jesper/git/extendj/ASTNode at line 50
public AssignSimpleExpr copy()
Overrides:copy in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/ASTNode at line 57
@Deprecated
public AssignSimpleExpr 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 AssignExpr
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 76
public AssignSimpleExpr 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 AssignExpr
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 86
public AssignSimpleExpr 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 AssignExpr
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 AssignExpr
Parameters:
node - The new node to replace the Dest child.
Retrieves the Dest child.
Overrides:getDest in class AssignExpr
Returns:
The current node used as the Dest child.
Retrieves the Dest child.

This method does not invoke AST transformations.

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

This method does not invoke AST transformations.

Overrides:getSourceNoTransform in class AssignExpr
Returns:
The current node used as the Source child.
public boolean Define_isDest(ASTNode caller,
                             ASTNode child)
Overrides:Define_isDest in class AssignExpr
Source
Declared in /home/jesper/git/extendj/java4/frontend/DefiniteAssignment.jrag at line 37
protected boolean canDefine_isDest(ASTNode caller,
                                   ASTNode child)
public boolean Define_isSource(ASTNode caller,
                               ASTNode child)
Overrides:Define_isSource in class AssignExpr
Source
Declared in /home/jesper/git/extendj/java4/frontend/DefiniteAssignment.jrag at line 47
protected boolean canDefine_isSource(ASTNode caller,
                                     ASTNode child)
Overrides:Define_assignConvertedType in class ASTNode<ASTNode>
Source
Declared in /home/jesper/git/extendj/java5/frontend/GenericMethodsInference.jrag at line 58
protected boolean canDefine_assignConvertedType(ASTNode caller,
                                                ASTNode child)
Overrides:rewriteTo in class AssignExpr

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