gov.llnl.babel.ast
Class ClassType

java.lang.Object
  extended by gov.llnl.babel.ast.ASTNode
      extended by gov.llnl.babel.ast.Type
          extended by gov.llnl.babel.ast.NamedType
              extended by gov.llnl.babel.ast.AttributedType
                  extended by gov.llnl.babel.ast.Extendable
                      extended by gov.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
protected  SplicerList d_splicers
          List of splicer blocks
 
Fields inherited from class gov.llnl.babel.ast.Extendable
d_invariants, 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
ILLEGAL_NODEID
 
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"
 void addSplicerBlock(SplicerBlock block)
           
 ScopedID getExtends()
           
 ImplementsList getImplementsList()
           
 SplicerList getSplicerList()
           
 java.lang.String getTypeName()
           
 void setExtends(ScopedID extendsCls)
           
 void setImplementsList(ImplementsList list)
           
 
Methods inherited from class gov.llnl.babel.ast.Extendable
getInvariants, getMethodList, setInvariants, setMethodList
 
Methods inherited from class gov.llnl.babel.ast.AttributedType
getAttributeList, setAttributeList
 
Methods inherited from class gov.llnl.babel.ast.NamedType
getDocComment, getFQN, getName, getUserSelected, getVersion, hasDocComment, setDocComment, setName, setUserSelected, setVersion
 
Methods inherited from class gov.llnl.babel.ast.ASTNode
getFilename, getFirstToken, getLastToken, getNodeId, getParent, getParseTreeNode, getSymbolTableEntry, setFirstToken, setLastToken, setNodeId, setParent, setParseTreeNode, 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


d_splicers

protected SplicerList d_splicers
List of splicer blocks

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()

addSplicerBlock

public void addSplicerBlock(SplicerBlock block)

getSplicerList

public SplicerList getSplicerList()

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