Class: TreeSitterLanguagePack::DocstringFormatRustdoc
- Inherits:
-
Data
- Object
- Data
- TreeSitterLanguagePack::DocstringFormatRustdoc
- Extended by:
- T::Sig
- Includes:
- DocstringFormat
- Defined in:
- lib/tree_sitter_language_pack/native.rb
Overview
Rust ‘///` or `//!` doc comment.
Class Method Summary collapse
Instance Method Summary collapse
- #go_doc? ⇒ Boolean
- #java_doc? ⇒ Boolean
- #js_doc? ⇒ Boolean
- #other? ⇒ Boolean
- #python_triple_quote? ⇒ Boolean
- #rustdoc? ⇒ Boolean
Class Method Details
.from_hash(hash) ⇒ Object
520 521 522 |
# File 'lib/tree_sitter_language_pack/native.rb', line 520 def self.from_hash(hash) new end |
Instance Method Details
#go_doc? ⇒ Boolean
512 |
# File 'lib/tree_sitter_language_pack/native.rb', line 512 def go_doc? = false |
#java_doc? ⇒ Boolean
514 |
# File 'lib/tree_sitter_language_pack/native.rb', line 514 def java_doc? = false |
#js_doc? ⇒ Boolean
508 |
# File 'lib/tree_sitter_language_pack/native.rb', line 508 def js_doc? = false |
#other? ⇒ Boolean
516 517 518 |
# File 'lib/tree_sitter_language_pack/native.rb', line 516 def other? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#python_triple_quote? ⇒ Boolean
506 |
# File 'lib/tree_sitter_language_pack/native.rb', line 506 def python_triple_quote? = false |
#rustdoc? ⇒ Boolean
510 |
# File 'lib/tree_sitter_language_pack/native.rb', line 510 def rustdoc? = true |