Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_queryparser_flexible_standard_parser_StandardSyntaxParser_H
#define org_apache_lucene_queryparser_flexible_standard_parser_StandardSyntaxParser_H
#include "java/lang/Object.h"
namespace org {
namespace apache {
namespace lucene {
namespace queryparser {
namespace flexible {
namespace core {
class QueryNodeParseException;
namespace nodes {
class QueryNode;
class ModifierQueryNode$Modifier;
}
namespace parser {
class SyntaxParser;
}
}
namespace standard {
namespace parser {
class StandardSyntaxParserTokenManager;
class StandardSyntaxParserConstants;
class ParseException;
class Token;
class CharStream;
}
}
}
}
}
}
}
namespace java {
namespace lang {
class Class;
class CharSequence;
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace queryparser {
namespace flexible {
namespace standard {
namespace parser {
class StandardSyntaxParser : public ::java::lang::Object {
public:
enum {
mid_init$_d7775b228e076e62,
mid_init$_617314b8e6c4c1ae,
mid_init$_d0afba351345b566,
mid_Clause_69daf661143523fc,
mid_ConjQuery_69daf661143523fc,
mid_DisjQuery_69daf661143523fc,
mid_ModClause_69daf661143523fc,
mid_Modifiers_42da91b163d6887f,
mid_Query_69daf661143523fc,
mid_ReInit_617314b8e6c4c1ae,
mid_ReInit_d0afba351345b566,
mid_Term_69daf661143523fc,
mid_TopLevelQuery_69daf661143523fc,
mid_disable_tracing_d7775b228e076e62,
mid_enable_tracing_d7775b228e076e62,
mid_generateParseException_7391981828ff4c1b,
mid_getNextToken_06cc53ea0115db8f,
mid_getToken_904d43d500b77be2,
mid_parse_ae5ecb169b8a9844,
max_mid
};
enum {
fid_jj_nt,
fid_token,
fid_token_source,
max_fid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static jfieldID *fids$;
static bool live$;
static jclass initializeClass(bool);
explicit StandardSyntaxParser(jobject obj) : ::java::lang::Object(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
StandardSyntaxParser(const StandardSyntaxParser& obj) : ::java::lang::Object(obj) {}
::org::apache::lucene::queryparser::flexible::standard::parser::Token _get_jj_nt() const;
void _set_jj_nt(const ::org::apache::lucene::queryparser::flexible::standard::parser::Token &) const;
::org::apache::lucene::queryparser::flexible::standard::parser::Token _get_token() const;
void _set_token(const ::org::apache::lucene::queryparser::flexible::standard::parser::Token &) const;
::org::apache::lucene::queryparser::flexible::standard::parser::StandardSyntaxParserTokenManager _get_token_source() const;
void _set_token_source(const ::org::apache::lucene::queryparser::flexible::standard::parser::StandardSyntaxParserTokenManager &) const;
StandardSyntaxParser();
StandardSyntaxParser(const ::org::apache::lucene::queryparser::flexible::standard::parser::CharStream &);
StandardSyntaxParser(const ::org::apache::lucene::queryparser::flexible::standard::parser::StandardSyntaxParserTokenManager &);
::org::apache::lucene::queryparser::flexible::core::nodes::QueryNode Clause(const ::java::lang::CharSequence &) const;
::org::apache::lucene::queryparser::flexible::core::nodes::QueryNode ConjQuery(const ::java::lang::CharSequence &) const;
::org::apache::lucene::queryparser::flexible::core::nodes::QueryNode DisjQuery(const ::java::lang::CharSequence &) const;
::org::apache::lucene::queryparser::flexible::core::nodes::QueryNode ModClause(const ::java::lang::CharSequence &) const;
::org::apache::lucene::queryparser::flexible::core::nodes::ModifierQueryNode$Modifier Modifiers() const;
::org::apache::lucene::queryparser::flexible::core::nodes::QueryNode Query(const ::java::lang::CharSequence &) const;
void ReInit(const ::org::apache::lucene::queryparser::flexible::standard::parser::CharStream &) const;
void ReInit(const ::org::apache::lucene::queryparser::flexible::standard::parser::StandardSyntaxParserTokenManager &) const;
::org::apache::lucene::queryparser::flexible::core::nodes::QueryNode Term(const ::java::lang::CharSequence &) const;
::org::apache::lucene::queryparser::flexible::core::nodes::QueryNode TopLevelQuery(const ::java::lang::CharSequence &) const;
void disable_tracing() const;
void enable_tracing() const;
::org::apache::lucene::queryparser::flexible::standard::parser::ParseException generateParseException() const;
::org::apache::lucene::queryparser::flexible::standard::parser::Token getNextToken() const;
::org::apache::lucene::queryparser::flexible::standard::parser::Token getToken(jint) const;
::org::apache::lucene::queryparser::flexible::core::nodes::QueryNode parse(const ::java::lang::CharSequence &, const ::java::lang::CharSequence &) const;
};
}
}
}
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace queryparser {
namespace flexible {
namespace standard {
namespace parser {
extern PyType_Def PY_TYPE_DEF(StandardSyntaxParser);
extern PyTypeObject *PY_TYPE(StandardSyntaxParser);
class t_StandardSyntaxParser {
public:
PyObject_HEAD
StandardSyntaxParser object;
static PyObject *wrap_Object(const StandardSyntaxParser&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
}
}
}
#endif