Trait rubble_templates_core::evaluator::Evaluator  [−][src]
Trait that describes an ability to evaluate code in template.
Any struct that implements this trait should be able to interpret a given AST and evaluate it. AST are not constructed by the Evaluator, they are consumed by it.
Required methods
fn evaluate(
    &self, 
    syntax_node: &SyntaxNode, 
    context: &mut Context
) -> Result<String, SyntaxError>[src]
&self,
syntax_node: &SyntaxNode,
context: &mut Context
) -> Result<String, SyntaxError>