yql_expr_constraint.h 801 B

1234567891011121314151617181920
  1. #pragma once
  2. #include <yql/essentials/core/yql_type_annotation.h>
  3. #include <yql/essentials/core/yql_graph_transformer.h>
  4. #include <yql/essentials/ast/yql_expr.h>
  5. #include <util/generic/ptr.h>
  6. #include <initializer_list>
  7. namespace NYql {
  8. TAutoPtr<IGraphTransformer> CreateConstraintTransformer(TTypeAnnotationContext& types, bool instantOnly = false, bool subGraph = false, bool disableCheck = false);
  9. TAutoPtr<IGraphTransformer> CreateDefCallableConstraintTransformer();
  10. IGraphTransformer::TStatus UpdateLambdaConstraints(const TExprNode& lambda);
  11. IGraphTransformer::TStatus UpdateLambdaConstraints(TExprNode::TPtr& lambda, TExprContext& ctx, const TArrayRef<const TConstraintNode::TListType>& constraints);
  12. IGraphTransformer::TStatus UpdateAllChildLambdasConstraints(const TExprNode& node);
  13. }