Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef AST_OPERATION_CONDENSE_CONDENSE_HH
- #define AST_OPERATION_CONDENSE_CONDENSE_HH
- #include "../operation.hh"
- #include "../iteratorvariable.hh"
- #include "condenseoperator.hh"
- namespace engine {
- namespace ast {
- class Condense : public Operation {
- public:
- Condense(CondenseOperator op,
- const std::shared_ptr<IteratorVariable> &overOperation,
- const std::shared_ptr<Operation> &usingOperation,
- const std::shared_ptr<Operation> &whereOperation = nullptr);
- virtual ~Condense() = default;
- virtual VisitorResultPtr accept(ASTVisitor *visitor) override;
- CondenseOperator getOp() const;
- std::shared_ptr<IteratorVariable> getOverOperation() const;
- std::shared_ptr<Operation> getUsingOperation() const;
- std::shared_ptr<Operation> getWhereOperation() const;
- private:
- CondenseOperator op;
- std::shared_ptr<IteratorVariable> overOperation;
- std::shared_ptr<Operation> usingOperation;
- std::shared_ptr<Operation> whereOperation;
- };
- }
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement