aspoev.interpreter.base
Class ParameterListElement

java.lang.Object
  extended byaspoev.interpreter.base.Element
      extended byaspoev.interpreter.base.ParameterListElement
All Implemented Interfaces:
java.lang.Cloneable, aspoev.Executable, pJ.jasmine.PRI, java.io.Serializable

public class ParameterListElement
extends Element
implements pJ.jasmine.PRI

See Also:
Serialized Form

Field Summary
protected  pJ.jasmine.ListOfObject parameterList
           
 
Fields inherited from class aspoev.interpreter.base.Element
parent
 
Fields inherited from interface pJ.jasmine.PRI
DELETECHANGE, MODIFYCHANGE, NOCHANGE
 
Constructor Summary
ParameterListElement()
           
 
Method Summary
 void addParameter(VariableDeclarationElement newVar)
           
 void addParameter(VariableDeclarationElement newVar, int index)
           
 java.lang.Object clone()
           
 boolean equals(java.lang.Object other)
           
protected  java.lang.Object executeElement()
          Pop parameters off of the ExecutionEnvironment's argument stack.
 java.util.Collection getChildrenByType(java.lang.Class childClass)
           
 java.lang.String getCodeString()
           
 java.lang.String[] getParameterNames()
           
 TypeReferenceElement[] getParameterTypes()
           
 int parameterMatch(ParameterListElement otherParams)
           
 int parameterTypeMatch(TypeReferenceElement[] twoTypes)
           
protected  void persistParameters()
           
 int size()
           
 
Methods inherited from class aspoev.interpreter.base.Element
execute, getRValue, persist, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

parameterList

protected pJ.jasmine.ListOfObject parameterList
Constructor Detail

ParameterListElement

public ParameterListElement()
Method Detail

clone

public java.lang.Object clone()
Specified by:
clone in class Element

persistParameters

protected void persistParameters()

executeElement

protected java.lang.Object executeElement()
Pop parameters off of the ExecutionEnvironment's argument stack.

Specified by:
executeElement in class Element

addParameter

public void addParameter(VariableDeclarationElement newVar)

addParameter

public void addParameter(VariableDeclarationElement newVar,
                         int index)

equals

public boolean equals(java.lang.Object other)

parameterMatch

public int parameterMatch(ParameterListElement otherParams)

parameterTypeMatch

public int parameterTypeMatch(TypeReferenceElement[] twoTypes)

getParameterNames

public java.lang.String[] getParameterNames()

getParameterTypes

public TypeReferenceElement[] getParameterTypes()

size

public int size()

getChildrenByType

public java.util.Collection getChildrenByType(java.lang.Class childClass)
Specified by:
getChildrenByType in class Element

getCodeString

public java.lang.String getCodeString()
Specified by:
getCodeString in class Element