blob: 08cbadfee98a1c4df6b73f7db011d55b96d1f79c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#if !defined(yyFlexLexerOnce)
# include <FlexLexer.h>
#endif
#include "parser.hxx"
#include "location.hh"
#include <iosfwd>
namespace document::select {
class DocSelScanner final : yyFlexLexer {
public:
explicit DocSelScanner(std::istream* in) : yyFlexLexer(in) {}
~DocSelScanner() override = default;
int yylex(DocSelParser::semantic_type* yylval, DocSelParser::location_type* yyloc);
};
}
|