mrdocs::dom::FunctionImpl::call

Invoke the function.

Synopsis

Declared in <mrdocs/Dom/Function.hpp>

virtual
Expected<Value>
call(Array const& args) const = 0;

Return Value

dom's result type: the std::expected polyfill, defaulting the error to dom::Error (an explicit 2nd argument is allowed, e.g. Expected<void, E>).

Parameters

Name

Description

args

An array of values

Created with MrDocs