memgraph/cypher/token.hpp
2015-12-07 21:51:55 +01:00

19 lines
339 B
C++

#pragma once
#include <ostream>
#include <cstdint>
#include <string>
struct Token
{
unsigned long id;
std::string value;
friend std::ostream& operator<<(std::ostream& stream, const Token& token)
{
return stream << "TOKEN id = " << token.id
<< ", value = '" << token.value << "'";
}
};