#pragma once #include #include #include namespace NYql { namespace NNodes { #include class TStatDSource: public NGenerated::TStatDSourceStub { public: explicit TStatDSource(const TExprNode* node) : TStatDSourceStub {node} { } explicit TStatDSource(const TExprNode::TPtr& node) : TStatDSourceStub {node} { } static bool Match(const TExprNode* node) { if (!TStatDSourceStub::Match(node)) { return false; } if (node->Child(0)->Content() != StatProviderName) { return false; } return true; } }; class TStatDSink: public NGenerated::TStatDSinkStub { public: explicit TStatDSink(const TExprNode* node) : TStatDSinkStub {node} { } explicit TStatDSink(const TExprNode::TPtr& node) : TStatDSinkStub {node} { } static bool Match(const TExprNode* node) { if (!TStatDSinkStub::Match(node)) { return false; } if (node->Child(0)->Content() != StatProviderName) { return false; } return true; } }; #include } // namespace NNodes } // namespace NYql