class LSProtocol::RelativePattern
- LSProtocol::RelativePattern
- Reference
- Object
Overview
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
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
Instance Method Summary
-
#base_uri : URI | WorkspaceFolder
A workspace folder or a base URI to which this pattern will be matched against relatively.
-
#pattern : Pattern
The actual glob pattern;
Constructor Detail
Instance Method Detail
def base_uri : URI | WorkspaceFolder
#
A workspace folder or a base URI to which this pattern will be matched against relatively.