CIRCT 24.0.0git
Loading...
Searching...
No Matches
circt::firrtl::FIRLexerCursor Class Reference

This is the state captured for a lexer cursor. More...

#include <FIRLexer.h>

Collaboration diagram for circt::firrtl::FIRLexerCursor:

Public Member Functions

 FIRLexerCursor (const FIRLexer &lexer)
void restore (FIRLexer &lexer)

Private Attributes

const char * state
FIRToken curToken

Detailed Description

This is the state captured for a lexer cursor.

Definition at line 154 of file FIRLexer.h.

Constructor & Destructor Documentation

◆ FIRLexerCursor()

circt::firrtl::FIRLexerCursor::FIRLexerCursor ( const FIRLexer & lexer)
inline

Definition at line 156 of file FIRLexer.h.

References curToken, and state.

Member Function Documentation

◆ restore()

void circt::firrtl::FIRLexerCursor::restore ( FIRLexer & lexer)
inline

Member Data Documentation

◆ curToken

FIRToken circt::firrtl::FIRLexerCursor::curToken
private

Definition at line 166 of file FIRLexer.h.

Referenced by FIRLexerCursor(), and restore().

◆ state

const char* circt::firrtl::FIRLexerCursor::state
private

Definition at line 165 of file FIRLexer.h.

Referenced by FIRLexerCursor(), and restore().


The documentation for this class was generated from the following file: