mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Macros
ASTDot.cpp File Reference
#include "parse/ASTDot.hpp"
#include <iomanip>
#include <mutable/catalog/Schema.hpp>
#include <sstream>
Include dependency graph for ASTDot.cpp:

Go to the source code of this file.

Macros

#define q(X)   '"' << X << '"'
 
#define id(X)   q(std::hex << &X << std::dec)
 
#define DOT(NAME, LABEL, COLOR)
 

Macro Definition Documentation

◆ DOT

#define DOT (   NAME,
  LABEL,
  COLOR 
)
Value:
if (s.NAME) { \
out << '\n'; \
cluster(*s.NAME, #NAME, LABEL, COLOR); \
indent() << id(s) << EDGE << id(*s.NAME) << ';'; \
}
#define id(X)
Definition: ASTDot.cpp:8

◆ id

#define id (   X)    q(std::hex << &X << std::dec)

Definition at line 8 of file ASTDot.cpp.

◆ q

#define q (   X)    '"' << X << '"'

Definition at line 7 of file ASTDot.cpp.