org.extendj.ast
node type ParConstructorReferenceAccess

General Info

Production
ParConstructorReferenceAccess : ParClassInstanceExpr;
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.Access
                  extended by org.extendj.ast.ClassInstanceExpr
                      extended by org.extendj.ast.ParClassInstanceExpr
                          extended by org.extendj.ast.ParConstructorReferenceAccess
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>, org.jastadd.util.PrettyPrintable

Description

Source
Declared in /home/jesper/git/extendj/java8/grammar/ConstructorReference.ast at line 6

Member Filters

API level:

Aspect:

Constructors

public ParConstructorReferenceAccess(Access access,
                                     List<Expr> args,
                                     Opt<TypeDecl> optDecl,
                                     List<Access> typeArgs,
                                     org.extendj.ast.FunctionDescriptor f)
 
Source
Declared in /home/jesper/git/extendj/java8/frontend/MethodReference.jrag at line 401
Aspect
Synthetics
public ParConstructorReferenceAccess()
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 1
public ParConstructorReferenceAccess(Access p0,
                                     List<Expr> p1,
                                     Opt<TypeDecl> p2,
                                     List<Access> p3)
 
Source
Declared in /home/jesper/git/extendj/ASTNode at line 16

Attributes

Overrides:targetType in class Expr
Source
Declared in /home/jesper/git/extendj/java8/frontend/TargetType.jrag at line 186
Aspect
TargetType

Methods

public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class ParClassInstanceExpr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 10
protected int numChildren()
Overrides:numChildren in class ParClassInstanceExpr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 25
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class ParClassInstanceExpr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 31
public void flushAttrCache()
Overrides:flushAttrCache in class ParClassInstanceExpr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 37
public void flushCollectionCache()
Overrides:flushCollectionCache in class ParClassInstanceExpr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 44
public void flushRewriteCache()
Overrides:flushRewriteCache in class ParClassInstanceExpr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 50
public ParConstructorReferenceAccess clone()
                                    throws java.lang.CloneNotSupportedException
Overrides:clone in class ParClassInstanceExpr
Throws:
java.lang.CloneNotSupportedException
Source
Declared in /home/jesper/git/extendj/ASTNode at line 56
Overrides:copy in class ParClassInstanceExpr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 63
@Deprecated
public ParConstructorReferenceAccess 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.

Overrides:fullCopy in class ParClassInstanceExpr
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 82
public ParConstructorReferenceAccess treeCopyNoTransform()
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Overrides:treeCopyNoTransform in class ParClassInstanceExpr
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 92
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.
Overrides:treeCopy in class ParClassInstanceExpr
Returns:
dangling copy of the subtree at this node
Source
Declared in /home/jesper/git/extendj/ASTNode at line 112
protected boolean is$Equal(ASTNode node)
Overrides:is$Equal in class ParClassInstanceExpr
Source
Declared in /home/jesper/git/extendj/ASTNode at line 119
public void setAccess(Access node)
Replaces the Access child.
Overrides:setAccess in class ParClassInstanceExpr
Parameters:
node - The new node to replace the Access child.
Retrieves the Access child.
Overrides:getAccess in class ParClassInstanceExpr
Returns:
The current node used as the Access child.
Retrieves the Access child.

This method does not invoke AST transformations.

Overrides:getAccessNoTransform in class ParClassInstanceExpr
Returns:
The current node used as the Access child.
public void setArgList(List<Expr> list)
Replaces the Arg list.
Overrides:setArgList in class ParClassInstanceExpr
Parameters:
list - The new list node to be used as the Arg list.
public int getNumArg()
Retrieves the number of children in the Arg list.
Overrides:getNumArg in class ParClassInstanceExpr
Returns:
Number of children in the Arg list.
Retrieves the number of children in the Arg list. Calling this method will not trigger rewrites.
Overrides:getNumArgNoTransform in class ParClassInstanceExpr
Returns:
Number of children in the Arg list.
public Expr getArg(int i)
Retrieves the element at index i in the Arg list.
Overrides:getArg in class ParClassInstanceExpr
Parameters:
i - Index of the element to return.
Returns:
The element at position i in the Arg list.
public boolean hasArg()
Check whether the Arg list has any children.
Overrides:hasArg in class ParClassInstanceExpr
Returns:
true if it has at least one child, false otherwise.
public void addArg(Expr node)
Append an element to the Arg list.
Overrides:addArg in class ParClassInstanceExpr
Parameters:
node - The element to append to the Arg list.
public void addArgNoTransform(Expr node)
public void setArg(Expr node,
                   int i)
Replaces the Arg list element at index i with the new node node.
Overrides:setArg in class ParClassInstanceExpr
Parameters:
node - The new node to replace the old list element.
i - The list index of the node to be replaced.
Retrieves the Arg list.
Overrides:getArgList in class ParClassInstanceExpr
Returns:
The node representing the Arg list.
Retrieves the Arg list.

This method does not invoke AST transformations.

Overrides:getArgListNoTransform in class ParClassInstanceExpr
Returns:
The node representing the Arg list.
public List<Expr> getArgs()
Retrieves the Arg list.
Overrides:getArgs in class ParClassInstanceExpr
Returns:
The node representing the Arg list.
Retrieves the Arg list.

This method does not invoke AST transformations.

Overrides:getArgsNoTransform in class ParClassInstanceExpr
Returns:
The node representing the Arg list.
public void setTypeDeclOpt(Opt<TypeDecl> opt)
Replaces the optional node for the TypeDecl child. This is the Opt node containing the child TypeDecl, not the actual child!
Overrides:setTypeDeclOpt in class ParClassInstanceExpr
Parameters:
opt - The new node to be used as the optional node for the TypeDecl child.
public void setTypeDecl(TypeDecl node)
Replaces the (optional) TypeDecl child.
Overrides:setTypeDecl in class ParClassInstanceExpr
Parameters:
node - The new node to be used as the TypeDecl child.
public boolean hasTypeDecl()
Check whether the optional TypeDecl child exists.
Overrides:hasTypeDecl in class ParClassInstanceExpr
Returns:
true if the optional TypeDecl child exists, false if it does not.
Retrieves the (optional) TypeDecl child.
Overrides:getTypeDecl in class ParClassInstanceExpr
Returns:
The TypeDecl child, if it exists. Returns null otherwise.
Retrieves the optional node for the TypeDecl child. This is the Opt node containing the child TypeDecl, not the actual child!
Overrides:getTypeDeclOpt in class ParClassInstanceExpr
Returns:
The optional node for child the TypeDecl child.
Retrieves the optional node for child TypeDecl. This is the Opt node containing the child TypeDecl, not the actual child!

This method does not invoke AST transformations.

Overrides:getTypeDeclOptNoTransform in class ParClassInstanceExpr
Returns:
The optional node for child TypeDecl.
public void setTypeArgumentList(List<Access> list)
Replaces the TypeArgument list.
Overrides:setTypeArgumentList in class ParClassInstanceExpr
Parameters:
list - The new list node to be used as the TypeArgument list.
public int getNumTypeArgument()
Retrieves the number of children in the TypeArgument list.
Overrides:getNumTypeArgument in class ParClassInstanceExpr
Returns:
Number of children in the TypeArgument list.
Retrieves the number of children in the TypeArgument list. Calling this method will not trigger rewrites.
Overrides:getNumTypeArgumentNoTransform in class ParClassInstanceExpr
Returns:
Number of children in the TypeArgument list.
public Access getTypeArgument(int i)
Retrieves the element at index i in the TypeArgument list.
Overrides:getTypeArgument in class ParClassInstanceExpr
Parameters:
i - Index of the element to return.
Returns:
The element at position i in the TypeArgument list.
public boolean hasTypeArgument()
Check whether the TypeArgument list has any children.
Overrides:hasTypeArgument in class ParClassInstanceExpr
Returns:
true if it has at least one child, false otherwise.
public void addTypeArgument(Access node)
Append an element to the TypeArgument list.
Overrides:addTypeArgument in class ParClassInstanceExpr
Parameters:
node - The element to append to the TypeArgument list.
public void setTypeArgument(Access node,
                            int i)
Replaces the TypeArgument list element at index i with the new node node.
Overrides:setTypeArgument in class ParClassInstanceExpr
Parameters:
node - The new node to replace the old list element.
i - The list index of the node to be replaced.
Retrieves the TypeArgument list.
Overrides:getTypeArgumentList in class ParClassInstanceExpr
Returns:
The node representing the TypeArgument list.
Retrieves the TypeArgument list.

This method does not invoke AST transformations.

Overrides:getTypeArgumentListNoTransform in class ParClassInstanceExpr
Returns:
The node representing the TypeArgument list.
Retrieves the TypeArgument list.
Overrides:getTypeArguments in class ParClassInstanceExpr
Returns:
The node representing the TypeArgument list.
Retrieves the TypeArgument list.

This method does not invoke AST transformations.

Overrides:getTypeArgumentsNoTransform in class ParClassInstanceExpr
Returns:
The node representing the TypeArgument list.
Overrides:rewriteTo in class ParClassInstanceExpr

Fields

protected boolean targetType_computed

Inherited Members

Attributes inherited from org.extendj.ast.ClassInstanceExpr

Attributes inherited from org.extendj.ast.Access

Attributes inherited from org.extendj.ast.Expr

Attributes inherited from org.extendj.ast.ASTNode

Methods inherited from class org.extendj.ast.ParClassInstanceExpr

Methods inherited from class org.extendj.ast.ClassInstanceExpr

Methods inherited from class org.extendj.ast.Access

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

Fields inherited from org.extendj.ast.Access

Fields inherited from org.extendj.ast.Expr

Fields inherited from org.extendj.ast.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value