diff options
Diffstat (limited to 'vhdlparser/Token.h')
-rw-r--r-- | vhdlparser/Token.h | 18 |
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) */ |