MimIR 0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
lexer.cpp File Reference
#include "mim/ast/lexer.h"
#include "mim/ast/ast.h"
Include dependency graph for lexer.cpp:

Go to the source code of this file.

Namespaces

namespace  mim
 
namespace  mim::ast
 

Macros

#define CODE(t, str)
 
#define CODE(str, t)
 

Macro Definition Documentation

◆ CODE [1/2]

#define CODE ( str,
t )
Value:
if (Tag::t != Tag::Nil) keywords_[ast.sym(str)] = Tag::t;

◆ CODE [2/2]

#define CODE ( t,
str )
Value:
keywords_[ast.sym(str)] = Tag::t;