org.concord.util.script
Class InvocationExpression

java.lang.Object
  |
  +--org.concord.util.script.ScriptObject
        |
        +--org.concord.util.script.Expression
              |
              +--org.concord.util.script.InvocationExpression
All Implemented Interfaces:
java.beans.BeanInfo

public class InvocationExpression
extends Expression


Field Summary
protected  java.util.Stack actuals
           
protected  java.lang.reflect.Constructor constructor
           
protected  boolean isConstructor
           
protected  java.lang.reflect.Method method
           
protected  int methodUseCount
           
protected static int NOSCRIPT
           
protected  java.lang.Object result
           
protected static int SCRIPT
           
 
Fields inherited from class org.concord.util.script.ScriptObject
beginColumn, beginLine, debug, deleted, doConversion, endColumn, endLine, name, nil, runtimeTable, script
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
InvocationExpression(Script script)
           
 
Method Summary
 void addActual(java.lang.Object obj)
           
 void delete()
           
 java.util.Stack getActuals()
           
 java.lang.Object[][] getParameterValues()
           
 void interpret()
          This does nothing.
 void interpret(java.lang.Object object)
           
 java.lang.Object invokeCachedConstructor(java.lang.String name, java.lang.Object[] values)
           
 java.lang.Object invokeCachedMethod(java.lang.Object object, java.lang.String name, java.lang.Object[] values)
           
 void setConstructor(boolean val)
           
 
Methods inherited from class org.concord.util.script.Expression
toString
 
Methods inherited from class org.concord.util.script.ScriptObject
findConstructor, findMethod, getAdditionalBeanInfo, getArrayValue, getAtom, getBeanDescriptor, getCurrentFrame, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getField, getFieldValue, getIcon, getMethodDescriptors, getName, getPropertyDescriptors, getScript, popFrame, pushFrame, setArrayValue, setCurrentFrame, setFieldValue, setName, setScript, setSourceBounds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SCRIPT

protected static final int SCRIPT

NOSCRIPT

protected static final int NOSCRIPT

result

protected java.lang.Object result

actuals

protected java.util.Stack actuals

isConstructor

protected boolean isConstructor

method

protected java.lang.reflect.Method method

constructor

protected java.lang.reflect.Constructor constructor

methodUseCount

protected int methodUseCount
Constructor Detail

InvocationExpression

public InvocationExpression(Script script)
Method Detail

delete

public void delete()
Overrides:
delete in class ScriptObject

setConstructor

public void setConstructor(boolean val)

addActual

public void addActual(java.lang.Object obj)

getActuals

public java.util.Stack getActuals()

getParameterValues

public java.lang.Object[][] getParameterValues()

invokeCachedConstructor

public java.lang.Object invokeCachedConstructor(java.lang.String name,
                                                java.lang.Object[] values)

invokeCachedMethod

public java.lang.Object invokeCachedMethod(java.lang.Object object,
                                           java.lang.String name,
                                           java.lang.Object[] values)

interpret

public void interpret()
Description copied from class: ScriptObject
This does nothing. Maybe should be abstract?
Overrides:
interpret in class Expression

interpret

public void interpret(java.lang.Object object)
Overrides:
interpret in class Expression