Template Function blackbird::_get_mult_expr_args

Function Documentation

template<typename T, typename S>
T blackbird::_get_mult_expr_args(Visitor *V, blackbirdParser::ArgumentsContext *ctx, T array, S type)

Parse Blackbird function arguments with multiple expressions.

Parameters
  • V – the Blackbird visitor

  • ctxArgumentsContext

  • array – vector to populate with each argument value

  • type – a dummy template argument that corresponds to the expected type of the arguments, as determined by the Blackbird type declarations.

Returns

the vector of argument values