blob: 1f67a2f93a3db407e8c96d96f46f00938c20b535 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  | 
#pragma once
#include <util/generic/string.h>
#include <util/generic/hash.h>
#include <util/generic/hash_set.h>
#include <util/generic/vector.h>
namespace NSQLReflect {
    struct TLexerGrammar {
        THashSet<TString> KeywordNames;
        THashSet<TString> PunctuationNames;
        TVector<TString> OtherNames;
        THashMap<TString, TString> BlockByName;
        static const TStringBuf KeywordBlock(const TStringBuf name);
    };
    TLexerGrammar LoadLexerGrammar();
} // namespace NSQLReflect
  |