gov.llnl.babel.ast
Class MethodList

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

public class MethodList
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
MethodList(ParseTreeNode src, ASTNode parent)
           
 
Method Summary
 java.lang.Object accept(Visitor v, java.lang.Object data)
          implements "Visitor Pattern"
 boolean addMethod(Method method)
           
 NodeList cloneEmpty()
           
 
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

MethodList

public MethodList(ParseTreeNode src,
                  ASTNode parent)
Method Detail

addMethod

public boolean addMethod(Method method)

cloneEmpty

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

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