Trait superfilter::ast::transform::Transform [] [src]

pub trait Transform: Debug {
    fn transform(
        &self,
        ctx: TransformContext
    ) -> Result<Option<TransformedNode>, Error>; fn location(&self) -> AstLocation; }

This trait needs to be implemented for any abstract syntax tree structure, it contains the functions to transform the structure's representation into the final structure before it gets rendered into plain GGG syntax tree output

Required Methods

Perform any transformations that need to be done before rendering this structure into plain GGG loot filter syntax

Implementors