Class: TreeSitterLanguagePack::DocstringFormatPythonTripleQuote
- Inherits:
-
Data
- Object
- Data
- TreeSitterLanguagePack::DocstringFormatPythonTripleQuote
- Extended by:
- T::Sig
- Includes:
- DocstringFormat
- Defined in:
- lib/tree_sitter_language_pack/native.rb
Overview
Python triple-quoted string docstring (‘“”“…”“”`).
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
472 473 474 |
# File 'lib/tree_sitter_language_pack/native.rb', line 472 def self.from_hash(hash) new end |
Instance Method Details
#go_doc? ⇒ Boolean
464 |
# File 'lib/tree_sitter_language_pack/native.rb', line 464 def go_doc? = false |
#java_doc? ⇒ Boolean
466 |
# File 'lib/tree_sitter_language_pack/native.rb', line 466 def java_doc? = false |
#js_doc? ⇒ Boolean
460 |
# File 'lib/tree_sitter_language_pack/native.rb', line 460 def js_doc? = false |
#other? ⇒ Boolean
468 469 470 |
# File 'lib/tree_sitter_language_pack/native.rb', line 468 def other? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#python_triple_quote? ⇒ Boolean
458 |
# File 'lib/tree_sitter_language_pack/native.rb', line 458 def python_triple_quote? = true |
#rustdoc? ⇒ Boolean
462 |
# File 'lib/tree_sitter_language_pack/native.rb', line 462 def rustdoc? = false |