|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
|
inline |
Add a rule to the grammar.
| rule | Rule to add to the grammar system |
Rules are automatically sorted by priority (highest first) and indexed by context for efficient lookup. The rule's name must be unique within the grammar.
Definition at line 116 of file ComputeGrammar.hpp.
References MayaFlux::Yantra::ComputationGrammar::Rule::context, MayaFlux::Yantra::ComputationGrammar::Rule::name, and MayaFlux::Yantra::ComputationGrammar::Rule::priority.
Referenced by MayaFlux::Yantra::ComputationGrammar::RuleBuilder::build().
Here is the caller graph for this function: