summaryrefslogtreecommitdiffstats
path: root/yql/essentials/ast/yql_pos_handle.h
blob: ab79445e3f6ba0ec6a24323d7a60528ddcd1d50d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <util/system/types.h>

namespace NYql {

struct TPositionHandle {
    friend struct TExprContext;
    bool operator==(TPositionHandle const& other) const = default;
    bool operator!=(TPositionHandle const& other) const = default;
private:
    ui32 Handle_ = 0; // 0 is guaranteed to represent default-constructed TPosition
};

}