Doxygen
Loading...
Searching...
No Matches
vhdl::parser::TokenManager Class Referenceabstract

An implementation for this interface is generated by JavaCCParser. More...

#include <vhdlparser/TokenManager.h>

+ Inheritance diagram for vhdl::parser::TokenManager:

Public Member Functions

virtual ~TokenManager ()
 
virtual TokengetNextToken ()=0
 This gets the next token from the input stream.
 
virtual void setParser (void *parser)
 
virtual void lexicalError ()
 

Detailed Description

An implementation for this interface is generated by JavaCCParser.

The user is free to use any implementation of their choice.

Definition at line 18 of file TokenManager.h.

Constructor & Destructor Documentation

◆ ~TokenManager()

virtual vhdl::parser::TokenManager::~TokenManager ( )
inlinevirtual

Definition at line 20 of file TokenManager.h.

20{ }

Member Function Documentation

◆ getNextToken()

virtual Token * vhdl::parser::TokenManager::getNextToken ( )
pure virtual

This gets the next token from the input stream.

A token of kind 0 (<EOF>) should be returned on EOF.

Implemented in vhdl::parser::VhdlParserTokenManager.

◆ lexicalError()

virtual void vhdl::parser::TokenManager::lexicalError ( )
inlinevirtual

Definition at line 26 of file TokenManager.h.

26 {
27 std::cerr << "Lexical error encountered." << std::endl;
28 }

◆ setParser()

virtual void vhdl::parser::TokenManager::setParser ( void * parser)
inlinevirtual

Definition at line 25 of file TokenManager.h.

25{};

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