v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
search-util.h
Go to the documentation of this file.
1// Copyright 2016 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef V8_INSPECTOR_SEARCH_UTIL_H_
6#define V8_INSPECTOR_SEARCH_UTIL_H_
7
8#include <memory>
9
10#include "src/inspector/protocol/Debugger.h"
12
13namespace v8_inspector {
14
15class V8InspectorSession;
16
17String16 findSourceURL(const String16& content, bool multiline);
18String16 findSourceMapURL(const String16& content, bool multiline);
19std::vector<std::unique_ptr<protocol::Debugger::SearchMatch>>
20searchInTextByLinesImpl(V8InspectorSession*, const String16& text,
21 const String16& query, bool caseSensitive,
22 bool isRegex);
23
24} // namespace v8_inspector
25
26#endif // V8_INSPECTOR_SEARCH_UTIL_H_
std::vector< std::unique_ptr< protocol::Debugger::SearchMatch > > searchInTextByLinesImpl(V8InspectorSession *session, const String16 &text, const String16 &query, const bool caseSensitive, const bool isRegex)
String16 findSourceURL(const String16 &content, bool multiline)
String16 findSourceMapURL(const String16 &content, bool multiline)