#include "Token.h"
#include "mlir/Support/LLVM.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Support/ErrorHandling.h"
#include <cassert>
#include <cstdint>
#include <optional>
#include <string>
#include "TokenKinds.def"
Go to the source code of this file.
◆ TOK_KEYWORD [1/2]
#define TOK_KEYWORD |
( |
|
SPELLING | ) |
|
Value: case kw_##SPELLING: \
return #SPELLING;
◆ TOK_KEYWORD [2/2]
#define TOK_KEYWORD |
( |
|
SPELLING | ) |
|
Value: case kw_##SPELLING: \
return true;
◆ TOK_PUNCTUATION
#define TOK_PUNCTUATION |
( |
|
NAME, |
|
|
|
SPELLING |
|
) |
| |
Value: case NAME: \
return SPELLING;