Skip to content
Snippets Groups Projects
Commit e343d08f authored by Paweł Kędzia's avatar Paweł Kędzia
Browse files

Added wrapper for Wccl::Match

parent 5b42d1a1
Branches
No related merge requests found
#ifndef SWIG_LIBWCCL_MATCH_I
#define SWIG_LIBWCCL_MATCH_I
%module libcclbool
%{
#include <libwccl/values/value.h>
#include <libwccl/values/match.h>
%}
%include "libcclvalue.i"
%include "std_string.i"
%feature("notabstract") Wccl::Match;
namespace Wccl {
class Match : public Value {
public:
const char* get_type_name() const { return type_name; }
static std::string var_repr(const std::string &var_name);
std::string make_var_repr(const std::string &var_name) const {
return var_repr(var_name);
}
Match();
// TODO
// virtual Position first_token(const boost::shared_ptr<Corpus2::AnnotatedSentence>&) const;
// virtual Position last_token(const boost::shared_ptr<Corpus2::AnnotatedSentence>&) const;
std::string to_raw_string() const;
};
}
using namespace std;
using namespace Wccl;
#endif /* SWIG_LIBWCCL_MATCH_I */
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment