Imported Upstream version 1.8.8
[platform/upstream/doxygen.git] / vhdlparser / TokenManager.h
1 /* Generated By:JavaCC: Do not edit this line. TokenManager.h Version 6.0 */
2 /* JavaCCOptions:STATIC=false,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
3 #ifndef TOKENMANAGER_H
4 #define TOKENMANAGER_H
5 #include "JavaCC.h"
6 #include "Token.h"
7
8
9 namespace vhdl {
10 namespace parser {
11 /**
12  * An implementation for this interface is generated by
13  * JavaCCParser.  The user is free to use any implementation
14  * of their choice.
15  */
16
17 class TokenManager {
18 public:
19   /** This gets the next token from the input stream.
20    *  A token of kind 0 (<EOF>) should be returned on EOF.
21    */
22   public: virtual Token *getNextToken() = 0;
23   public: virtual ~TokenManager() { }
24   public: virtual void lexicalError() {
25     fprintf(stderr, "Lexical error encountered\n");
26   }
27
28 };
29
30 }
31 }
32 #endif
33 /* JavaCC - OriginalChecksum=d4725ee75465725057819b3b07fadaa7 (do not edit this line) */