class LSProtocol::Moniker
- LSProtocol::Moniker
- Reference
- Object
Overview
Moniker definition to match LSIF 0.5 moniker definition.
@since 3.16.0
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(identifier : String | Nil, scheme : String | Nil, unique : UniquenessLevel | Nil, kind : MonikerKind | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#identifier : String
The identifier of the moniker.
-
#kind : MonikerKind | Nil
The moniker kind if known.
-
#scheme : String
The scheme of the moniker.
-
#unique : UniquenessLevel
The scope in which the moniker is unique
Constructor Detail
def self.new(identifier : String | Nil, scheme : String | Nil, unique : UniquenessLevel | Nil, kind : MonikerKind | Nil = nil)
#
Instance Method Detail
def identifier : String
#
The identifier of the moniker. The value is opaque in LSIF however schema owners are allowed to define the structure if they want.