CIRCT  20.0.0git
Public Member Functions | Private Attributes | List of all members
circt::firrtl::FIRLexerCursor Class Reference

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

#include <FIRLexer.h>

Collaboration diagram for circt::firrtl::FIRLexerCursor:
Collaboration graph
[legend]

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 153 of file FIRLexer.h.

Constructor & Destructor Documentation

◆ FIRLexerCursor()

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

Definition at line 155 of file FIRLexer.h.

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 165 of file FIRLexer.h.

Referenced by restore().

◆ state

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

Definition at line 164 of file FIRLexer.h.

Referenced by restore().


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