nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
nk::FusionRule Struct Reference

Public Attributes

const char * name = ""
std::function< std::optional< std::vector< const ASTNode * > >(const ASTNode *)> match
std::function< bool(const Value *operands, std::size_t nOperands, Value &out, std::pmr::memory_resource *mr)> execute

Detailed Description

Definition at line 38 of file fusion_rule.hpp.

Member Data Documentation

◆ execute

std::function<bool(const Value *operands, std::size_t nOperands, Value &out, std::pmr::memory_resource *mr)> nk::FusionRule::execute

Definition at line 49 of file fusion_rule.hpp.

◆ match

std::function<std::optional<std::vector<const ASTNode *> >(const ASTNode *)> nk::FusionRule::match

Definition at line 43 of file fusion_rule.hpp.

◆ name

const char* nk::FusionRule::name = ""

Definition at line 39 of file fusion_rule.hpp.


The documentation for this struct was generated from the following file: