memgraph/cypher/ast/ast_echo.hpp
2015-08-30 01:12:46 +02:00

25 lines
349 B
C++

#ifndef MEMGRAPH_CYPHER_AST_PRINT_TREE_HPP
#define MEMGRAPH_CYPHER_AST_PRINT_TREE_HPP
#include <iostream>
#include "ast_visitor.hpp"
#include "values.hpp"
namespace ast
{
class AstEcho : public AstVisitor
{
public:
virtual void visit(Boolean& node)
{
std::cout << "Boolean: " << node.value << std::endl;
}
};
}
#endif