AST
node type Dot

General Info

Production
Dot : Access ::= ObjectReference:Access IdUse;
Type Hierarchy:
java.lang.Object
  extended by AST.ASTNode<ASTNode>
      extended by AST.Exp
          extended by AST.Access
              extended by AST.Dot
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>

Description

Source
Declared in spec/picojava.ast at line 16

Member Filters

API level:

Aspect:

Constructors

public Dot()
public Dot(Access p0,
           IdUse p1)

Attributes

syn Decl decl()
Specified by:decl in class Access
Source
Declared in spec/NameResolution.jrag at line 17
Aspect
NameResolution
syn TypeDecl type()
Specified by:type in class Exp
Source
Declared in spec/TypeAnalysis.jrag at line 37
Aspect
TypeAnalysis
syn boolean isValue()
Overrides:isValue in class Exp
Source
Declared in spec/TypeAnalysis.jrag at line 18
Aspect
TypeAnalysis

Methods

public Dot clone()
          throws java.lang.CloneNotSupportedException
Overrides:clone in class Access
Throws:
java.lang.CloneNotSupportedException
public Dot copy()
Overrides:copy in class ASTNode<ASTNode>
public Dot fullCopy()
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 java.lang.String toString()
Overrides:toString in class java.lang.Object
Source
Declared in spec/PrettyPrint.jadd at line 70
Aspect
PrettyPrint
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class Access
protected int numChildren()
Overrides:numChildren in class Access
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class Access
public void flushCache()
Overrides:flushCache in class Access
public void flushCollectionCache()
Overrides:flushCollectionCache in class Access
public void setObjectReference(Access node)
Replaces the ObjectReference child.
Parameters:
node - The new node to replace the ObjectReference child.
Retrieves the ObjectReference child.
Returns:
The current node used as the ObjectReference child.
Retrieves the ObjectReference child.

This method does not invoke AST transformations.

Returns:
The current node used as the ObjectReference child.
public void setIdUse(IdUse node)
Replaces the IdUse child.
Parameters:
node - The new node to replace the IdUse child.
public IdUse getIdUse()
Retrieves the IdUse child.
Returns:
The current node used as the IdUse child.
Retrieves the IdUse child.

This method does not invoke AST transformations.

Returns:
The current node used as the IdUse child.
public boolean Define_boolean_isQualified(ASTNode caller,
                                          ASTNode child)
Overrides:Define_boolean_isQualified in class ASTNode<ASTNode>
Source
Declared in spec/ErrorCheck.jadd at line 57
Overrides:Define_Access_qualifier in class ASTNode<ASTNode>
Source
Declared in spec/ErrorCheck.jadd at line 67
public Decl Define_Decl_lookup(ASTNode caller,
                               ASTNode child,
                               java.lang.String name)
Overrides:Define_Decl_lookup in class ASTNode<ASTNode>
Source
Declared in spec/NameResolution.jrag at line 55
Overrides:rewriteTo in class Access

Fields

protected int decl_visited
protected boolean decl_computed
protected Decl decl_value
protected int type_visited
protected boolean type_computed
protected int isValue_visited

Inherited Members