12345678910111213141516171819202122232425 |
- #pragma once
- #include <yql/essentials/public/purecalc/common/processor_mode.h>
- #include <yql/essentials/core/yql_graph_transformer.h>
- #include <yql/essentials/core/yql_type_annotation.h>
- 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<IGraphTransformer> MakeOutputAligner(
- const TTypeAnnotationNode* outputStruct,
- bool acceptsBlocks,
- EProcessorMode processorMode
- );
- }
- }
|