Template Function blackbird::_expression

Function Documentation

template<typename T>
T blackbird::_expression(Visitor *V, blackbirdParser::ExpressionContext *ctx, T value)

Evaluate a blackbird expression.

This is a recursive function, that continually calls itself until the full expression has been evaluated.

  • V – the Blackbird visitor

  • ctxExpressionContext

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


the expression value