#include "re2/filtered_re2.h"
#include <stddef.h>
#include <string>
#include <utility>
#include <vector>
#include "absl/log/absl_log.h"
#include "absl/strings/string_view.h"
#include "re2/prefilter.h"
#include "re2/prefilter_tree.h"
namespace re2 {
FilteredRE2::FilteredRE2()
: … { … }
FilteredRE2::FilteredRE2(int min_atom_len)
: … { … }
FilteredRE2::~FilteredRE2() { … }
FilteredRE2::FilteredRE2(FilteredRE2&& other)
: … { … }
FilteredRE2& FilteredRE2::operator=(FilteredRE2&& other) { … }
RE2::ErrorCode FilteredRE2::Add(absl::string_view pattern,
const RE2::Options& options, int* id) { … }
void FilteredRE2::Compile(std::vector<std::string>* atoms) { … }
int FilteredRE2::SlowFirstMatch(absl::string_view text) const { … }
int FilteredRE2::FirstMatch(absl::string_view text,
const std::vector<int>& atoms) const { … }
bool FilteredRE2::AllMatches(absl::string_view text,
const std::vector<int>& atoms,
std::vector<int>* matching_regexps) const { … }
void FilteredRE2::AllPotentials(const std::vector<int>& atoms,
std::vector<int>* potential_regexps) const { … }
void FilteredRE2::RegexpsGivenStrings(const std::vector<int>& matched_atoms,
std::vector<int>* passed_regexps) { … }
void FilteredRE2::PrintPrefilter(int regexpid) { … }
}