#include "Lexer.h"
#include "Token.h"
#include "mlir/AsmParser/CodeComplete.h"
#include "mlir/IR/Diagnostics.h"
#include "mlir/IR/Location.h"
#include "mlir/IR/MLIRContext.h"
#include "mlir/Support/LLVM.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringSwitch.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/SourceMgr.h"
#include <cassert>
#include <cctype>
#include "TokenKinds.def"
Go to the source code of this file.
◆ TOK_IDENTIFIER
| #define TOK_IDENTIFIER |
( |
| NAME | ) |
|
◆ TOK_KEYWORD
| #define TOK_KEYWORD |
( |
| SPELLING | ) |
|
Value:.Case(#SPELLING, Token::kw_##SPELLING)
◆ TOK_LITERAL
| #define TOK_LITERAL |
( |
| NAME | ) |
|
◆ TOK_MARKER
◆ TOK_PUNCTUATION
| #define TOK_PUNCTUATION |
( |
| NAME, |
|
|
| SPELLING ) |
◆ isPunct()