com.togethersoft.openapi.sci
Interface SciFunctionCallExpression
- public interface SciFunctionCallExpression
- extends SciExpression
SciFunctionCallExpression represents a call of a function.
Consider these examples:
1. |------- SciFunctionCallExpression -------|
| |
someObject.someMethod(String str1, int i);
|---------------| || |---------------------|
| || |
| SciMemberAccessExpression || SciExpressionList |
|--returned by getFunction() method--||--returned by getParameterList method--|
2. |-- SciFunctionCallExpression --|
| |
someMethod(String str1, int i);
|---------------| || |---------------------------------|
| ||-----------| |
| | | |
| SciReferenceExpression |----------| | SciExpressionList |
|--returned by getFunction() method--| |--returned by getParameterList method--|
getFunction method returns SciExpression for the function expression.
getParameterList method returns SciExpressionList object from which
it is possible to extract information about each parameter expression.
- Author:
- TogetherSoft
- Since: Together 3.0
- See Also: SciMemberAccessExpression, SciReferenceExpression
| Methods inherited from interface com.togethersoft.openapi.sci.SciObject |
canCut, canDelete, canReplace, copy, cut, delete, getContainingFile, getContainingScope, getLanguage, getPositions, getText, getUserProperty, isReadOnly, replace, setUserProperty |
getFunction
public SciExpression getFunction()
- Returns
SciExpression for the function expression. See example in the description of this interface.- Returns:
SciExpression for the function expression.- See Also:
- SciMemberAccessExpression
getParameterList
public SciExpressionList getParameterList()