AST
node type ElementArrayValue

General Info

Production
ElementArrayValue : ElementValue ::= ElementValue*;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by AST.ASTNode<ASTNode>
          extended by AST.ElementValue
              extended by AST.ElementArrayValue
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>

Description

Source
Declared in Java1.5Frontend/Annotations.ast at line 13

Member Filters

API level:

Aspect:

Constructors

Attributes

syn boolean validTarget(Annotation a)
Overrides:validTarget in class ElementValue
Source
Declared in Java1.5Frontend/Annotations.jrag at line 57
Aspect
Annotations
syn ElementValue definesElementTypeValue(java.lang.String name)
Overrides:definesElementTypeValue in class ElementValue
Source
Declared in Java1.5Frontend/Annotations.jrag at line 181
Aspect
Annotations
syn boolean hasValue(java.lang.String s)
Overrides:hasValue in class ElementValue
Source
Declared in Java1.5Frontend/Annotations.jrag at line 295
Aspect
Annotations
Overrides:commensurateWithArrayDecl in class ElementValue
Source
Declared in Java1.5Frontend/Annotations.jrag at line 495
Aspect
Annotations

Methods

public void flushCache()
Overrides:flushCache in class ElementValue
public void flushCollectionCache()
Overrides:flushCollectionCache in class ElementValue
public ElementArrayValue clone()
                        throws java.lang.CloneNotSupportedException
Overrides:clone in class ElementValue
Throws:
java.lang.CloneNotSupportedException
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 toString(java.lang.StringBuffer s)
Overrides:toString in class ASTNode<ASTNode>
Source
Declared in Java1.5Frontend/Annotations.jrag at line 603
Aspect
Annotations
public void appendAsAttributeTo(Attribute buf)
Overrides:appendAsAttributeTo in class ElementValue
Source
Declared in Java1.5Backend/AnnotationsCodegen.jrag at line 224
Aspect
AnnotationsCodegen
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class ElementValue
protected int numChildren()
Overrides:numChildren in class ElementValue
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class ElementValue
Replaces the ElementValue list.
Parameters:
list - The new list node to be used as the ElementValue list.
public int getNumElementValue()
Retrieves the number of children in the ElementValue list.
Returns:
Number of children in the ElementValue list.
Retrieves the number of children in the ElementValue list. Calling this method will not trigger rewrites..
Returns:
Number of children in the ElementValue list.
Retrieves the element at index i in the ElementValue list..
Parameters:
i - Index of the element to return.
Returns:
The element at position i in the ElementValue list.
public void addElementValue(ElementValue node)
Append an element to the ElementValue list.
Parameters:
node - The element to append to the ElementValue list.
public void setElementValue(ElementValue node,
                            int i)
Replaces the ElementValue list element at index i with the new node node.
Parameters:
node - The new node to replace the old list element.
i - The list index of the node to be replaced.
Retrieves the ElementValue list.
Returns:
The node representing the ElementValue list.
Retrieves the ElementValue list.

This method does not invoke AST transformations.

Returns:
The node representing the ElementValue list.
Retrieves the ElementValue list.
Returns:
The node representing the ElementValue list.
Retrieves the ElementValue list.

This method does not invoke AST transformations.

Returns:
The node representing the ElementValue list.
public ElementValue Define_ElementValue_lookupElementTypeValue(ASTNode caller,
                                                               ASTNode child,
                                                               java.lang.String name)
Overrides:Define_ElementValue_lookupElementTypeValue in class ASTNode<ASTNode>
Source
Declared in Java1.5Frontend/Annotations.jrag at line 178
Overrides:rewriteTo in class ElementValue

Inherited Members

Attributes inherited from AST.ElementValue

Attributes inherited from AST.ASTNode

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

Fields inherited from beaver.Symbol

end
id
start
value