| 1 |
756 |
jeremybenn |
|
| 2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
| 3 |
|
|
|
| 4 |
|
|
#ifndef __gnu_xml_xpath_XPathParser__
|
| 5 |
|
|
#define __gnu_xml_xpath_XPathParser__
|
| 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 xml
|
| 17 |
|
|
{
|
| 18 |
|
|
namespace xpath
|
| 19 |
|
|
{
|
| 20 |
|
|
class Expr;
|
| 21 |
|
|
class XPathParser;
|
| 22 |
|
|
class XPathParser$yyInput;
|
| 23 |
|
|
}
|
| 24 |
|
|
}
|
| 25 |
|
|
}
|
| 26 |
|
|
namespace javax
|
| 27 |
|
|
{
|
| 28 |
|
|
namespace xml
|
| 29 |
|
|
{
|
| 30 |
|
|
namespace namespace$
|
| 31 |
|
|
{
|
| 32 |
|
|
class NamespaceContext;
|
| 33 |
|
|
class QName;
|
| 34 |
|
|
}
|
| 35 |
|
|
namespace xpath
|
| 36 |
|
|
{
|
| 37 |
|
|
class XPathFunctionResolver;
|
| 38 |
|
|
class XPathVariableResolver;
|
| 39 |
|
|
}
|
| 40 |
|
|
}
|
| 41 |
|
|
}
|
| 42 |
|
|
}
|
| 43 |
|
|
|
| 44 |
|
|
class gnu::xml::xpath::XPathParser : public ::java::lang::Object
|
| 45 |
|
|
{
|
| 46 |
|
|
|
| 47 |
|
|
public:
|
| 48 |
|
|
XPathParser();
|
| 49 |
|
|
public: // actually package-private
|
| 50 |
|
|
virtual ::javax::xml::namespace$::QName * getQName(::java::lang::String *);
|
| 51 |
|
|
virtual ::gnu::xml::xpath::Expr * lookupFunction(::java::lang::String *, ::java::util::List *);
|
| 52 |
|
|
public:
|
| 53 |
|
|
virtual void yyerror(::java::lang::String *);
|
| 54 |
|
|
virtual void yyerror(::java::lang::String *, JArray< ::java::lang::String * > *);
|
| 55 |
|
|
public: // actually protected
|
| 56 |
|
|
virtual JArray< ::java::lang::String * > * yyExpecting(jint);
|
| 57 |
|
|
public:
|
| 58 |
|
|
virtual ::java::lang::Object * yyparse(::gnu::xml::xpath::XPathParser$yyInput *, ::java::lang::Object *);
|
| 59 |
|
|
public: // actually protected
|
| 60 |
|
|
virtual ::java::lang::Object * yyDefault(::java::lang::Object *);
|
| 61 |
|
|
public:
|
| 62 |
|
|
virtual ::java::lang::Object * yyparse(::gnu::xml::xpath::XPathParser$yyInput *);
|
| 63 |
|
|
public: // actually package-private
|
| 64 |
|
|
::javax::xml::namespace$::NamespaceContext * __attribute__((aligned(__alignof__( ::java::lang::Object)))) namespaceContext;
|
| 65 |
|
|
::javax::xml::xpath::XPathVariableResolver * variableResolver;
|
| 66 |
|
|
::javax::xml::xpath::XPathFunctionResolver * functionResolver;
|
| 67 |
|
|
public:
|
| 68 |
|
|
static const jint LITERAL = 257;
|
| 69 |
|
|
static const jint DIGITS = 258;
|
| 70 |
|
|
static const jint NAME = 259;
|
| 71 |
|
|
static const jint LP = 260;
|
| 72 |
|
|
static const jint RP = 261;
|
| 73 |
|
|
static const jint LB = 262;
|
| 74 |
|
|
static const jint RB = 263;
|
| 75 |
|
|
static const jint COMMA = 264;
|
| 76 |
|
|
static const jint PIPE = 265;
|
| 77 |
|
|
static const jint SLASH = 266;
|
| 78 |
|
|
static const jint DOUBLE_SLASH = 267;
|
| 79 |
|
|
static const jint EQ = 268;
|
| 80 |
|
|
static const jint NE = 269;
|
| 81 |
|
|
static const jint GT = 270;
|
| 82 |
|
|
static const jint LT = 271;
|
| 83 |
|
|
static const jint GTE = 272;
|
| 84 |
|
|
static const jint LTE = 273;
|
| 85 |
|
|
static const jint PLUS = 274;
|
| 86 |
|
|
static const jint MINUS = 275;
|
| 87 |
|
|
static const jint AT = 276;
|
| 88 |
|
|
static const jint STAR = 277;
|
| 89 |
|
|
static const jint DOLLAR = 278;
|
| 90 |
|
|
static const jint COLON = 279;
|
| 91 |
|
|
static const jint DOUBLE_COLON = 280;
|
| 92 |
|
|
static const jint DOT = 281;
|
| 93 |
|
|
static const jint DOUBLE_DOT = 282;
|
| 94 |
|
|
static const jint ANCESTOR = 283;
|
| 95 |
|
|
static const jint ANCESTOR_OR_SELF = 284;
|
| 96 |
|
|
static const jint ATTRIBUTE = 285;
|
| 97 |
|
|
static const jint CHILD = 286;
|
| 98 |
|
|
static const jint DESCENDANT = 287;
|
| 99 |
|
|
static const jint DESCENDANT_OR_SELF = 288;
|
| 100 |
|
|
static const jint FOLLOWING = 289;
|
| 101 |
|
|
static const jint FOLLOWING_SIBLING = 290;
|
| 102 |
|
|
static const jint NAMESPACE = 291;
|
| 103 |
|
|
static const jint PARENT = 292;
|
| 104 |
|
|
static const jint PRECEDING = 293;
|
| 105 |
|
|
static const jint PRECEDING_SIBLING = 294;
|
| 106 |
|
|
static const jint SELF = 295;
|
| 107 |
|
|
static const jint DIV = 296;
|
| 108 |
|
|
static const jint MOD = 297;
|
| 109 |
|
|
static const jint OR = 298;
|
| 110 |
|
|
static const jint AND = 299;
|
| 111 |
|
|
static const jint COMMENT = 300;
|
| 112 |
|
|
static const jint PROCESSING_INSTRUCTION = 301;
|
| 113 |
|
|
static const jint TEXT = 302;
|
| 114 |
|
|
static const jint NODE = 303;
|
| 115 |
|
|
static const jint UNARY = 304;
|
| 116 |
|
|
static const jint yyErrorCode = 256;
|
| 117 |
|
|
public: // actually protected
|
| 118 |
|
|
static const jint yyFinal = 30;
|
| 119 |
|
|
jint yyMax;
|
| 120 |
|
|
public:
|
| 121 |
|
|
static ::java::lang::Class class$;
|
| 122 |
|
|
};
|
| 123 |
|
|
|
| 124 |
|
|
#endif // __gnu_xml_xpath_XPathParser__
|