mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Macros | Functions
lex.cpp File Reference
#include "lex/Lexer.hpp"
#include <mutable/lex/TokenType.hpp>
#include <mutable/util/ArgParser.hpp>
#include <mutable/util/Diagnostic.hpp>
#include <mutable/util/fn.hpp>
#include <cerrno>
#include <cstdlib>
#include <cstring>
#include <fstream>
#include <iostream>
Include dependency graph for lex.cpp:

Go to the source code of this file.

Macros

#define ADD(TYPE, VAR, INIT, SHORT, LONG, DESCR, CALLBACK)
 

Functions

void usage (std::ostream &out, const char *name)
 
int main (int argc, const char **argv)
 

Macro Definition Documentation

◆ ADD

#define ADD (   TYPE,
  VAR,
  INIT,
  SHORT,
  LONG,
  DESCR,
  CALLBACK 
)
Value:
TYPE VAR = INIT;\
{\
AP.add<TYPE>(SHORT, LONG, DESCR, CALLBACK);\
}
#define CALLBACK(NAME, FUNC)

Function Documentation

◆ main()

int main ( int  argc,
const char **  argv 
)

◆ usage()

void usage ( std::ostream &  out,
const char *  name 
)

Definition at line 16 of file lex.cpp.

Referenced by main().