Lines Matching defs:contents
370 /// Initialize the text file from the given file contents.
374 /// The full string contents of the file.
375 std::string contents;
383 /// The source manager containing the contents of the input file.
401 : contents(fileContents.str()), version(version) {
417 if (failed(lsp::TextDocumentContentChangeEvent::applyTo(changes, contents))) {
418 lsp::Logger::error("Failed to update contents of {0}", uri.file());
422 // If the file contents were properly changed, reinitialize the text file.
435 auto memBuffer = llvm::MemoryBuffer::getMemBuffer(contents, uri.file());
554 llvm::raw_string_ostream hoverOS(hover.contents.value);
598 llvm::raw_string_ostream hoverOS(hover.contents.value);
613 llvm::raw_string_ostream hoverOS(hover.contents.value);
666 void lsp::TableGenServer::addDocument(const URIForFile &uri, StringRef contents,
675 uri, contents, version, additionalIncludeDirs, diagnostics);