- All Known Implementing Classes:
SolaScriptFunction
@NullMarked
public interface SolaScriptCallable
SolaScriptCallable specifies the contract for something that is callable in a sola script.
-
Method Summary
-
Method Details
-
arity
int arity()The number of expected arguments.- Returns:
- the number of expected arguments
-
call
Calls the function passing along the arguments for the call and returning an evaluated value.- Parameters:
arguments
- the arguments for the call- Returns:
- the evaluated value
-