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

#include <AST.hpp>

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

Public Member Functions

 DropTableStmt (std::vector< std::unique_ptr< Token > > table_names, bool has_if_exists)
 
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

std::vector< std::unique_ptr< Token > > table_names
 
bool has_if_exists
 

Detailed Description

Definition at line 883 of file AST.hpp.

Constructor & Destructor Documentation

◆ DropTableStmt()

m::ast::DropTableStmt::DropTableStmt ( std::vector< std::unique_ptr< Token > >  table_names,
bool  has_if_exists 
)
inline

Definition at line 888 of file AST.hpp.

Member Function Documentation

◆ accept() [1/2]

void m::ast::DropTableStmt::accept ( ASTCommandVisitor v)
overridevirtual

Implements m::ast::Command.

◆ accept() [2/2]

void m::ast::DropTableStmt::accept ( ConstASTCommandVisitor v) const
overridevirtual

Implements m::ast::Command.

◆ dot()

void Stmt::dot ( std::ostream &  out) const
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().

◆ dump() [1/2]

void Command::dump ( ) const
inherited

Definition at line 251 of file AST.cpp.

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

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

◆ dump() [2/2]

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

Definition at line 245 of file AST.cpp.

Field Documentation

◆ has_if_exists

bool m::ast::DropTableStmt::has_if_exists

Definition at line 886 of file AST.hpp.

◆ table_names

std::vector<std::unique_ptr<Token> > m::ast::DropTableStmt::table_names

Definition at line 885 of file AST.hpp.


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