Blame vhdlparser/TokenManager.h
|
Packit Service |
50c9f2 |
/* Generated By:JavaCC: Do not edit this line. TokenManager.h Version 6.0 */
|
|
Packit Service |
50c9f2 |
/* JavaCCOptions:STATIC=false,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
|
|
Packit Service |
50c9f2 |
#ifndef TOKENMANAGER_H
|
|
Packit Service |
50c9f2 |
#define TOKENMANAGER_H
|
|
Packit Service |
50c9f2 |
#include "JavaCC.h"
|
|
Packit Service |
50c9f2 |
#include "Token.h"
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
namespace vhdl {
|
|
Packit Service |
50c9f2 |
namespace parser {
|
|
Packit Service |
50c9f2 |
/**
|
|
Packit Service |
50c9f2 |
* An implementation for this interface is generated by
|
|
Packit Service |
50c9f2 |
* JavaCCParser. The user is free to use any implementation
|
|
Packit Service |
50c9f2 |
* of their choice.
|
|
Packit Service |
50c9f2 |
*/
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
class TokenManager {
|
|
Packit Service |
50c9f2 |
public:
|
|
Packit Service |
50c9f2 |
/** This gets the next token from the input stream.
|
|
Packit Service |
50c9f2 |
* A token of kind 0 (<EOF>) should be returned on EOF.
|
|
Packit Service |
50c9f2 |
*/
|
|
Packit Service |
50c9f2 |
public: virtual Token *getNextToken() = 0;
|
|
Packit Service |
50c9f2 |
public: virtual ~TokenManager() { }
|
|
Packit Service |
50c9f2 |
public: virtual void lexicalError() {
|
|
Packit Service |
50c9f2 |
fprintf(stderr, "Lexical error encountered.\n");
|
|
Packit Service |
50c9f2 |
}
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
};
|
|
Packit Service |
50c9f2 |
|
|
Packit Service |
50c9f2 |
}
|
|
Packit Service |
50c9f2 |
}
|
|
Packit Service |
50c9f2 |
#endif
|
|
Packit Service |
50c9f2 |
/* JavaCC - OriginalChecksum=9e6cfa00cefe7e342b80eb59f1a114ff (do not edit this line) */
|