class EE::System::PatternMatcher::State

#include <patternmatcher.hpp>

class State {
public:
    // fields

    PatternMatcher* mPattern;
    Range* mRanges;
    size_t mRefCount;
    bool mOwnPattern;

    // construction

    State(PatternMatcher* pattern, bool ownPattern);
    ~State();

    // methods

    bool range(int index, int& start, int& end);
    bool matches(const char* string, size_t length);
};