edu.rice.cs.javalanglevels.tree
Class MethodInvocation

java.lang.Object
  extended by edu.rice.cs.javalanglevels.tree.JExpression
      extended by edu.rice.cs.javalanglevels.tree.Expression
          extended by edu.rice.cs.javalanglevels.tree.Primary
              extended by edu.rice.cs.javalanglevels.tree.FunctionInvocation
                  extended by edu.rice.cs.javalanglevels.tree.MethodInvocation
All Implemented Interfaces:
ForConditionI, JExpressionIF, VariableInitializerI
Direct Known Subclasses:
ComplexMethodInvocation, SimpleMethodInvocation

public abstract class MethodInvocation
extends FunctionInvocation

Class MethodInvocation, a component of the JExpressionIF composite hierarchy. Note: null is not allowed as a value for any field.

Version:
Generated automatically by ASTGen at Sun May 27 23:01:27 CDT 2012

Constructor Summary
MethodInvocation(SourceInfo in_sourceInfo, ParenthesizedExpressionList in_arguments, Word in_name)
          Constructs a MethodInvocation.
 
Method Summary
protected abstract  int generateHashCode()
           
 Word getName()
           
abstract  void outputHelp(TabPrintWriter writer)
           
abstract  void visit(JExpressionIFVisitor_void visitor)
           
abstract
<RetType> RetType
visit(JExpressionIFVisitor<RetType> visitor)
           
 
Methods inherited from class edu.rice.cs.javalanglevels.tree.FunctionInvocation
getArguments
 
Methods inherited from class edu.rice.cs.javalanglevels.tree.JExpression
getSourceInfo, hashCode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.rice.cs.javalanglevels.tree.JExpressionIF
getSourceInfo
 

Constructor Detail

MethodInvocation

public MethodInvocation(SourceInfo in_sourceInfo,
                        ParenthesizedExpressionList in_arguments,
                        Word in_name)
Constructs a MethodInvocation.

Throws:
IllegalArgumentException - If any parameter to the constructor is null.
Method Detail

getName

public Word getName()

visit

public abstract <RetType> RetType visit(JExpressionIFVisitor<RetType> visitor)
Specified by:
visit in interface JExpressionIF
Specified by:
visit in class FunctionInvocation

visit

public abstract void visit(JExpressionIFVisitor_void visitor)
Specified by:
visit in interface JExpressionIF
Specified by:
visit in class FunctionInvocation

outputHelp

public abstract void outputHelp(TabPrintWriter writer)
Specified by:
outputHelp in interface JExpressionIF
Specified by:
outputHelp in class FunctionInvocation

generateHashCode

protected abstract int generateHashCode()
Specified by:
generateHashCode in class FunctionInvocation