MCPcopy Create free account
hub / github.com/YACReader/yacreader / QueryLexer

Class QueryLexer

YACReaderLibrary/db/query_lexer.h:43–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41};
42
43class QueryLexer
44{
45public:
46 QueryLexer(const std::string &input);
47 Token next();
48
49private:
50 std::string input;
51 int index = 0;
52
53 char peek();
54 char get();
55
56 Token single(Token::Type type);
57 Token word();
58 Token quotedWord();
59 Token minor();
60 Token major();
61 Token equal();
62
63 bool isSpace(char c);
64};
65
66#endif // QUERY_LEXER_H

Callers 2

QueryParserClass · 0.85
parseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected