mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Public Member Functions
m::ast::Stmt Struct Referenceabstract

A SQL statement. More...

#include <AST.hpp>

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

Public Member Functions

virtual ~Stmt ()
 
void dot (std::ostream &out) const
 Writes a Graphivz dot representation of this Stmt to out.
 
virtual void accept (ASTCommandVisitor &v)=0
 
virtual void accept (ConstASTCommandVisitor &v) const =0
 
void dump (std::ostream &out) const
 
void dump () const
 

Detailed Description

A SQL statement.

Definition at line 793 of file AST.hpp.

Constructor & Destructor Documentation

◆ ~Stmt()

virtual m::ast::Stmt::~Stmt ( )
inlinevirtual

Definition at line 795 of file AST.hpp.

Member Function Documentation

◆ accept() [1/2]

virtual void m::ast::Command::accept ( ASTCommandVisitor v)
pure virtualinherited

◆ accept() [2/2]

virtual void m::ast::Command::accept ( ConstASTCommandVisitor v) const
pure virtualinherited

◆ dot()

void Stmt::dot ( std::ostream &  out) const

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 dot().

Referenced by 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.


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