KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > modules > css > text > syntax > javacc > CSSSyntaxConstants


1 /* Generated By:JavaCC: Do not edit this line. CSSSyntaxConstants.java */
2 /*
3  * The contents of this file are subject to the terms of the Common Development
4  * and Distribution License (the License). You may not use this file except in
5  * compliance with the License.
6  *
7  * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
8  * or http://www.netbeans.org/cddl.txt.
9  *
10  * When distributing Covered Code, include this CDDL Header Notice in each file
11  * and include the License file at http://www.netbeans.org/cddl.txt.
12  * If applicable, add the following below the CDDL Header, with the fields
13  * enclosed by brackets [] replaced by your own identifying information:
14  * "Portions Copyrighted [year] [name of copyright owner]"
15  *
16  * The Original Software is NetBeans. The Initial Developer of the Original
17  * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
18  * Microsystems, Inc. All Rights Reserved.
19  */

20
21 package org.netbeans.modules.css.text.syntax.javacc;
22
23 public interface CSSSyntaxConstants {
24
25   int EOF = 0;
26   int CRLF = 1;
27   int LCB = 2;
28   int ERR_IN_DEFAULT = 3;
29   int COMMENT_START = 4;
30   int CCOMMENT_START = 5;
31   int SELECTOR = 6;
32   int MEDIA_DECL = 7;
33   int ATKW = 8;
34   int RULESET_START = 9;
35   int TEXT_IN_MEDIA_DECL = 10;
36   int PROP = 11;
37   int TEXT_IN_RULESET = 12;
38   int COMMENT_IN_RULESET = 13;
39   int CCOMMENT_IN_RULESET = 14;
40   int RCB_IN_BLOCK = 15;
41   int TEXT_IN_COMMENT = 16;
42   int ERR_IN_COMMENT = 17;
43   int COMMENT_END = 18;
44   int TEXT_IN_CCOMMENT = 19;
45   int CCOMMENT_END = 20;
46
47   int IN_CCOMMENT = 0;
48   int IN_COMMENT = 1;
49   int IN_RULESET = 2;
50   int IN_MEDIA_DECL = 3;
51   int DEFAULT = 4;
52
53   String JavaDoc[] tokenImage = {
54     "<EOF>",
55     "\"\\n\"",
56     "\"{\"",
57     "\"}\"",
58     "\"<!--\"",
59     "\"/*\"",
60     "<SELECTOR>",
61     "<MEDIA_DECL>",
62     "<ATKW>",
63     "\"{\"",
64     "<TEXT_IN_MEDIA_DECL>",
65     "<PROP>",
66     "<TEXT_IN_RULESET>",
67     "\"<!--\"",
68     "\"/*\"",
69     "<RCB_IN_BLOCK>",
70     "<TEXT_IN_COMMENT>",
71     "<ERR_IN_COMMENT>",
72     "\"-->\"",
73     "<TEXT_IN_CCOMMENT>",
74     "\"*/\"",
75   };
76
77 }
78
Popular Tags