gov.llnl.babel.ast
Class Extendable

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
All Implemented Interfaces:
IAttributable, INameable
Direct Known Subclasses:
ClassType, InterfaceType

public abstract class Extendable
extends AttributedType

Common base class for user defined types that support inheritance such as Classes and Interfaces.


Field Summary
protected  Invariants d_invariants
           
protected  MethodList 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
Extendable(ParseTreeNode src, ASTNode parent, Name name)
           
 
Method Summary
 Invariants getInvariants()
           
 MethodList getMethodList()
           
 void setInvariants(Invariants invariants)
           
 void setMethodList(MethodList methods)
           
 
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.Type
getTypeName
 
Methods inherited from class gov.llnl.babel.ast.ASTNode
accept, 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_methodList

protected MethodList d_methodList

d_invariants

protected Invariants d_invariants
Constructor Detail

Extendable

public Extendable(ParseTreeNode src,
                  ASTNode parent,
                  Name name)
Method Detail

getMethodList

public MethodList getMethodList()

setMethodList

public void setMethodList(MethodList methods)

getInvariants

public Invariants getInvariants()

setInvariants

public void setInvariants(Invariants invariants)