Clingo
|
Interface to call functions during parsing/grounding. More...
#include <script.hh>
Public Member Functions | |
virtual | ~ScriptCallback ()=default |
Virtual destructor. | |
auto | callable (std::string_view name, size_t args) -> bool |
Check if the function with the given name and number of arguments is callable. | |
void | call (Location const &loc, std::string_view name, SymbolSpan args, SymbolVec &out) |
Call the function with the given name and arguments. | |
Interface to call functions during parsing/grounding.
This interface is used by external functions.