![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
Classes | |
| class | BaseJsonAccessor |
| class | Diagnostic |
| class | DidChangeWatchedFilesParams |
| class | DidChangeWatchedFilesRegistrationOptions |
| class | DocumentSymbolParams |
| class | FileEvent |
| class | FileListParams |
| class | FileSystemWatcher |
| class | InitializeParams |
| class | InitializeResult |
| class | JsonGrammar |
| struct | JsonParserResult |
| class | JsonPosition |
| struct | JsonValue |
| class | Location |
| class | Message |
| class | NestedJsonAccessor |
| class | PublishDiagnosticsParams |
| class | Range |
| class | Registration |
| class | RegistrationParams |
| class | Request |
| class | Response |
| class | ResponseArrayResult |
| class | ResponseError |
| class | SaveOptions |
| class | ServerCapabilities |
| class | SymbolInformation |
| class | TextDocumentIdentifier |
| class | TextDocumentPositionParams |
| class | TextDocumentSyncOptions |
Typedefs | |
| using | JsonMember = std::pair<std::string, JsonValue> |
| using | JsonObject = std::map<std::string, JsonValue> |
| using | JsonArray = std::vector<JsonValue> |
| using | MessageWriter = std::function<void(JsonValue)> |
| using | InitializeRequest = Request<InitializeParams> |
| using | RegistrationRequest = Request<RegistrationParams> |
| using | TorqueFileListNotification = Request<FileListParams> |
| using | GotoDefinitionRequest = Request<TextDocumentPositionParams> |
| using | DidChangeWatchedFilesNotification = Request<DidChangeWatchedFilesParams> |
| using | PublishDiagnosticsNotification = Request<PublishDiagnosticsParams> |
| using | DocumentSymbolRequest = Request<DocumentSymbolParams> |
| using | InitializeResponse = Response<InitializeResult> |
| using | GotoDefinitionResponse = Response<Location> |
| using | DocumentSymbolResponse = ResponseArrayResult<SymbolInformation> |
Enumerations | |
| enum | SymbolKind { kFile = 1 , kNamespace = 3 , kClass = 5 , kMethod = 6 , kProperty = 7 , kField = 8 , kConstructor = 9 , kFunction = 12 , kVariable = 13 , kConstant = 14 , kStruct = 23 } |
Functions | |
| template<bool value> | |
| std::optional< ParseResult > | MakeBoolLiteral (ParseResultIterator *child_results) |
| std::optional< ParseResult > | MakeNullLiteral (ParseResultIterator *child_results) |
| std::optional< ParseResult > | MakeNumberLiteral (ParseResultIterator *child_results) |
| std::optional< ParseResult > | MakeStringLiteral (ParseResultIterator *child_results) |
| std::optional< ParseResult > | MakeArray (ParseResultIterator *child_results) |
| std::optional< ParseResult > | MakeMember (ParseResultIterator *child_results) |
| std::optional< ParseResult > | MakeObject (ParseResultIterator *child_results) |
| JsonParserResult | ParseJson (const std::string &input) |
| std::string | SerializeToString (const JsonValue &value) |
| JsonValue | ReadMessage () |
| void | WriteMessage (JsonValue message) |
| void | CompilationFinished (TorqueCompilerResult result, MessageWriter writer) |
| void | HandleMessage (JsonValue raw_message, MessageWriter writer) |
| int | WrappedMain (int argc, const char **argv) |
Variables | |
| static const char | kContentLength [] = "Content-Length: " |
| static const size_t | kContentLengthSize = sizeof(kContentLength) - 1 |
| constexpr const char * | kProtocolLineEnding = "\r\n\r\n" |
| using v8::internal::torque::ls::JsonArray = std::vector<JsonValue> |
| using v8::internal::torque::ls::JsonMember = std::pair<std::string, JsonValue> |
Definition at line 35 of file json-parser.cc.
| using v8::internal::torque::ls::JsonObject = std::map<std::string, JsonValue> |
| using v8::internal::torque::ls::MessageWriter = std::function<void(JsonValue)> |
Definition at line 27 of file message-handler.h.
| V8_EXPORT_PRIVATE void v8::internal::torque::ls::CompilationFinished | ( | TorqueCompilerResult | result, |
| MessageWriter | writer ) |
| V8_EXPORT_PRIVATE void v8::internal::torque::ls::HandleMessage | ( | JsonValue | raw_message, |
| MessageWriter | writer ) |
Definition at line 349 of file message-handler.cc.
| std::optional< ParseResult > v8::internal::torque::ls::MakeArray | ( | ParseResultIterator * | child_results | ) |
| std::optional< ParseResult > v8::internal::torque::ls::MakeBoolLiteral | ( | ParseResultIterator * | child_results | ) |
| std::optional< ParseResult > v8::internal::torque::ls::MakeMember | ( | ParseResultIterator * | child_results | ) |
| std::optional< ParseResult > v8::internal::torque::ls::MakeNullLiteral | ( | ParseResultIterator * | child_results | ) |
Definition at line 42 of file json-parser.cc.
| std::optional< ParseResult > v8::internal::torque::ls::MakeNumberLiteral | ( | ParseResultIterator * | child_results | ) |
| std::optional< ParseResult > v8::internal::torque::ls::MakeObject | ( | ParseResultIterator * | child_results | ) |
| std::optional< ParseResult > v8::internal::torque::ls::MakeStringLiteral | ( | ParseResultIterator * | child_results | ) |
| V8_EXPORT_PRIVATE JsonParserResult v8::internal::torque::ls::ParseJson | ( | const std::string & | input | ) |
Definition at line 181 of file json-parser.cc.
| JsonValue v8::internal::torque::ls::ReadMessage | ( | ) |
Definition at line 34 of file message-handler.cc.
| std::string v8::internal::torque::ls::SerializeToString | ( | const JsonValue & | value | ) |
| int v8::internal::torque::ls::WrappedMain | ( | int | argc, |
| const char ** | argv ) |
Definition at line 20 of file torque-language-server.cc.
| void v8::internal::torque::ls::WriteMessage | ( | JsonValue | message | ) |
Definition at line 54 of file message-handler.cc.
|
static |
Definition at line 24 of file message-handler.cc.
|
static |
Definition at line 25 of file message-handler.cc.
|
constexpr |
Definition at line 31 of file message-handler.cc.