Trait python_ast::preprocessor::traits::Preprocessor
[−]
[src]
pub trait Preprocessor<'a> {
type In;
type Out;
type Error;
fn transform(&self, input: Self::In) -> Result<Self::Out, Self::Error>;
}Generic Preproccessor which just enforces a simple adpater/transformer interface on the implementor.
Associated Types
Required Methods
Implementors
impl<'a> Preprocessor<'a> for BlockScopePreprocessor