gov.llnl.babel.ast
Class ClassType

java.lang.Object
  extended bygov.llnl.babel.ast.ASTNode
      extended bygov.llnl.babel.ast.Type
          extended bygov.llnl.babel.ast.NamedType
              extended bygov.llnl.babel.ast.AttributedType
                  extended bygov.llnl.babel.ast.Extendable
                      extended bygov.llnl.babel.ast.ClassType
All Implemented Interfaces:
IAttributable, INameable

public class ClassType
extends Extendable

Fundamental OO type in SIDL.


Field Summary
protected  ScopedID d_extends
          class that this class extends
protected  ImplementsList d_implements
          List of interfaces
 
Fields inherited from class gov.llnl.babel.ast.Extendable
d_methodList
 
Fields inherited from class gov.llnl.babel.ast.AttributedType
d_attribList
 
Fields inherited from class gov.llnl.babel.ast.NamedType
d_comment, d_name, d_version
 
Fields inherited from class gov.llnl.babel.ast.ASTNode
d_firstToken, d_lastToken, d_parent, d_src, d_symbol
 
Constructor Summary
ClassType()
           
ClassType(ParseTreeNode src, ASTNode parent, Name name)
           
 
Method Summary
 java.lang.Object accept(Visitor v, java.lang.Object data)
          implements "Visitor Pattern"
 ScopedID getExtends()
           
 ImplementsList getImplementsList()
           
 java.lang.String getTypeName()
           
 void setExtends(ScopedID extendsCls)
           
 void setImplementsList(ImplementsList list)
           
 
Methods inherited from class gov.llnl.babel.ast.Extendable
getMethodList, setMethodList
 
Methods inherited from class gov.llnl.babel.ast.AttributedType
getAttributeList, setAttributeList
 
Methods inherited from class gov.llnl.babel.ast.NamedType
getDocComment, getFQN, getName, getVersion, hasDocComment, setDocComment, setName, setVersion
 
Methods inherited from class gov.llnl.babel.ast.ASTNode
getFilename, getFirstToken, getLastToken, getParent, getParseTreeNode, getSymbolTableEntry, setParent, setParserTreeNode, setSymbolTableEntry
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

d_extends

protected ScopedID d_extends
class that this class extends


d_implements

protected ImplementsList d_implements
List of interfaces

Constructor Detail

ClassType

public ClassType(ParseTreeNode src,
                 ASTNode parent,
                 Name name)

ClassType

public ClassType()
Method Detail

getTypeName

public java.lang.String getTypeName()
Specified by:
getTypeName in class Type

getImplementsList

public ImplementsList getImplementsList()

setImplementsList

public void setImplementsList(ImplementsList list)

setExtends

public void setExtends(ScopedID extendsCls)

getExtends

public ScopedID getExtends()

accept

public java.lang.Object accept(Visitor v,
                               java.lang.Object data)
Description copied from class: ASTNode
implements "Visitor Pattern"

Specified by:
accept in class ASTNode
Parameters:
v - The visitor class
data - Optional extra data
Returns:
Optional extra data