Template Function blackbird::_set_expression_variable

Function Documentation

template<typename T>
void blackbird::_set_expression_variable(Visitor *V, blackbirdParser::ExpressionvarContext *ctx, T val)

Once an expression variable context is entered, this begins the recursive process of calling _expression to evaluate the expression, followed by storing the variable value in variable_map.

  • V – the Blackbird visitor

  • ctxExpressionvarContext

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