class EE::System::PatternMatcher::State

#include <patternmatcher.hpp>

class State {
public:
    // fields

    PatternMatcher* mPattern;
    std::array<Range, 10> mRanges;
    bool mOwnPattern;

    // construction

    State(PatternMatcher* pattern, bool ownPattern);
    State(const State& other);
    ~State();

    // methods

    State& operator=(const State& other);
    void swap(State& other);
    bool range(int index, int& start, int& end) const;
    bool matches(const char* string, size_t length);
};