#include "third_party/liburlpattern/constructor_string_parser.h"
#include <string_view>
#include <vector>
#include "third_party/abseil-cpp/absl/base/macros.h"
namespace liburlpattern {
ConstructorStringParser::ConstructorStringParser(
std::string_view constructor_string)
: … { … }
absl::Status ConstructorStringParser::Parse(
ProtocolCheckCallback protocol_matches_special_scheme) { … }
void ConstructorStringParser::ChangeState(StringParseState new_state,
Skip skip) { … }
void ConstructorStringParser::ChangeStateWithoutSettingComponent(
StringParseState new_state,
Skip skip) { … }
void ConstructorStringParser::Rewind() { … }
void ConstructorStringParser::RewindAndSetState(StringParseState new_state) { … }
const Token& ConstructorStringParser::SafeToken(size_t index) const { … }
bool ConstructorStringParser::IsNonSpecialPatternChar(size_t index,
const char* value) const { … }
bool ConstructorStringParser::IsProtocolSuffix() const { … }
bool ConstructorStringParser::NextIsAuthoritySlashes() const { … }
bool ConstructorStringParser::IsIdentityTerminator() const { … }
bool ConstructorStringParser::IsPasswordPrefix() const { … }
bool ConstructorStringParser::IsPortPrefix() const { … }
bool ConstructorStringParser::IsPathnameStart() const { … }
bool ConstructorStringParser::IsSearchPrefix() const { … }
bool ConstructorStringParser::IsHashPrefix() const { … }
bool ConstructorStringParser::IsGroupOpen() const { … }
bool ConstructorStringParser::IsGroupClose() const { … }
bool ConstructorStringParser::IsIPv6Open() const { … }
bool ConstructorStringParser::IsIPv6Close() const { … }
std::string_view ConstructorStringParser::MakeComponentString() const { … }
}