com.go.tea.parsetree
Class FunctionCallExpression

java.lang.Object
  |
  +--com.go.tea.parsetree.Node
        |
        +--com.go.tea.parsetree.Expression
              |
              +--com.go.tea.parsetree.CallExpression
                    |
                    +--com.go.tea.parsetree.FunctionCallExpression
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class FunctionCallExpression
extends CallExpression

A CallExpression to a function.

Version:
7 , 9/07/00
Author:
Brian S O'Neill
See Also:
TemplateCallExpression, Serialized Form

Inner classes inherited from class com.go.tea.parsetree.Expression
Expression.Conversion
 
Constructor Summary
FunctionCallExpression(SourceInfo info, Name target, ExpressionList params, Block subParam)
           
 
Method Summary
 java.lang.Object accept(NodeVisitor visitor)
          Every subclass of Node must override this method with the following: return visitor.visit(this).
 java.lang.reflect.Method getCalledMethod()
          Returns the method to invoke to perform the call, which is set by a type checker.
 void setCalledMethod(java.lang.reflect.Method m)
           
 
Methods inherited from class com.go.tea.parsetree.CallExpression
clone, getInitializer, getParams, getSubstitutionParam, getTarget, isExceptionPossible, isVoidPermitted, setInitializer, setParams, setSubstitutionParam, setVoidPermitted
 
Methods inherited from class com.go.tea.parsetree.Expression
convertTo, convertTo, getConversionChain, getInitialType, getType, getValue, isValueKnown, setInitialType, setType
 
Methods inherited from class com.go.tea.parsetree.Node
getSourceInfo, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FunctionCallExpression

public FunctionCallExpression(SourceInfo info,
                              Name target,
                              ExpressionList params,
                              Block subParam)
Method Detail

accept

public java.lang.Object accept(NodeVisitor visitor)
Description copied from class: Node
Every subclass of Node must override this method with the following: return visitor.visit(this).
Overrides:
accept in class Expression
Following copied from class: com.go.tea.parsetree.Node
Parameters:
visitor - A visitor of this Node
Returns:
Node The Node returned by the visitor
See Also:
NodeVisitor

getCalledMethod

public java.lang.reflect.Method getCalledMethod()
Returns the method to invoke to perform the call, which is set by a type checker.

setCalledMethod

public void setCalledMethod(java.lang.reflect.Method m)