com.aptana.ide.editor.js.runtime
Interface IInvokeTypeProvider


public interface IInvokeTypeProvider

Author:
Kevin Lindsey

Method Summary
 IObject getInvokeReturnType(Environment environment, IObject[] arguments, int fileIndex, IRange sourceRegion)
          This method can be used by JSFunctions to determine the function's return type when the function is invoked
 

Method Detail

getInvokeReturnType

IObject getInvokeReturnType(Environment environment,
                            IObject[] arguments,
                            int fileIndex,
                            IRange sourceRegion)
This method can be used by JSFunctions to determine the function's return type when the function is invoked

Parameters:
environment - The current JS runtime environment
arguments - The arguments passed to this invocation
fileIndex - The index of the file where this invocation is taking place
sourceRegion - The region of the file where this invocation is being made
Returns:
Returns the result of this invocation.