smollerGraph 0.20.2
A small graph database, from scratch
Loading...
Searching...
No Matches
lexer.h File Reference
#include <cstddef>
#include <string>
#include <string_view>
#include <vector>
#include "absl/status/statusor.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  smollergraph::Token
 

Namespaces

namespace  smollergraph
 

Enumerations

enum class  smollergraph::TokenKind {
  smollergraph::kWord , smollergraph::kString , smollergraph::kNumber , smollergraph::kSymbol ,
  smollergraph::kEnd
}
 The kinds of token in our subset of Cypher. More...
 

Functions

absl::StatusOr< std::vector< Token > > smollergraph::Lex (std::string_view query)
 Splits a query into tokens, ending with a kEnd token.