MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ build()

void MayaFlux::Yantra::ComputationGrammar::RuleBuilder::build ( )
inline

Finalizes and adds the rule to the grammar.

This method must be called to complete rule construction. The built rule is added to the parent grammar and sorted by priority for efficient matching.

Note
After calling build(), this RuleBuilder should not be used again

Definition at line 451 of file ComputeGrammar.hpp.

452 {
453 m_grammar->add_rule(std::move(m_rule));
454 }
ComputationGrammar * m_grammar
Reference to parent grammar.
void add_rule(Rule rule)
Add a rule to the grammar.

References MayaFlux::Yantra::ComputationGrammar::add_rule().

+ Here is the call graph for this function: