nixd
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
nixd::rpc Namespace Reference

Classes

struct  ExprValueParams
 
struct  ExprValueResponse
 
struct  RegisterBCParams
 

Enumerations

enum class  LogLevel { Debug , Info , Warning , Error }
 

Functions

llvm::json::Value toJSON (const RegisterBCParams &Params)
 
bool fromJSON (const llvm::json::Value &Params, RegisterBCParams &R, llvm::json::Path P)
 
llvm::json::Value toJSON (const ExprValueParams &Params)
 
bool fromJSON (const llvm::json::Value &Params, ExprValueParams &R, llvm::json::Path P)
 
llvm::json::Value toJSON (const ExprValueResponse &Params)
 
bool fromJSON (const llvm::json::Value &Params, ExprValueResponse &R, llvm::json::Path P)
 
bool fromJSON (const Value &Params, RegisterBCParams &R, Path P)
 
bool fromJSON (const Value &Params, ExprValueParams &R, Path P)
 
bool fromJSON (const Value &Params, ExprValueResponse &R, Path P)
 

Enumeration Type Documentation

◆ LogLevel

Enumerator
Debug 
Info 
Warning 
Error 

Definition at line 10 of file include/nixd/Protocol/Protocol.h.

Function Documentation

◆ fromJSON() [1/6]

bool nixd::rpc::fromJSON ( const llvm::json::Value & Params,
ExprValueParams & R,
llvm::json::Path P )

◆ fromJSON() [2/6]

bool nixd::rpc::fromJSON ( const llvm::json::Value & Params,
ExprValueResponse & R,
llvm::json::Path P )

◆ fromJSON() [3/6]

bool nixd::rpc::fromJSON ( const llvm::json::Value & Params,
RegisterBCParams & R,
llvm::json::Path P )

◆ fromJSON() [4/6]

bool nixd::rpc::fromJSON ( const Value & Params,
ExprValueParams & R,
Path P )

Definition at line 24 of file lib/Protocol/Protocol.cpp.

References nixd::rpc::ExprValueParams::ExprID, and fromJSON().

◆ fromJSON() [5/6]

bool nixd::rpc::fromJSON ( const Value & Params,
ExprValueResponse & R,
Path P )

◆ fromJSON() [6/6]

bool nixd::rpc::fromJSON ( const Value & Params,
RegisterBCParams & R,
Path P )

◆ toJSON() [1/3]

Value nixd::rpc::toJSON ( const ExprValueParams & Params)

Definition at line 20 of file lib/Protocol/Protocol.cpp.

References fromJSON(), and lspserver::Object.

◆ toJSON() [2/3]

Value nixd::rpc::toJSON ( const ExprValueResponse & Params)

Definition at line 29 of file lib/Protocol/Protocol.cpp.

References fromJSON(), and lspserver::Object.

◆ toJSON() [3/3]

Value nixd::rpc::toJSON ( const RegisterBCParams & Params)

Definition at line 7 of file lib/Protocol/Protocol.cpp.

References fromJSON(), and lspserver::Object.