gov.llnl.babel.ast
Class SplicerList

java.lang.Object
  extended by gov.llnl.babel.ast.ASTNode
      extended by gov.llnl.babel.ast.NodeList
          extended by gov.llnl.babel.ast.SplicerList

public class SplicerList
extends NodeList


Field Summary
 
Fields inherited from class gov.llnl.babel.ast.NodeList
d_list
 
Fields inherited from class gov.llnl.babel.ast.ASTNode
ILLEGAL_NODEID
 
Constructor Summary
SplicerList(ParseTreeNode src, ASTNode parent)
           
 
Method Summary
 java.lang.Object accept(Visitor v, java.lang.Object data)
          implements "Visitor Pattern"
 boolean addSplicerBlock(SplicerBlock block)
           
 NodeList cloneEmpty()
           
 boolean hasSplicerBlock(java.lang.String loc)
           
 boolean hasSplicerBlock(java.lang.String loc, java.lang.String name)
           
 
Methods inherited from class gov.llnl.babel.ast.NodeList
clear, getList, isEmpty, iterator, listiterator, size
 
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
 

Constructor Detail

SplicerList

public SplicerList(ParseTreeNode src,
                   ASTNode parent)
Method Detail

addSplicerBlock

public boolean addSplicerBlock(SplicerBlock block)

cloneEmpty

public NodeList cloneEmpty()
Specified by:
cloneEmpty in class NodeList

hasSplicerBlock

public boolean hasSplicerBlock(java.lang.String loc)

hasSplicerBlock

public boolean hasSplicerBlock(java.lang.String loc,
                               java.lang.String name)

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