#include "src/regexp/experimental/experimental-compiler.h"
#include "src/base/strings.h"
#include "src/flags/flags.h"
#include "src/regexp/experimental/experimental.h"
#include "src/regexp/regexp-flags.h"
#include "src/zone/zone-containers.h"
#include "src/zone/zone-list-inl.h"
namespace v8 {
namespace internal {
namespace {
constexpr base::uc32 kMaxSupportedCodepoint = …;
#ifdef DEBUG
constexpr base::uc32 kMaxCodePoint = …;
#endif
class CanBeHandledVisitor final : private RegExpVisitor { … };
}
bool ExperimentalRegExpCompiler::CanBeHandled(RegExpTree* tree,
RegExpFlags flags,
int capture_count) { … }
namespace {
struct Label { … };
class BytecodeAssembler { … };
class FilterGroupsCompileVisitor final : private RegExpVisitor { … };
class CompileVisitor : private RegExpVisitor { … };
}
ZoneList<RegExpInstruction> ExperimentalRegExpCompiler::Compile(
RegExpTree* tree, RegExpFlags flags, Zone* zone) { … }
}
}