Class: TreeSitterLanguagePack::CommentInfo
- Inherits:
-
Object
- Object
- TreeSitterLanguagePack::CommentInfo
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#associated_node ⇒ String?
readonly
Returns the value of attribute associated_node.
-
#kind ⇒ CommentKind
readonly
Returns the value of attribute kind.
-
#span ⇒ Span
readonly
Returns the value of attribute span.
-
#text ⇒ String
readonly
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.
50 |
# File 'sig/types.rbs', line 50
def initialize: (?text: String, ?kind: CommentKind, ?span: Span, ?associated_node: String) -> void
|
Instance Attribute Details
#associated_node ⇒ String? (readonly)
Returns the value of attribute associated_node.
48 49 50 |
# File 'sig/types.rbs', line 48 def associated_node @associated_node end |
#kind ⇒ CommentKind (readonly)
Returns the value of attribute kind.
46 47 48 |
# File 'sig/types.rbs', line 46 def kind @kind end |
#span ⇒ Span (readonly)
Returns the value of attribute span.
47 48 49 |
# File 'sig/types.rbs', line 47 def span @span end |
#text ⇒ String (readonly)
Returns the value of attribute text.
45 46 47 |
# File 'sig/types.rbs', line 45 def text @text end |