Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_antlr_v4_runtime_Token_H
#define org_antlr_v4_runtime_Token_H
#include "java/lang/Object.h"
namespace java {
namespace lang {
class String;
class Class;
}
}
template<class T> class JArray;
namespace org {
namespace antlr {
namespace v4 {
namespace runtime {
class Token : public ::java::lang::Object {
public:
enum {
mid_getChannel_9135e6328d9d7dfd,
mid_getCharPositionInLine_9135e6328d9d7dfd,
mid_getLine_9135e6328d9d7dfd,
mid_getStartIndex_9135e6328d9d7dfd,
mid_getStopIndex_9135e6328d9d7dfd,
mid_getText_a6d454b6117bc1ba,
mid_getTokenIndex_9135e6328d9d7dfd,
mid_getType_9135e6328d9d7dfd,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit Token(jobject obj) : ::java::lang::Object(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
Token(const Token& obj) : ::java::lang::Object(obj) {}
static jint DEFAULT_CHANNEL;
static jint EOF;
static jint EPSILON;
static jint HIDDEN_CHANNEL;
static jint INVALID_TYPE;
static jint MIN_USER_CHANNEL_VALUE;
static jint MIN_USER_TOKEN_TYPE;
jint getChannel() const;
jint getCharPositionInLine() const;
jint getLine() const;
jint getStartIndex() const;
jint getStopIndex() const;
::java::lang::String getText() const;
jint getTokenIndex() const;
jint getType() const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace antlr {
namespace v4 {
namespace runtime {
extern PyType_Def PY_TYPE_DEF(Token);
extern PyTypeObject *PY_TYPE(Token);
class t_Token {
public:
PyObject_HEAD
Token object;
static PyObject *wrap_Object(const Token&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif