Structs§

  • An argument extractor that extracts all the arguments passed to a function, resolves their expressions and returns a vector of Value. This is useful for functions that accept a variable number of arguments rather than known arguments and types (for example a sum function).
  • Identifier is an argument extractor that attempts to extract an identifier from an argument’s expression. It fails if the argument is not available, or if the argument cannot be converted into an expression.
  • A function argument abstraction enabling dynamic method invocation on a target instance or on the first argument if the function is not called as a method. This is similar to how methods can be called as functions using the fully-qualified syntax.