aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/ast/yql_expr_types.cpp
blob: 0e44a620f3121d29ab11e82373478a181ff28118 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "yql_expr_types.h"

namespace NYql {
}

template<>
void Out<NYql::ETypeAnnotationKind>(class IOutputStream &o, NYql::ETypeAnnotationKind x) {
#define YQL_TYPE_ANN_KIND_MAP_TO_STRING_IMPL(name, ...) \
    case NYql::ETypeAnnotationKind::name: \
        o << #name; \
        return;

    switch (x) {
        YQL_TYPE_ANN_KIND_MAP(YQL_TYPE_ANN_KIND_MAP_TO_STRING_IMPL)
    default:
        o << static_cast<int>(x);
        return;
    }
}