Class: TreeSitterLanguagePack::Node

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Method Summary collapse

Instance Method Details

#byte_rangeByteRange



152
# File 'sig/types.rbs', line 152

def byte_range: () -> ByteRange

#childNode?



161
# File 'sig/types.rbs', line 161

def child: (Integer index) -> Node?

#child_by_field_nameNode?



165
# File 'sig/types.rbs', line 165

def child_by_field_name: (String name) -> Node?

#child_countInteger



162
# File 'sig/types.rbs', line 162

def child_count: () -> Integer

#end_byteInteger



151
# File 'sig/types.rbs', line 151

def end_byte: () -> Integer

#end_positionPoint



154
# File 'sig/types.rbs', line 154

def end_position: () -> Point

#has_errorBoolean



159
# File 'sig/types.rbs', line 159

def has_error: () -> bool

#is_errorBoolean



156
# File 'sig/types.rbs', line 156

def is_error: () -> bool

#is_extraBoolean



158
# File 'sig/types.rbs', line 158

def is_extra: () -> bool

#is_missingBoolean



157
# File 'sig/types.rbs', line 157

def is_missing: () -> bool

#is_namedBoolean



155
# File 'sig/types.rbs', line 155

def is_named: () -> bool

#kindString



148
# File 'sig/types.rbs', line 148

def kind: () -> String

#kind_idInteger



149
# File 'sig/types.rbs', line 149

def kind_id: () -> Integer

#named_childNode?



163
# File 'sig/types.rbs', line 163

def named_child: (Integer index) -> Node?

#named_child_countInteger



164
# File 'sig/types.rbs', line 164

def named_child_count: () -> Integer

#parentNode?



160
# File 'sig/types.rbs', line 160

def parent: () -> Node?

#start_byteInteger



150
# File 'sig/types.rbs', line 150

def start_byte: () -> Integer

#start_positionPoint



153
# File 'sig/types.rbs', line 153

def start_position: () -> Point

#to_sexpString



166
# File 'sig/types.rbs', line 166

def to_sexp: () -> String

#walkTreeCursor



167
# File 'sig/types.rbs', line 167

def walk: () -> TreeCursor