34 lines
484 B
C++
34 lines
484 B
C++
#ifndef MEMGRAPH_CYPHER_AST_VALUES_HPP
|
|
#define MEMGRAPH_CYPHER_AST_VALUES_HPP
|
|
|
|
#include <string>
|
|
|
|
#include "expr.hpp"
|
|
|
|
namespace ast
|
|
{
|
|
|
|
struct Float : public LeafExpr<double, Float>
|
|
{
|
|
using LeafExpr::LeafExpr;
|
|
};
|
|
|
|
struct Integer : public LeafExpr<int, Integer>
|
|
{
|
|
using LeafExpr::LeafExpr;
|
|
};
|
|
|
|
struct Boolean : public LeafExpr<bool, Boolean>
|
|
{
|
|
using LeafExpr::LeafExpr;
|
|
};
|
|
|
|
struct String : public LeafExpr<std::string, String>
|
|
{
|
|
using LeafExpr::LeafExpr;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|