1 
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3 
4 #ifndef __gnu_javax_swing_text_html_css_CSSScanner__
5 #define __gnu_javax_swing_text_html_css_CSSScanner__
6 
7 #pragma interface
8 
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
11 
12 extern "Java"
13 {
14   namespace gnu
15   {
16     namespace javax
17     {
18       namespace swing
19       {
20         namespace text
21         {
22           namespace html
23           {
24             namespace css
25             {
26                 class CSSScanner;
27             }
28           }
29         }
30       }
31     }
32   }
33 }
34 
35 class gnu::javax::swing::text::html::css::CSSScanner : public ::java::lang::Object
36 {
37 
38 public: // actually package-private
39   CSSScanner(::java::io::Reader *);
40   virtual jint nextToken();
41   virtual ::java::lang::String * currentTokenString();
42 private:
43   jint read();
44   void readIdent();
45   void readEscape();
46   void readName();
47   void readString();
48   void readWhitespace();
49   void readURI();
50   void readComment();
51   void readNum();
52 public:
53   static void main(JArray< ::java::lang::String * > *);
54 public: // actually package-private
55   static const jint IDENT = 1;
56   static const jint ATKEYWORD = 2;
57   static const jint STRING = 3;
58   static const jint INVALID = 4;
59   static const jint HASH = 5;
60   static const jint NUMBER = 6;
61   static const jint PERCENTAGE = 7;
62   static const jint DIMENSION = 8;
63   static const jint URI = 9;
64   static const jint UNICODE_RANGE = 10;
65   static const jint CDO = 11;
66   static const jint CDC = 12;
67   static const jint SEMICOLON = 13;
68   static const jint CURLY_LEFT = 14;
69   static const jint CURLY_RIGHT = 15;
70   static const jint PAREN_LEFT = 16;
71   static const jint PAREN_RIGHT = 17;
72   static const jint BRACE_LEFT = 16;
73   static const jint BRACE_RIGHT = 17;
74   static const jint S = 18;
75   static const jint COMMENT = 19;
76   static const jint FUNCTION = 20;
77   static const jint INCLUDES = 21;
78   static const jint DASHMATCH = 22;
79   static const jint DELIM = 23;
80   static const jint EOF = -1;
81 private:
82   ::java::io::Reader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) in;
83 public: // actually package-private
84   JArray< jchar > * parseBuffer;
85   jint tokenEnd;
86 private:
87   JArray< jint > * lookahead;
88 public:
89   static ::java::lang::Class class$;
90 };
91 
92 #endif // __gnu_javax_swing_text_html_css_CSSScanner__
93