org.jsweet.transpiler.model.InvocationElement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jsweet-transpiler Show documentation
Show all versions of jsweet-transpiler Show documentation
A Java to TypeScript/JavaScript Open Transpiler
The newest version!
package org.jsweet.transpiler.model;
import java.util.List;
/**
* The model element for a method invocation.
*
* @author Renaud Pawlak
*/
public interface InvocationElement extends ExtendedElement {
/**
* Gets the arguments that are passed to the invoked element.
*/
List getArguments();
/**
* Gets the ith argument that is passed to the invoked element.
*/
ExtendedElement getArgument(int i);
/**
* Gets the arguments that are passed to the invoked element, omitting the
* first argument.
*/
List getArgumentTail();
/**
* Gets the number of arguments that are passed to the invoked element.
*/
int getArgumentCount();
}