Class: TreeSitterLanguagePack::CommentInfo
- Inherits:
-
Object
- Object
- TreeSitterLanguagePack::CommentInfo
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#associated_node ⇒ String?
Returns the value of attribute associated_node.
-
#kind ⇒ CommentKind?
Returns the value of attribute kind.
-
#span ⇒ Span?
Returns the value of attribute span.
-
#text ⇒ String?
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize ⇒ CommentInfo
constructor
A new instance of CommentInfo.
Constructor Details
#initialize ⇒ CommentInfo
Returns a new instance of CommentInfo.
91 |
# File 'sig/types.rbs', line 91
def initialize: (?text: String, ?kind: CommentKind, ?span: Span, ?associated_node: String) -> void
|
Instance Attribute Details
#associated_node ⇒ String?
Returns the value of attribute associated_node.
89 90 91 |
# File 'sig/types.rbs', line 89 def associated_node @associated_node end |
#kind ⇒ CommentKind?
Returns the value of attribute kind.
87 88 89 |
# File 'sig/types.rbs', line 87 def kind @kind end |
#span ⇒ Span?
Returns the value of attribute span.
88 89 90 |
# File 'sig/types.rbs', line 88 def span @span end |
#text ⇒ String?
Returns the value of attribute text.
86 87 88 |
# File 'sig/types.rbs', line 86 def text @text end |