Class: TreeSitterLanguagePack::Node
- Inherits:
-
Object
- Object
- TreeSitterLanguagePack::Node
- Defined in:
- sig/types.rbs
Instance Method Summary collapse
- #byte_range ⇒ ByteRange
- #child ⇒ Node?
- #child_by_field_name ⇒ Node?
- #child_count ⇒ Integer
- #end_byte ⇒ Integer
- #end_position ⇒ Point
- #has_error ⇒ Boolean
- #is_error ⇒ Boolean
- #is_extra ⇒ Boolean
- #is_missing ⇒ Boolean
- #is_named ⇒ Boolean
- #kind ⇒ String
- #kind_id ⇒ Integer
- #named_child ⇒ Node?
- #named_child_count ⇒ Integer
- #parent ⇒ Node?
- #start_byte ⇒ Integer
- #start_position ⇒ Point
- #to_sexp ⇒ String
- #walk ⇒ TreeCursor
Instance Method Details
#byte_range ⇒ ByteRange
152 |
# File 'sig/types.rbs', line 152 def byte_range: () -> ByteRange |
#child ⇒ Node?
161 |
# File 'sig/types.rbs', line 161 def child: (Integer index) -> Node? |
#child_by_field_name ⇒ Node?
165 |
# File 'sig/types.rbs', line 165 def child_by_field_name: (String name) -> Node? |
#child_count ⇒ Integer
162 |
# File 'sig/types.rbs', line 162 def child_count: () -> Integer |
#end_byte ⇒ Integer
151 |
# File 'sig/types.rbs', line 151 def end_byte: () -> Integer |
#end_position ⇒ Point
154 |
# File 'sig/types.rbs', line 154 def end_position: () -> Point |
#has_error ⇒ Boolean
159 |
# File 'sig/types.rbs', line 159 def has_error: () -> bool |
#is_error ⇒ Boolean
156 |
# File 'sig/types.rbs', line 156 def is_error: () -> bool |
#is_extra ⇒ Boolean
158 |
# File 'sig/types.rbs', line 158 def is_extra: () -> bool |
#is_missing ⇒ Boolean
157 |
# File 'sig/types.rbs', line 157 def is_missing: () -> bool |
#is_named ⇒ Boolean
155 |
# File 'sig/types.rbs', line 155 def is_named: () -> bool |
#kind ⇒ String
148 |
# File 'sig/types.rbs', line 148 def kind: () -> String |
#kind_id ⇒ Integer
149 |
# File 'sig/types.rbs', line 149 def kind_id: () -> Integer |
#named_child ⇒ Node?
163 |
# File 'sig/types.rbs', line 163 def named_child: (Integer index) -> Node? |
#named_child_count ⇒ Integer
164 |
# File 'sig/types.rbs', line 164 def named_child_count: () -> Integer |
#parent ⇒ Node?
160 |
# File 'sig/types.rbs', line 160 def parent: () -> Node? |
#start_byte ⇒ Integer
150 |
# File 'sig/types.rbs', line 150 def start_byte: () -> Integer |
#start_position ⇒ Point
153 |
# File 'sig/types.rbs', line 153 def start_position: () -> Point |
#to_sexp ⇒ String
166 |
# File 'sig/types.rbs', line 166 def to_sexp: () -> String |
#walk ⇒ TreeCursor
167 |
# File 'sig/types.rbs', line 167 def walk: () -> TreeCursor |