OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [javax/] [swing/] [text/] [html/] [CSSParser.h] - Blame information for rev 759

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 759 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __javax_swing_text_html_CSSParser__
5
#define __javax_swing_text_html_CSSParser__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace javax
15
  {
16
    namespace swing
17
    {
18
      namespace text
19
      {
20
        namespace html
21
        {
22
            class CSSParser;
23
            class CSSParser$CSSParserCallback;
24
        }
25
      }
26
    }
27
  }
28
}
29
 
30
class javax::swing::text::html::CSSParser : public ::java::lang::Object
31
{
32
 
33
public: // actually package-private
34
  CSSParser();
35
private:
36
  void append(jchar);
37
  jint nextToken(jchar);
38
  jint readChar();
39
public: // actually package-private
40
  virtual void parse(::java::io::Reader *, ::javax::swing::text::html::CSSParser$CSSParserCallback *, jboolean);
41
private:
42
  jint readWS();
43
  jboolean getNextStatement();
44
  void parseAtRule();
45
  void parseRuleSet();
46
  jboolean parseSelectors();
47
  void parseDeclarationBlock();
48
  jint parseDeclaration();
49
  jint parseIdentifiers(jchar, jboolean);
50
  void parseTillClosed(jint);
51
  jboolean getIdentifier(jchar);
52
  void readTill(jchar);
53
  void readComment();
54
  void startBlock(jint);
55
  void endBlock(jint);
56
  jboolean inBlock();
57
  void pushChar(jint);
58
  static const jint IDENTIFIER = 1;
59
  static const jint BRACKET_OPEN = 2;
60
  static const jint BRACKET_CLOSE = 3;
61
  static const jint BRACE_OPEN = 4;
62
  static const jint BRACE_CLOSE = 5;
63
  static const jint PAREN_OPEN = 6;
64
  static const jint PAREN_CLOSE = 7;
65
  static const jint END = -1;
66
  static JArray< jchar > * charMapping;
67
  jboolean __attribute__((aligned(__alignof__( ::java::lang::Object)))) didPushChar;
68
  jint pushedChar;
69
  JArray< jint > * unitStack;
70
  jint stackCount;
71
  ::java::io::Reader * reader;
72
  jboolean encounteredRuleSet;
73
  ::javax::swing::text::html::CSSParser$CSSParserCallback * callback;
74
  JArray< jchar > * tokenBuffer;
75
  jint tokenBufferLength;
76
  jboolean readWS__;
77
public:
78
  static ::java::lang::Class class$;
79
};
80
 
81
#endif // __javax_swing_text_html_CSSParser__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.