ast
Class Member

java.lang.Object
  extended by ast.ASTNode
      extended by ast.Member
Direct Known Subclasses:
Field, Method

public abstract class Member
extends ASTNode

The abstract Member class represents either a field declaration or a method declaration contained within a class declaration.

See Also:
ASTNode, Method, Field

Field Summary
 
Fields inherited from class ast.ASTNode
charNum, lineNum, lineStr
 
Constructor Summary
protected Member(int lineNum)
          Member constructor
 
Method Summary
 java.lang.Object accept(visitor.Visitor v, java.lang.Object o)
          Visitor method
 
Methods inherited from class ast.ASTNode
getLineNum
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Member

protected Member(int lineNum)
Member constructor

Parameters:
lineNum - source line number corresponding to this AST node
Method Detail

accept

public java.lang.Object accept(visitor.Visitor v,
                               java.lang.Object o)
Visitor method

Specified by:
accept in class ASTNode
Parameters:
v - visitor object
o - object to pass down
Returns:
result of visiting this node
See Also:
Visitor