01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.jdt.internal.ui.text;
11:
12: /**
13: * Symbols for the heuristic java scanner.
14: *
15: * @since 3.0
16: */
17: public interface Symbols {
18: int TokenEOF = -1;
19: int TokenLBRACE = 1;
20: int TokenRBRACE = 2;
21: int TokenLBRACKET = 3;
22: int TokenRBRACKET = 4;
23: int TokenLPAREN = 5;
24: int TokenRPAREN = 6;
25: int TokenSEMICOLON = 7;
26: int TokenOTHER = 8;
27: int TokenCOLON = 9;
28: int TokenQUESTIONMARK = 10;
29: int TokenCOMMA = 11;
30: int TokenEQUAL = 12;
31: int TokenLESSTHAN = 13;
32: int TokenGREATERTHAN = 14;
33: int TokenIF = 109;
34: int TokenDO = 1010;
35: int TokenFOR = 1011;
36: int TokenTRY = 1012;
37: int TokenCASE = 1013;
38: int TokenELSE = 1014;
39: int TokenBREAK = 1015;
40: int TokenCATCH = 1016;
41: int TokenWHILE = 1017;
42: int TokenRETURN = 1018;
43: int TokenSTATIC = 1019;
44: int TokenSWITCH = 1020;
45: int TokenFINALLY = 1021;
46: int TokenSYNCHRONIZED = 1022;
47: int TokenGOTO = 1023;
48: int TokenDEFAULT = 1024;
49: int TokenNEW = 1025;
50: int TokenCLASS = 1026;
51: int TokenINTERFACE = 1027;
52: int TokenENUM = 1028;
53: int TokenIDENT = 2000;
54: }
|