CIRCT  20.0.0git
Classes | Namespaces | Macros
FIRLexer.h File Reference
#include "circt/Support/LLVM.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "llvm/Support/SourceMgr.h"
#include "FIRTokenKinds.def"
Include dependency graph for FIRLexer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  circt::firrtl::FIRToken
 This represents a specific token for .fir files. More...
 
class  circt::firrtl::FIRLexer
 This implements a lexer for .fir files. More...
 
class  circt::firrtl::FIRLexerCursor
 This is the state captured for a lexer cursor. More...
 

Namespaces

 mlir
 
 circt
 The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
 
 circt::firrtl
 

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,
 
#define TOK_LPKEYWORD(SPELLING)   lp_##SPELLING,
 

Macro Definition Documentation

◆ TOK_IDENTIFIER

#define TOK_IDENTIFIER (   NAME)    NAME,

Definition at line 33 of file FIRLexer.h.

◆ TOK_KEYWORD

#define TOK_KEYWORD (   SPELLING)    kw_##SPELLING,

Definition at line 36 of file FIRLexer.h.

◆ TOK_LITERAL

#define TOK_LITERAL (   NAME)    NAME,

Definition at line 34 of file FIRLexer.h.

◆ TOK_LPKEYWORD

#define TOK_LPKEYWORD (   SPELLING)    lp_##SPELLING,

Definition at line 37 of file FIRLexer.h.

◆ TOK_MARKER

#define TOK_MARKER (   NAME)    NAME,

Definition at line 32 of file FIRLexer.h.

◆ TOK_PUNCTUATION

#define TOK_PUNCTUATION (   NAME,
  SPELLING 
)    NAME,

Definition at line 35 of file FIRLexer.h.