#pragma once #include #include #include namespace NYql { namespace NPureCalc { /** * A transformer which converts an output type of the expression to the given type or reports an error. * * @param outputStruct destination output struct type. * @param acceptsBlocks indicates, whether the output type need to be * preprocessed. * @param processorMode specifies the top-most container of the result. * @return a graph transformer for type alignment. */ TAutoPtr MakeOutputAligner( const TTypeAnnotationNode* outputStruct, bool acceptsBlocks, EProcessorMode processorMode ); } }