Thorin 1.9.0
The Higher ORder INtermediate representation
Loading...
Searching...
No Matches
lexer.cpp File Reference
#include "thorin/ast/lexer.h"
#include "thorin/ast/ast.h"
Include dependency graph for lexer.cpp:

Go to the source code of this file.

Namespaces

namespace  thorin
 
namespace  thorin::ast
 

Macros

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

Macro Definition Documentation

◆ CODE [1/2]

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

◆ CODE [2/2]

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