mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 00:57:44 -04:00
25 lines
568 B
C++
25 lines
568 B
C++
#pragma once
|
|
|
|
#include "common_types.h"
|
|
|
|
namespace LSPSpec {
|
|
struct DocumentColorParams {
|
|
// The text document.
|
|
TextDocumentIdentifier textDocument;
|
|
};
|
|
|
|
void to_json(json& j, const DocumentColorParams& obj);
|
|
void from_json(const json& j, DocumentColorParams& obj);
|
|
|
|
struct ColorInformation {
|
|
// The range in the document where this color appears.
|
|
Range range;
|
|
// The actual color value for this color range.
|
|
Color color;
|
|
};
|
|
|
|
void to_json(json& j, const ColorInformation& obj);
|
|
void from_json(const json& j, ColorInformation& obj);
|
|
|
|
} // namespace LSPSpec
|