AST
node type IdUse

General Info

Production
IdUse : Access ::= <Name:String>;
Type Hierarchy:
java.lang.Object
  extended by AST.ASTNode<ASTNode>
      extended by AST.Exp
          extended by AST.Access
              extended by AST.IdUse
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>
Direct Known Subclasses:
TypeUse, Use, VariableUse

Description

Source
Declared in spec/picojava.ast at line 14

Member Filters

API level:

Aspect:

Constructors

public IdUse()
public IdUse(java.lang.String p0)

Attributes

syn Decl decl()
Specified by:decl in class Access
Source
Declared in spec/NameResolution.jrag at line 16
Aspect
NameResolution
syn TypeDecl type()
Specified by:type in class Exp
Source
Declared in spec/TypeAnalysis.jrag at line 36
Aspect
TypeAnalysis
inh boolean isQualified()
Source
Declared in spec/ErrorCheck.jadd at line 58
Aspect
ErrorCheck
Source
Declared in spec/ErrorCheck.jadd at line 68
Aspect
ErrorCheck
inh Decl lookup(java.lang.String name)
Source
Declared in spec/NameResolution.jrag at line 78
Aspect
NameResolution

Methods

public IdUse clone()
            throws java.lang.CloneNotSupportedException
Overrides:clone in class Access
Throws:
java.lang.CloneNotSupportedException
public void collectErrors(java.util.Collection c)
Overrides:collectErrors in class ASTNode<ASTNode>
Source
Declared in spec/ErrorCheck.jadd at line 48
Aspect
ErrorCheck
public java.lang.String toString()
Expressions
Overrides:toString in class java.lang.Object
Source
Declared in spec/PrettyPrint.jadd at line 67
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 setName(java.lang.String value)
Replaces the lexeme Name.
Parameters:
value - The new value for the lexeme Name.
public java.lang.String getName()
Retrieves the value for the lexeme Name.
Returns:
The value for the lexeme Name.
Overrides:rewriteTo in class Access

Fields

protected java.lang.String tokenString_Name
protected int decl_visited
protected boolean decl_computed
protected Decl decl_value
protected int type_visited
protected boolean type_computed
protected int isQualified_visited
protected int qualifier_visited
protected java.util.Map lookup_String_visited

Inherited Members