memgraph/cypher/ast/ast_visitor.hpp

65 lines
1.0 KiB
C++
Raw Normal View History

#pragma once
#include "utils/visitor/visitor.hpp"
namespace ast
{
struct Identifier;
// properties
struct Property;
struct PropertyList;
struct Accessor;
// values
struct Boolean;
struct Float;
struct Integer;
struct String;
// operators
struct And;
struct Or;
struct Lt;
struct Gt;
struct Ge;
struct Le;
struct Eq;
struct Ne;
struct Plus;
struct Minus;
struct Star;
struct Slash;
struct Rem;
struct RelationshipSpecs;
struct RelationshipList;
struct Relationship;
struct Node;
struct LabelList;
struct Pattern;
2015-10-19 01:44:00 +08:00
struct Return;
struct ReturnList;
struct Distinct;
2015-10-19 01:44:00 +08:00
struct Match;
struct Where;
struct Start;
2015-10-19 01:44:00 +08:00
struct ReadQuery;
struct WriteQuery;
struct Create;
2015-10-19 01:44:00 +08:00
struct AstVisitor : public Visitor<Accessor, Boolean, Float, Identifier,
Integer, String, Property, And, Or, Lt, Gt, Ge, Le, Eq, Ne, Plus, Minus,
Star, Slash, Rem, PropertyList, RelationshipList, Relationship, Node,
RelationshipSpecs, LabelList, ReturnList, Pattern, Match, ReadQuery,
Start, Where, WriteQuery, Create, Return, Distinct> {};
}