Interface IFunctionArguments
- All Known Subinterfaces:
IFunctionWithArguments
- All Known Implementing Classes:
AsposeRootArgs
public interface IFunctionArguments
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
getPositionalArg
(int index) default boolean
hasPositionalArg
(int index)
-
Method Details
-
getPositionalArgs
- Returns:
- A list with the positional arguments of the function, e.g.
field.test(value1|value2)
-
getPositionalArg
- Parameters:
index
- 0-based index of the argument.- Returns:
- The positional argument at the given index.
-
hasPositionalArg
default boolean hasPositionalArg(int index) - Parameters:
index
- 0-based index of the argument.- Returns:
- Whether a positional argument at the given index exists, i.e. whether at least (index+1) arguments were provided.
-
getNamedArgs
- Returns:
- A map with the named arguments of the function, e.g.
field.test(key1|key2#value1|value2)
-