![]() |
mutable
A Database System for Research and Fast Prototyping
|
#include <AST.hpp>
Public Member Functions | |
CreateIndexStmt (Token has_unique, bool has_if_not_exists, Token index_name, Token table_name, Token method, std::vector< std::unique_ptr< Expr > > key_fields) | |
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 | has_unique |
bool | has_if_not_exists |
Token | index_name |
Token | table_name |
Token | method |
std::vector< std::unique_ptr< Expr > > | key_fields |
|
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<Expr> > m::ast::CreateIndexStmt::key_fields |