class

LSProtocol::Moniker

Inherits JSON::Serializable / Reference / Object

Moniker definition to match LSIF 0.5 moniker definition.

@since 3.16.0

Constructors

new(identifier : String | Nil, scheme : String | Nil, unique : UniquenessLevel | Nil, kind : MonikerKind | Nil = nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

identifier

The identifier of the moniker. The value is opaque in LSIF however schema owners are allowed to define the structure if they want.

Source
kind

The moniker kind if known.

Source
scheme

The scheme of the moniker. For example tsc or .Net

Source
unique

The scope in which the moniker is unique

Source