struct

LSP::RelativePattern

Inherits JSON::Serializable < Struct < Value < Object

A relative pattern is a helper to construct glob patterns that are matched relatively to a base URI. The common value for a baseUri is a workspace folder root, but it can be another absolute URI as well.

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

base_uri

A workspace folder or a base URI to which this pattern will be matched against relatively.

Source
base_uri=(base_uri : WorkspaceFolder | String)

A workspace folder or a base URI to which this pattern will be matched against relatively.

Source
pattern

The actual glob pattern;

Source
pattern=(pattern : Pattern)

The actual glob pattern;

Source