AST
node type UnknownDecl

General Info

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

Description

Source
Declared in spec/picojava.ast at line 21

Member Filters

API level:

Aspect:

Constructors

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

Attributes

syn boolean isUnknown()
Overrides:isUnknown in class Decl
Source
Declared in spec/NullObjects.jrag at line 5
Aspect
NullObjects
syn boolean isSubtypeOf(TypeDecl typeDecl)
Overrides:isSubtypeOf in class TypeDecl
Source
Declared in spec/NullObjects.jrag at line 10
Aspect
NullObjects
syn boolean isSuperTypeOf(TypeDecl typeDecl)
Overrides:isSuperTypeOf in class TypeDecl
Source
Declared in spec/NullObjects.jrag at line 11
Aspect
NullObjects
syn boolean isSuperTypeOfClassDecl(ClassDecl typeDecl)
Overrides:isSuperTypeOfClassDecl in class TypeDecl
Source
Declared in spec/NullObjects.jrag at line 12
Aspect
NullObjects

Methods

public UnknownDecl clone()
                  throws java.lang.CloneNotSupportedException
Overrides:clone in class TypeDecl
Throws:
java.lang.CloneNotSupportedException
public UnknownDecl copy()
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 prettyPrint(java.lang.StringBuilder sb,
                        int t)
Source
Declared in spec/PrettyPrint.jadd at line 61
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 TypeDecl
protected int numChildren()
Overrides:numChildren in class TypeDecl
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class TypeDecl
public void flushCache()
Overrides:flushCache in class TypeDecl
public void flushCollectionCache()
Overrides:flushCollectionCache in class TypeDecl
public void setName(java.lang.String value)
Replaces the lexeme Name.
Overrides:setName in class TypeDecl
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 TypeDecl
Returns:
The value for the lexeme Name.
Overrides:rewriteTo in class TypeDecl

Fields

protected int isUnknown_visited
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

Inherited Members