gov.llnl.babel.ast
Class StructType
java.lang.Object
gov.llnl.babel.ast.ASTNode
gov.llnl.babel.ast.Type
gov.llnl.babel.ast.NamedType
gov.llnl.babel.ast.AttributedType
gov.llnl.babel.ast.StructType
- All Implemented Interfaces:
- IAttributable, INameable
public class StructType
- extends AttributedType
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 |
d_structItems
protected java.util.LinkedList d_structItems
StructType
public StructType(ParseTreeNode src,
ASTNode parent,
Name name)
setHasRarray
public void setHasRarray(boolean val)
getHasRarray
public boolean getHasRarray()
getTypeName
public java.lang.String getTypeName()
- Specified by:
getTypeName
in class Type
getStructItemList
public java.util.LinkedList getStructItemList()
addStructItem
public void addStructItem(StructItem i)
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 classdata
- Optional extra data
- Returns:
- Optional extra data