CIRCT 24.0.0git
Loading...
Searching...
No Matches
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

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

Macros

#define TOK_MARKER(NAME)
#define TOK_IDENTIFIER(NAME)
#define TOK_LITERAL(NAME)
#define TOK_PUNCTUATION(NAME, SPELLING)
#define TOK_KEYWORD(SPELLING)
#define TOK_LPKEYWORD(SPELLING)
#define TOK_LESSKEYWORD(SPELLING)
#define TOK_LPKEYWORD_PRIM(SPELLING, CLASS, NUMOPERANDS, NUMATTRIBUTES, VERSION, FEATURE)

Macro Definition Documentation

◆ TOK_IDENTIFIER

#define TOK_IDENTIFIER ( NAME)
Value:
NAME,

Definition at line 33 of file FIRLexer.h.

◆ TOK_KEYWORD

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

Definition at line 36 of file FIRLexer.h.

◆ TOK_LESSKEYWORD

#define TOK_LESSKEYWORD ( SPELLING)
Value:
langle_##SPELLING,

Definition at line 38 of file FIRLexer.h.

◆ TOK_LITERAL

#define TOK_LITERAL ( NAME)
Value:
NAME,

Definition at line 34 of file FIRLexer.h.

◆ TOK_LPKEYWORD

#define TOK_LPKEYWORD ( SPELLING)
Value:
lp_##SPELLING,

Definition at line 37 of file FIRLexer.h.

◆ TOK_LPKEYWORD_PRIM

#define TOK_LPKEYWORD_PRIM ( SPELLING,
CLASS,
NUMOPERANDS,
NUMATTRIBUTES,
VERSION,
FEATURE )
Value:
TOK_LPKEYWORD(SPELLING)

Definition at line 79 of file FIRLexer.h.

◆ TOK_MARKER

#define TOK_MARKER ( NAME)
Value:
NAME,

Definition at line 32 of file FIRLexer.h.

◆ TOK_PUNCTUATION

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

Definition at line 35 of file FIRLexer.h.