Class HashArgsFunction

java.lang.Object
com.github.basking2.sdsai.itrex.functions.function.HashArgsFunction
All Implemented Interfaces:
FunctionInterface<Iterator<Object>>, BiFunction<Iterator<?>,EvaluationContext,Iterator<Object>>

public class HashArgsFunction extends Object implements FunctionInterface<Iterator<Object>>
Put all strings of the format name:value into the environment as name = value. This allows [get name] to return the value. Unconsumed arguments are returned in an iterator _and_ set as the current arguments in the environment. Subsequent calls to [arg] or [args] will get the filtered list of arguments.