mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Data Structures | Typedefs | Functions | Variables
m::ast Namespace Reference

Data Structures

struct  ASTDot
 Implements printing the AST in dot language. More...
 
struct  ASTDumper
 Dumps a textual representation of the AST to an output stream. More...
 
struct  ASTPrinter
 Pretty-prints the AST in SQL. More...
 
struct  ASTVisitor
 
struct  BinaryExpr
 A binary expression. More...
 
struct  CheckConditionConstraint
 
struct  Clause
 
struct  Command
 
struct  Constant
 A constant: a string literal or a numeric constant. More...
 
struct  ConstASTVisitor
 
struct  Constraint
 Abstract class to represent constraints attached to attributes of a table. More...
 
struct  CreateDatabaseStmt
 
struct  CreateIndexStmt
 
struct  CreateTableStmt
 
struct  DeleteStmt
 A SQL delete statement. More...
 
struct  Designator
 A designator. More...
 
struct  DropDatabaseStmt
 
struct  DropIndexStmt
 
struct  DropTableStmt
 
struct  DSVImportStmt
 An import statement for a delimiter separated values (DSV) file. More...
 
struct  EmptyStmt
 
struct  ErrorClause
 
struct  ErrorExpr
 The error expression. More...
 
struct  ErrorStmt
 The error statement. More...
 
struct  Expr
 An expression. More...
 
struct  FnApplicationExpr
 A function application. More...
 
struct  FromClause
 
struct  GroupByClause
 
struct  HavingClause
 
struct  ImportStmt
 A SQL import statement. More...
 
struct  InsertStmt
 A SQL insert statement. More...
 
struct  Instruction
 
struct  Lexer
 
struct  LimitClause
 
struct  NotNullConstraint
 
struct  OrderByClause
 
struct  Parser
 
struct  PostfixExpr
 A postfix expression. More...
 
struct  PrimaryKeyConstraint
 
struct  QueryExpr
 A query expression for nested queries. More...
 
struct  ReferenceConstraint
 
struct  SelectClause
 
struct  SelectStmt
 A SQL select statement. More...
 
struct  Sema
 
struct  Stmt
 A SQL statement. More...
 
struct  ThePostOrderExprVisitor
 
struct  ThePreOrderExprVisitor
 
struct  TheRecursiveExprVisitorBase
 A generic base class for implementing recursive ast::Expr visitors. More...
 
struct  Token
 
struct  UnaryExpr
 A unary expression: "+e", "-e", "~e", "NOT e". More...
 
struct  UniqueConstraint
 
struct  UpdateStmt
 A SQL update statement. More...
 
struct  UseDatabaseStmt
 
struct  WhereClause
 

Typedefs

using RecursiveExprVisitorBase = TheRecursiveExprVisitorBase< false >
 
using RecursiveConstExprVisitorBase = TheRecursiveExprVisitorBase< true >
 
using PreOrderExprVisitor = ThePreOrderExprVisitor< false >
 
using ConstPreOrderExprVisitor = ThePreOrderExprVisitor< true >
 
using PostOrderExprVisitor = ThePostOrderExprVisitor< false >
 
using ConstPostOrderExprVisitor = ThePostOrderExprVisitor< true >
 

Functions

 M_DECLARE_VISITOR (ASTExprVisitor, Expr, M_AST_EXPR_LIST) M_DECLARE_VISITOR(ConstASTExprVisitor
 
 M_MAKE_STL_VISITABLE (PreOrderExprVisitor, Expr, M_AST_EXPR_LIST) M_MAKE_STL_VISITABLE(ConstPreOrderExprVisitor
 
const M_AST_EXPR_LIST M_MAKE_STL_VISITABLE (PostOrderExprVisitor, Expr, M_AST_EXPR_LIST) M_MAKE_STL_VISITABLE(ConstPostOrderExprVisitor
 
 M_DECLARE_VISITOR (ASTClauseVisitor, Clause, M_AST_CLAUSE_LIST) M_DECLARE_VISITOR(ConstASTClauseVisitor
 
 M_DECLARE_VISITOR (ASTConstraintVisitor, Constraint, M_AST_CONSTRAINT_LIST) M_DECLARE_VISITOR(ConstASTConstraintVisitor
 
 M_DECLARE_VISITOR (ASTCommandVisitor, Command, M_AST_COMMAND_LIST) M_DECLARE_VISITOR(ConstASTCommandVisitor
 
 M_MAKE_STL_VISITABLE (ASTVisitor, Expr, M_AST_EXPR_LIST) M_MAKE_STL_VISITABLE(ASTVisitor
 
M_AST_CLAUSE_LIST M_MAKE_STL_VISITABLE (ASTVisitor, Constraint, M_AST_CONSTRAINT_LIST) M_MAKE_STL_VISITABLE(ASTVisitor
 
M_AST_CLAUSE_LIST M_AST_COMMAND_LIST M_MAKE_STL_VISITABLE (ConstASTVisitor, const Expr, M_AST_LIST) M_MAKE_STL_VISITABLE(ConstASTVisitor
 
M_AST_CLAUSE_LIST M_AST_COMMAND_LIST const M_AST_LIST M_MAKE_STL_VISITABLE (ConstASTVisitor, const Constraint, M_AST_LIST) M_MAKE_STL_VISITABLE(ConstASTVisitor
 

Variables

const Expr
 
const Clause
 
const Constraint
 
const Command
 

Typedef Documentation

◆ ConstPostOrderExprVisitor

Definition at line 486 of file AST.hpp.

◆ ConstPreOrderExprVisitor

Definition at line 484 of file AST.hpp.

◆ PostOrderExprVisitor

Definition at line 485 of file AST.hpp.

◆ PreOrderExprVisitor

Definition at line 483 of file AST.hpp.

◆ RecursiveConstExprVisitorBase

Definition at line 459 of file AST.hpp.

◆ RecursiveExprVisitorBase

Definition at line 458 of file AST.hpp.

Function Documentation

◆ M_DECLARE_VISITOR() [1/4]

m::ast::M_DECLARE_VISITOR ( ASTClauseVisitor  ,
Clause  ,
M_AST_CLAUSE_LIST   
)

◆ M_DECLARE_VISITOR() [2/4]

m::ast::M_DECLARE_VISITOR ( ASTCommandVisitor  ,
Command  ,
M_AST_COMMAND_LIST   
)

◆ M_DECLARE_VISITOR() [3/4]

m::ast::M_DECLARE_VISITOR ( ASTConstraintVisitor  ,
Constraint  ,
M_AST_CONSTRAINT_LIST   
)

◆ M_DECLARE_VISITOR() [4/4]

m::ast::M_DECLARE_VISITOR ( ASTExprVisitor  ,
Expr  ,
M_AST_EXPR_LIST   
)

◆ M_MAKE_STL_VISITABLE() [1/6]

M_AST_CLAUSE_LIST m::ast::M_MAKE_STL_VISITABLE ( ASTVisitor  ,
Constraint  ,
M_AST_CONSTRAINT_LIST   
)

◆ M_MAKE_STL_VISITABLE() [2/6]

m::ast::M_MAKE_STL_VISITABLE ( ASTVisitor  ,
Expr  ,
M_AST_EXPR_LIST   
)

◆ M_MAKE_STL_VISITABLE() [3/6]

M_AST_CLAUSE_LIST M_AST_COMMAND_LIST const M_AST_LIST m::ast::M_MAKE_STL_VISITABLE ( ConstASTVisitor  ,
const  Constraint,
M_AST_LIST   
)

◆ M_MAKE_STL_VISITABLE() [4/6]

M_AST_CLAUSE_LIST M_AST_COMMAND_LIST m::ast::M_MAKE_STL_VISITABLE ( ConstASTVisitor  ,
const  Expr,
M_AST_LIST   
)

◆ M_MAKE_STL_VISITABLE() [5/6]

const M_AST_EXPR_LIST m::ast::M_MAKE_STL_VISITABLE ( PostOrderExprVisitor  ,
Expr  ,
M_AST_EXPR_LIST   
)

◆ M_MAKE_STL_VISITABLE() [6/6]

m::ast::M_MAKE_STL_VISITABLE ( PreOrderExprVisitor  ,
Expr  ,
M_AST_EXPR_LIST   
)

Variable Documentation

◆ Clause

Definition at line 653 of file AST.hpp.

◆ Command

Definition at line 1060 of file AST.hpp.

◆ Constraint

Definition at line 743 of file AST.hpp.

◆ Expr

Definition at line 437 of file AST.hpp.