Interface IFunctionArguments

    • Method Detail

      • getPositionalArgs

        List<String> getPositionalArgs()
        Returns:
        A list with the positional arguments of the function, e.g. field.test(value1|value2)
      • getPositionalArg

        default String getPositionalArg​(int index)
        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

        Map<String,​String> getNamedArgs()
        Returns:
        A map with the named arguments of the function, e.g. field.test(key1|key2#value1|value2)