LLVM: llvm::lsp::JSONTransportInputOverFile Class Reference (original) (raw)

Concrete implementation of the JSONTransportInput that reads from a file. More...

#include "[llvm/Support/LSP/Transport.h](Transport%5F8h%5Fsource.html)"

Inheritance diagram for llvm::lsp::JSONTransportInputOverFile:

Public Member Functions
JSONTransportInputOverFile (std::FILE *In, JSONStreamStyle Style=JSONStreamStyle::Standard)
bool hasError () const final
bool isEndOfInput () const final
LLVM_ABI_FOR_TEST LogicalResult readDelimitedMessage (std::string &Json) final
For lit tests we support a simplified syntax:
LLVM_ABI_FOR_TEST LogicalResult readStandardMessage (std::string &Json) final
Public Member Functions inherited from llvm::lsp::JSONTransportInput
JSONTransportInput (JSONStreamStyle Style=JSONStreamStyle::Standard)
virtual ~JSONTransportInput ()=default
LogicalResult readMessage (std::string &Json)
Read in a message from the input stream.

Detailed Description

Concrete implementation of the JSONTransportInput that reads from a file.

Definition at line 76 of file Transport.h.

Constructor & Destructor Documentation

Member Function Documentation

hasError()

bool llvm::lsp::JSONTransportInputOverFile::hasError ( ) const inlinefinalvirtual

isEndOfInput()

bool llvm::lsp::JSONTransportInputOverFile::isEndOfInput ( ) const inlinefinalvirtual

readDelimitedMessage()

LogicalResult JSONTransportInputOverFile::readDelimitedMessage ( std::string & Json) finalvirtual

readStandardMessage()

LogicalResult JSONTransportInputOverFile::readStandardMessage ( std::string & Json) finalvirtual

The documentation for this class was generated from the following files: