mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Data Fields
m::ast::GroupByClause Struct Reference

#include <AST.hpp>

Inheritance diagram for m::ast::GroupByClause:
[legend]
Collaboration diagram for m::ast::GroupByClause:
[legend]

Public Types

using group_type = std::pair< std::unique_ptr< Expr >, Token >
 

Public Member Functions

 GroupByClause (Token tok, std::vector< group_type > group_by)
 

‍a list of expressions to group by


 
void accept (ASTClauseVisitor &v) override
 
void accept (ConstASTClauseVisitor &v) const override
 
void dot (std::ostream &out) const
 
void dump (std::ostream &out) const
 
void dump () const
 

Data Fields

std::vector< group_typegroup_by
 
Token tok
 

Detailed Description

Definition at line 585 of file AST.hpp.

Member Typedef Documentation

◆ group_type

using m::ast::GroupByClause::group_type = std::pair<std::unique_ptr<Expr>, Token>

Definition at line 587 of file AST.hpp.

Constructor & Destructor Documentation

◆ GroupByClause()

m::ast::GroupByClause::GroupByClause ( Token  tok,
std::vector< group_type group_by 
)
inline

‍a list of expressions to group by

Definition at line 590 of file AST.hpp.

Member Function Documentation

◆ accept() [1/2]

void m::ast::GroupByClause::accept ( ASTClauseVisitor v)
overridevirtual

Implements m::ast::Clause.

◆ accept() [2/2]

void m::ast::GroupByClause::accept ( ConstASTClauseVisitor v) const
overridevirtual

Implements m::ast::Clause.

◆ dot()

void Clause::dot ( std::ostream &  out) const
inherited

Definition at line 211 of file AST.cpp.

References m::ast::Clause::dot().

Referenced by m::ast::Clause::dot().

◆ dump() [1/2]

void Clause::dump ( ) const
inherited

Definition at line 243 of file AST.cpp.

References m::ast::Clause::dump().

Referenced by m::ast::Clause::dump().

◆ dump() [2/2]

void Clause::dump ( std::ostream &  out) const
inherited

Definition at line 237 of file AST.cpp.

Field Documentation

◆ group_by

std::vector<group_type> m::ast::GroupByClause::group_by

Definition at line 588 of file AST.hpp.

◆ tok

Token m::ast::Clause::tok
inherited

Definition at line 500 of file AST.hpp.


The documentation for this struct was generated from the following file: