Template Function blackbird::_array

Function Documentation

template<typename T>
T blackbird::_array(Visitor *V, blackbirdParser::ArrayvarContext *ctx, T array)

Helper function for iterating through a Blackbird array, and storing the result in a C++ vector container.

  • V – the Blackbird visitor

  • ctxArrayvarContext

  • array – empty vector to store the Blackbird array in


returns 0 to indicate successful visitation