Class: TreeSitterLanguagePack::DocstringFormatJSDoc
- Inherits:
-
Data
- Object
- Data
- TreeSitterLanguagePack::DocstringFormatJSDoc
- Extended by:
- T::Sig
- Includes:
- DocstringFormat
- Defined in:
- lib/tree_sitter_language_pack/native.rb
Overview
JavaScript/TypeScript JSDoc 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
496 497 498 |
# File 'lib/tree_sitter_language_pack/native.rb', line 496 def self.from_hash(hash) new end |
Instance Method Details
#go_doc? ⇒ Boolean
488 |
# File 'lib/tree_sitter_language_pack/native.rb', line 488 def go_doc? = false |
#java_doc? ⇒ Boolean
490 |
# File 'lib/tree_sitter_language_pack/native.rb', line 490 def java_doc? = false |
#js_doc? ⇒ Boolean
484 |
# File 'lib/tree_sitter_language_pack/native.rb', line 484 def js_doc? = true |
#other? ⇒ Boolean
492 493 494 |
# File 'lib/tree_sitter_language_pack/native.rb', line 492 def other? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#python_triple_quote? ⇒ Boolean
482 |
# File 'lib/tree_sitter_language_pack/native.rb', line 482 def python_triple_quote? = false |
#rustdoc? ⇒ Boolean
486 |
# File 'lib/tree_sitter_language_pack/native.rb', line 486 def rustdoc? = false |