Mercurial > projects > dwt-addons
diff dwtx/jface/text/rules/Token.d @ 147:000f9136b8f7
final
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 22:35:05 +0200 |
parents | 7d818bd32d63 |
children | eb21d3dfc767 |
line wrap: on
line diff
--- a/dwtx/jface/text/rules/Token.d Sun Aug 24 22:34:04 2008 +0200 +++ b/dwtx/jface/text/rules/Token.d Sun Aug 24 22:35:05 2008 +0200 @@ -50,33 +50,33 @@ public class Token : IToken { /** Internal token type: Undefined */ - private static final int T_UNDEFINED= 0; + private static const int T_UNDEFINED= 0; /** Internal token type: EOF */ - private static final int T_EOF= 1; + private static const int T_EOF= 1; /** Internal token type: Whitespace */ - private static final int T_WHITESPACE= 2; + private static const int T_WHITESPACE= 2; /** Internal token type: Others */ - private static final int T_OTHER= 3; + private static const int T_OTHER= 3; /** * Standard token: Undefined. */ - public static final IToken UNDEFINED= new Token(T_UNDEFINED); + public static const IToken UNDEFINED= new Token(T_UNDEFINED); /** * Standard token: End Of File. */ - public static final IToken EOF= new Token(T_EOF); + public static const IToken EOF= new Token(T_EOF); /** * Standard token: Whitespace. */ - public static final IToken WHITESPACE= new Token(T_WHITESPACE); + public static const IToken WHITESPACE= new Token(T_WHITESPACE); /** * Standard token: Neither {@link #UNDEFINED}, {@link #WHITESPACE}, nor {@link #EOF}. * @deprecated will be removed */ - public static final IToken OTHER= new Token(T_OTHER); + public static const IToken OTHER= new Token(T_OTHER); /** The type of this token */ private int fType;