memgraph/cypher/token.hpp

19 lines
339 B
C++
Raw Normal View History

#pragma once
2015-10-19 01:44:00 +08:00
#include <ostream>
#include <cstdint>
#include <string>
struct Token
{
unsigned long id;
std::string value;
2015-10-19 01:44:00 +08:00
friend std::ostream& operator<<(std::ostream& stream, const Token& token)
{
return stream << "TOKEN id = " << token.id
<< ", value = '" << token.value << "'";
}
};