struct

Crig::Completion::DocumentSourceKind

Inherits Struct < Value < Object

Constructors

base64(value : String) : self
Source
file_id(file_id : String) : self
Source
new(kind : Kind, string_value : String | Nil = nil, bytes_value : Bytes | Nil = nil)
Source
new(pull : JSON::PullParser)

ameba:disable Metrics/CyclomaticComplexity

Source
raw(bytes : Bytes) : self
Source
string(input : String) : self
Source
unknown
Source
url(url : String) : self
Source

Instance methods

bytes_value
Source
kind
Source
string_value
Source
to_json(json : JSON::Builder) : Nil
Source
to_s(io : IO) : Nil

Same as #inspect(io).

Source
try_into_inner
Source

Nested types