diff options
author | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
---|---|---|
committer | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
commit | 554fd8c5195424bdbcabf5de30fdc183aba391bd (patch) | |
tree | 976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/gnu/javax/swing/text/html/css/CSSScanner.h | |
download | cbb-gcc-4.6.4-upstream.tar.bz2 cbb-gcc-4.6.4-upstream.tar.xz |
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig;
imported gcc-4.6.4 source tree from verified upstream tarball.
downloading a git-generated archive based on the 'upstream' tag
should provide you with a source tree that is binary identical
to the one extracted from the above tarball.
if you have obtained the source via the command 'git clone',
however, do note that line-endings of files in your working
directory might differ from line-endings of the respective
files in the upstream repository.
Diffstat (limited to 'libjava/gnu/javax/swing/text/html/css/CSSScanner.h')
-rw-r--r-- | libjava/gnu/javax/swing/text/html/css/CSSScanner.h | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/libjava/gnu/javax/swing/text/html/css/CSSScanner.h b/libjava/gnu/javax/swing/text/html/css/CSSScanner.h new file mode 100644 index 000000000..0e6d7c5f0 --- /dev/null +++ b/libjava/gnu/javax/swing/text/html/css/CSSScanner.h @@ -0,0 +1,92 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __gnu_javax_swing_text_html_css_CSSScanner__ +#define __gnu_javax_swing_text_html_css_CSSScanner__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace gnu + { + namespace javax + { + namespace swing + { + namespace text + { + namespace html + { + namespace css + { + class CSSScanner; + } + } + } + } + } + } +} + +class gnu::javax::swing::text::html::css::CSSScanner : public ::java::lang::Object +{ + +public: // actually package-private + CSSScanner(::java::io::Reader *); + virtual jint nextToken(); + virtual ::java::lang::String * currentTokenString(); +private: + jint read(); + void readIdent(); + void readEscape(); + void readName(); + void readString(); + void readWhitespace(); + void readURI(); + void readComment(); + void readNum(); +public: + static void main(JArray< ::java::lang::String * > *); +public: // actually package-private + static const jint IDENT = 1; + static const jint ATKEYWORD = 2; + static const jint STRING = 3; + static const jint INVALID = 4; + static const jint HASH = 5; + static const jint NUMBER = 6; + static const jint PERCENTAGE = 7; + static const jint DIMENSION = 8; + static const jint URI = 9; + static const jint UNICODE_RANGE = 10; + static const jint CDO = 11; + static const jint CDC = 12; + static const jint SEMICOLON = 13; + static const jint CURLY_LEFT = 14; + static const jint CURLY_RIGHT = 15; + static const jint PAREN_LEFT = 16; + static const jint PAREN_RIGHT = 17; + static const jint BRACE_LEFT = 16; + static const jint BRACE_RIGHT = 17; + static const jint S = 18; + static const jint COMMENT = 19; + static const jint FUNCTION = 20; + static const jint INCLUDES = 21; + static const jint DASHMATCH = 22; + static const jint DELIM = 23; + static const jint EOF = -1; +private: + ::java::io::Reader * __attribute__((aligned(__alignof__( ::java::lang::Object)))) in; +public: // actually package-private + JArray< jchar > * parseBuffer; + jint tokenEnd; +private: + JArray< jint > * lookahead; +public: + static ::java::lang::Class class$; +}; + +#endif // __gnu_javax_swing_text_html_css_CSSScanner__ |