LSProtocol::RelativePattern
Inherits JSON::Serializable / Reference / 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.
@since 3.17.0
Constructors
new(base_uri : URI | WorkspaceFolder | Nil, pattern : Pattern | Nil)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
base_uri
A workspace folder or a base URI to which this pattern will be matched against relatively.