summaryrefslogtreecommitdiffstats
path: root/yql/essentials/sql/v1/ide/completion/core/environment.h
blob: 07a08a7d7ad1d25b6d2d66413526eb75b8701038 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

#include <library/cpp/yson/node/node.h>

#include <util/generic/string.h>
#include <util/generic/hash.h>

namespace NSQLComplete {

struct TEnvironment {
    // Given `{ "$x": "{ "Data": "foo" }" }`,
    // it will contain `{ "$x": "foo" }`
    THashMap<TString, NYT::TNode> Parameters;
};

} // namespace NSQLComplete