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