MLIR  20.0.0git
Classes | Namespaces | Macros
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

 mlir
 Include the generated interface declarations.
 

Macros

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

Macro Definition Documentation

◆ TOK_IDENTIFIER

#define TOK_IDENTIFIER (   NAME)    NAME,

Definition at line 24 of file Token.h.

◆ TOK_KEYWORD

#define TOK_KEYWORD (   SPELLING)    kw_##SPELLING,

Definition at line 27 of file Token.h.

◆ TOK_LITERAL

#define TOK_LITERAL (   NAME)    NAME,

Definition at line 25 of file Token.h.

◆ TOK_MARKER

#define TOK_MARKER (   NAME)    NAME,

Definition at line 23 of file Token.h.

◆ TOK_PUNCTUATION

#define TOK_PUNCTUATION (   NAME,
  SPELLING 
)    NAME,

Definition at line 26 of file Token.h.