Class: TreeSitterLanguagePack::DocstringFormatGoDoc
- Inherits:
-
Data
- Object
- Data
- TreeSitterLanguagePack::DocstringFormatGoDoc
- Extended by:
- T::Sig
- Includes:
- DocstringFormat
- Defined in:
- lib/tree_sitter_language_pack/native.rb
Overview
Go doc comment (a comment block immediately preceding a declaration).
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
544 545 546 |
# File 'lib/tree_sitter_language_pack/native.rb', line 544 def self.from_hash(hash) new end |
Instance Method Details
#go_doc? ⇒ Boolean
536 |
# File 'lib/tree_sitter_language_pack/native.rb', line 536 def go_doc? = true |
#java_doc? ⇒ Boolean
538 |
# File 'lib/tree_sitter_language_pack/native.rb', line 538 def java_doc? = false |
#js_doc? ⇒ Boolean
532 |
# File 'lib/tree_sitter_language_pack/native.rb', line 532 def js_doc? = false |
#other? ⇒ Boolean
540 541 542 |
# File 'lib/tree_sitter_language_pack/native.rb', line 540 def other? = false # @param hash [Hash] deserialized from the native extension # @return [self] |
#python_triple_quote? ⇒ Boolean
530 |
# File 'lib/tree_sitter_language_pack/native.rb', line 530 def python_triple_quote? = false |
#rustdoc? ⇒ Boolean
534 |
# File 'lib/tree_sitter_language_pack/native.rb', line 534 def rustdoc? = false |