Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
doxygen-1.8.11
vhdlparser
TokenManager.h
Go to the documentation of this file.
1
/* Generated By:JavaCC: Do not edit this line. TokenManager.h Version 6.2 */
2
/* JavaCCOptions:STATIC=false,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
3
#ifndef TOKENMANAGER_H
4
#define TOKENMANAGER_H
5
#include <iostream>
6
#include "
JavaCC.h
"
7
#include "
Token.h
"
8
9
using namespace
std
;
10
11
namespace
vhdl
{
12
namespace
parser
{
13
/**
14
* An implementation for this interface is generated by
15
* JavaCCParser. The user is free to use any implementation
16
* of their choice.
17
*/
18
19
class
TokenManager
{
20
public
:
21
/** This gets the next token from the input stream.
22
* A token of kind 0 (<EOF>) should be returned on EOF.
23
*/
24
virtual
~TokenManager
() { }
25
virtual
Token
*getNextToken() = 0;
26
virtual
void
lexicalError
() {
27
cerr <<
"Lexical error encountered."
<<
endl
;
28
}
29
30
};
31
32
}
33
}
34
#endif
35
/* JavaCC - OriginalChecksum=918e2eba53e028d6c4142283ce3f498f (do not edit this line) */
vhdl::parser::TokenManager
Definition:
TokenManager.h:19
std
STL namespace.
JavaCC.h
vhdl
Definition:
CharStream.cc:34
ValidateOpDetReco.parser
parser
Definition:
ValidateOpDetReco.py:22
vhdl::parser::TokenManager::~TokenManager
virtual ~TokenManager()
Definition:
TokenManager.h:24
vhdl::parser::TokenManager::lexicalError
virtual void lexicalError()
Definition:
TokenManager.h:26
vhdl::parser::Token
Definition:
Token.h:15
endl
QTextStream & endl(QTextStream &s)
Definition:
qtextstream.cpp:2030
Token.h
Generated by
1.8.11