MLIR 22.0.0git
Token.h File Reference
#include "mlir/Support/LLVM.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/SMLoc.h"
#include <optional>
#include "TokenKinds.def"

Go to the source code of this file.

Classes

class  mlir::Token
 This represents a token in the MLIR syntax. More...

Namespaces

namespace  mlir
 Include the generated interface declarations.

Macros

#define TOK_MARKER(NAME)
#define TOK_IDENTIFIER(NAME)
#define TOK_LITERAL(NAME)
#define TOK_PUNCTUATION(NAME, SPELLING)
#define TOK_KEYWORD(SPELLING)

Macro Definition Documentation

◆ TOK_IDENTIFIER

#define TOK_IDENTIFIER ( NAME)
Value:
NAME,

Definition at line 24 of file Token.h.

◆ TOK_KEYWORD

#define TOK_KEYWORD ( SPELLING)
Value:
kw_##SPELLING,

Definition at line 27 of file Token.h.

◆ TOK_LITERAL

#define TOK_LITERAL ( NAME)
Value:
NAME,

Definition at line 25 of file Token.h.

◆ TOK_MARKER

#define TOK_MARKER ( NAME)
Value:
NAME,

Definition at line 23 of file Token.h.

◆ TOK_PUNCTUATION

#define TOK_PUNCTUATION ( NAME,
SPELLING )
Value:
NAME,

Definition at line 26 of file Token.h.