AST
node type TypeDecl

General Info

Production
TypeDecl : Decl;
Type Hierarchy:
java.lang.Object
  extended by AST.ASTNode<ASTNode>
      extended by AST.BlockStmt
          extended by AST.Decl
              extended by AST.TypeDecl
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Iterable<ASTNode>
Direct Known Subclasses:
ClassDecl, PrimitiveDecl, UnknownDecl

Description

Source
Declared in spec/picojava.ast at line 7

Member Filters

API level:

Aspect:

Constructors

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

Attributes

syn Decl remoteLookup(java.lang.String name)
Source
Declared in spec/NameResolution.jrag at line 62
Aspect
NameResolution
syn TypeDecl type()
Specified by:type in class Decl
Source
Declared in spec/TypeAnalysis.jrag at line 33
Aspect
TypeAnalysis
syn boolean isSubtypeOf(TypeDecl typeDecl)
Source
Declared in spec/TypeAnalysis.jrag at line 43
Aspect
TypeAnalysis
syn boolean isSuperTypeOf(TypeDecl typeDecl)
Source
Declared in spec/TypeAnalysis.jrag at line 46
Aspect
TypeAnalysis
syn boolean isSuperTypeOfClassDecl(ClassDecl typeDecl)
Source
Declared in spec/TypeAnalysis.jrag at line 47
Aspect
TypeAnalysis
inh boolean isQualified()
Source
Declared in spec/ErrorCheck.jadd at line 59
Aspect
ErrorCheck
Source
Declared in spec/ErrorCheck.jadd at line 69
Aspect
ErrorCheck
inh Decl lookup(java.lang.String name)
Source
Declared in spec/NameResolution.jrag at line 80
Aspect
NameResolution
Source
Declared in spec/NullObjects.jrag at line 20
Aspect
NullObjects

Methods

public TypeDecl clone()
               throws java.lang.CloneNotSupportedException
Overrides:clone in class Decl
Throws:
java.lang.CloneNotSupportedException
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class Decl
protected int numChildren()
Overrides:numChildren in class Decl
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class Decl
public void flushCache()
Overrides:flushCache in class Decl
public void flushCollectionCache()
Overrides:flushCollectionCache in class Decl
public void setName(java.lang.String value)
Replaces the lexeme Name.
Overrides:setName in class Decl
Parameters:
value - The new value for the lexeme Name.
public java.lang.String getName()
Retrieves the value for the lexeme Name.
Overrides:getName in class Decl
Returns:
The value for the lexeme Name.
Overrides:rewriteTo in class Decl

Fields

protected java.util.Map remoteLookup_String_visited
protected int type_visited
protected boolean type_computed
protected java.util.Map isSubtypeOf_TypeDecl_visited
protected java.util.Map isSubtypeOf_TypeDecl_values
protected java.util.Map isSuperTypeOf_TypeDecl_visited
protected java.util.Map isSuperTypeOf_TypeDecl_values
protected int isQualified_visited
protected int qualifier_visited
protected java.util.Map lookup_String_visited
protected int unknownDecl_visited

Inherited Members