![]() |
mutable
A Database System for Research and Fast Prototyping
|
#include <AST.hpp>
Data Structures | |
struct | attribute_definition |
Public Member Functions | |
CreateTableStmt (Token table_name, std::vector< std::unique_ptr< attribute_definition > > attributes) | |
void | accept (ASTCommandVisitor &v) override |
void | accept (ConstASTCommandVisitor &v) const override |
void | dot (std::ostream &out) const |
Writes a Graphivz dot representation of this Stmt to out . | |
void | dump (std::ostream &out) const |
void | dump () const |
Data Fields | |
Token | table_name |
std::vector< std::unique_ptr< attribute_definition > > | attributes |
|
inline |
|
overridevirtual |
Implements m::ast::Command.
|
overridevirtual |
Implements m::ast::Command.
|
inherited |
Writes a Graphivz dot representation of this Stmt
to out
.
Used to render ASTs with Graphivz.
Definition at line 217 of file AST.cpp.
References m::ast::Stmt::dot().
Referenced by m::ast::Stmt::dot().
|
inherited |
Definition at line 251 of file AST.cpp.
References m::ast::Command::dump().
Referenced by m::ast::Command::dump().
std::vector<std::unique_ptr<attribute_definition> > m::ast::CreateTableStmt::attributes |