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.

returns 0 to indicate successful visitation
  • V: the Blackbird visitor
  • ctx: ArrayvarContext
  • array: empty vector to store the Blackbird array in