1
2 /***************************************************************************************
3 * Copyright (c) Jonas Bonér, Alexandre Vasseur. All rights reserved. *
4 * http://aspectwerkz.codehaus.org *
5 * ---------------------------------------------------------------------------------- *
6 * The software in this package is published under the terms of the LGPL license *
7 * a copy of which has been included with this distribution in the license.txt file. *
8 **************************************************************************************/
9 package org.codehaus.aspectwerkz.annotation.expression.ast;
10
11 public interface AnnotationParserConstants {
12
13 int EOF = 0;
14 int DOT = 3;
15 int INTEGER = 4;
16 int HEXNUMBER = 5;
17 int OCTNUMBER = 6;
18 int FLOAT = 7;
19 int EXPONENT = 8;
20 int DIGIT = 9;
21 int BOOLEAN = 10;
22 int STRING = 11;
23 int CHAR = 12;
24 int NEWLINE = 13;
25 int LEFT_PARENTHEZIS = 14;
26 int RIGHT_PARENTHEZIS = 15;
27 int LEFT_BRACKET = 16;
28 int RIGHT_BRACKET = 17;
29 int COMMA = 18;
30 int EQUALS = 19;
31 int AT = 20;
32 int ANNOTATION = 21;
33 int JAVA_TYPE = 22;
34 int JAVA_NAME = 23;
35 int JAVA_LETTER = 24;
36 int CHAR_LETTER = 25;
37
38 int DEFAULT = 0;
39
40 String[] tokenImage = {
41 "<EOF>",
42 "\" \"",
43 "\"//t\"",
44 "\".\"",
45 "<INTEGER>",
46 "<HEXNUMBER>",
47 "<OCTNUMBER>",
48 "<FLOAT>",
49 "<EXPONENT>",
50 "<DIGIT>",
51 "<BOOLEAN>",
52 "<STRING>",
53 "<CHAR>",
54 "\"//n\"",
55 "\"(\"",
56 "\")\"",
57 "\"{\"",
58 "\"}\"",
59 "\",\"",
60 "\"=\"",
61 "\"@\"",
62 "<ANNOTATION>",
63 "<JAVA_TYPE>",
64 "<JAVA_NAME>",
65 "<JAVA_LETTER>",
66 "<CHAR_LETTER>",
67 "\"//r//n\"",
68 };
69
70 }