gov.llnl.babel.ast
Class MethodList

java.lang.Object
  extended bygov.llnl.babel.ast.ASTNode
      extended bygov.llnl.babel.ast.NodeList
          extended bygov.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
d_firstToken, d_lastToken, d_parent, d_src, d_symbol
 
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, getParent, getParseTreeNode, getSymbolTableEntry, setParent, setParserTreeNode, 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