Class: Yoda::Model::Descriptions::Base Abstract
- Inherits:
-
Object
- Object
- Yoda::Model::Descriptions::Base
- Defined in:
- lib/yoda/model/descriptions/base.rb
Overview
This class is abstract.
Direct Known Subclasses
CommentTokenDescription, FunctionDescription, NodeDescription, ValueDescription, VariableDescription, WordDescription
Instance Method Summary collapse
- #label ⇒ String
-
#markup_content ⇒ String, Hash
Return an LSP MarkedString content for description.
- #sort_text ⇒ String abstract
- #title ⇒ String abstract
- #to_markdown ⇒ String abstract
Instance Method Details
#label ⇒ String
19 20 21 |
# File 'lib/yoda/model/descriptions/base.rb', line 19 def label sort_text end |
#markup_content ⇒ String, Hash
Return an LSP MarkedString content for description
31 32 33 |
# File 'lib/yoda/model/descriptions/base.rb', line 31 def markup_content to_markdown end |
#sort_text ⇒ String
This method is abstract.
14 15 16 |
# File 'lib/yoda/model/descriptions/base.rb', line 14 def sort_text fail NotImplementedError end |
#title ⇒ String
This method is abstract.
8 9 10 |
# File 'lib/yoda/model/descriptions/base.rb', line 8 def title fail NotImplementedError end |
#to_markdown ⇒ String
This method is abstract.
25 26 27 |
# File 'lib/yoda/model/descriptions/base.rb', line 25 def to_markdown fail NotImplementedError end |