class LSProtocol::NotebookDocumentFilterPattern
- LSProtocol::NotebookDocumentFilterPattern
- Reference
- Object
Overview
A notebook document filter where #pattern
is required field.
@since 3.18.0
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .new(pattern : GlobPattern | Nil, notebook_type : String | Nil = nil, scheme : String | Nil = nil)
Instance Method Summary
-
#notebook_type : String | Nil
The type of the enclosing notebook.
-
#pattern : GlobPattern
A glob pattern.
-
#scheme : String | Nil
A Uri
Uri#scheme
, likefile
oruntitled
.
Constructor Detail
def self.new(pattern : GlobPattern | Nil, notebook_type : String | Nil = nil, scheme : String | Nil = nil)
#