concordia-library/concordia/token_annotation.cpp
2015-06-25 10:12:51 +02:00

20 lines
695 B
C++

#include "concordia/token_annotation.hpp"
TokenAnnotation::TokenAnnotation(const SUFFIX_MARKER_TYPE start,
const SUFFIX_MARKER_TYPE end,
const char annotationType,
const std::string & value):
Interval(start, end),
_annotationType(annotationType),
_value(value) {
}
TokenAnnotation::~TokenAnnotation() {
}
char TokenAnnotation::NE_TYPE = 0;
char TokenAnnotation::WORD_TYPE = 1;
char TokenAnnotation::HTML_TAG_TYPE = 2;
char TokenAnnotation::STOP_WORD_TYPE = 3;