summaryrefslogtreecommitdiffstats
path: root/vhdlparser/Token.h
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-11-03 11:32:59 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2019-11-03 11:32:59 (GMT)
commit1b068420dfe71dfed32e5f629563e7e648d11792 (patch)
treed04aa83e9b5fc507c4b87b9158fd71f3b24d0784 /vhdlparser/Token.h
parent802083c01ce91fcc4ece226f3b6e8ccbdcacf882 (diff)
downloadDoxygen-1b068420dfe71dfed32e5f629563e7e648d11792.zip
Doxygen-1b068420dfe71dfed32e5f629563e7e648d11792.tar.gz
Doxygen-1b068420dfe71dfed32e5f629563e7e648d11792.tar.bz2
Update generated VHDL code to JavaCC 7.0.5
Diffstat (limited to 'vhdlparser/Token.h')
-rw-r--r--vhdlparser/Token.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/vhdlparser/Token.h b/vhdlparser/Token.h
index 040899e..3575005 100644
--- a/vhdlparser/Token.h
+++ b/vhdlparser/Token.h
@@ -1,7 +1,8 @@
-/* Generated By:JavaCC: Do not edit this line. Token.h Version 6.2 */
+/* Generated By:JavaCC: Do not edit this line. Token.h Version 7.0 */
/* JavaCCOptions:STATIC=false,SUPPORT_CLASS_VISIBILITY_PUBLIC=true,TOKEN_INCLUDES=,TOKEN_EXTENDS= */
-#ifndef TOKEN_H
-#define TOKEN_H
+#ifndef JAVACC_TOKEN_H
+#define JAVACC_TOKEN_H
+
#include "JavaCC.h"
@@ -35,7 +36,7 @@ class Token
/**
* The string image of the token.
*/
- JAVACC_STRING_TYPE image;
+ JJString image;
/**
* A reference to the next regular (non-special) token from the input
@@ -84,14 +85,14 @@ class Token
/**
* Constructs a new token for the specified Image and Kind.
*/
- Token(int kind, JAVACC_STRING_TYPE image);
+ Token(int kind, const JJString& image);
virtual ~Token();
/**
* Returns the image.
*/
- JAVACC_STRING_TYPE toString();
+ const JJString& toString();
/**
@@ -106,12 +107,13 @@ class Token
* to the following switch statement. Then you can cast matchedToken
* variable to the appropriate type and use sit in your lexical actions.
*/
- static Token *newToken(int ofKind, JAVACC_STRING_TYPE image);
+ static Token *newToken(int ofKind, const JJString& image);
static Token *newToken(int ofKind);
};
}
}
+
#endif
-/* JavaCC - OriginalChecksum=4748c3d6443aa3445d3c95ab54f14c2a (do not edit this line) */
+/* JavaCC - OriginalChecksum=8c237423e3d9695c3bfcf539bcf92375 (do not edit this line) */