summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/text/html/CSSParser.h
blob: 83cda4f2dcbac230777c8bfee87ccc936b18625a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_text_html_CSSParser__
#define __javax_swing_text_html_CSSParser__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>

extern "Java"
{
  namespace javax
  {
    namespace swing
    {
      namespace text
      {
        namespace html
        {
            class CSSParser;
            class CSSParser$CSSParserCallback;
        }
      }
    }
  }
}

class javax::swing::text::html::CSSParser : public ::java::lang::Object
{

public: // actually package-private
  CSSParser();
private:
  void append(jchar);
  jint nextToken(jchar);
  jint readChar();
public: // actually package-private
  virtual void parse(::java::io::Reader *, ::javax::swing::text::html::CSSParser$CSSParserCallback *, jboolean);
private:
  jint readWS();
  jboolean getNextStatement();
  void parseAtRule();
  void parseRuleSet();
  jboolean parseSelectors();
  void parseDeclarationBlock();
  jint parseDeclaration();
  jint parseIdentifiers(jchar, jboolean);
  void parseTillClosed(jint);
  jboolean getIdentifier(jchar);
  void readTill(jchar);
  void readComment();
  void startBlock(jint);
  void endBlock(jint);
  jboolean inBlock();
  void pushChar(jint);
  static const jint IDENTIFIER = 1;
  static const jint BRACKET_OPEN = 2;
  static const jint BRACKET_CLOSE = 3;
  static const jint BRACE_OPEN = 4;
  static const jint BRACE_CLOSE = 5;
  static const jint PAREN_OPEN = 6;
  static const jint PAREN_CLOSE = 7;
  static const jint END = -1;
  static JArray< jchar > * charMapping;
  jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) didPushChar;
  jint pushedChar;
  JArray< jint > * unitStack;
  jint stackCount;
  ::java::io::Reader * reader;
  jboolean encounteredRuleSet;
  ::javax::swing::text::html::CSSParser$CSSParserCallback * callback;
  JArray< jchar > * tokenBuffer;
  jint tokenBufferLength;
  jboolean readWS__;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_text_html_CSSParser__