GeneratedReusableNodeCursor class final
Depth-first cursor over reusable generated subtrees. The synthetic root is intentionally never yielded, matching native Tree-sitter's reuse cursor.
Constructors
Properties
- current → GeneratedTreeSitterNode?
-
no setter
- currentByteOffset → int?
-
Native
reusable_node_byte_offset: the coordinate before the current subtree's edited padding.no setter - currentIsReusable → bool
-
no setter
- currentPosition → GeneratedTreeSitterNodePosition?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tree → GeneratedTreeSitterTree
-
final
Methods
-
advance(
) → bool - Advances to the next node after the current subtree, without visiting any of the current node's descendants.
-
advancePastLeaf(
) → bool -
Descends to the current subtree's first leaf, then advances beyond that
leaf. This matches
reusable_node_advance_past_leaf. -
descend(
) → bool - Descends to the first child of the current node.
-
moveNext(
) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
skipCurrentSubtree(
) → void - Advances past the descendants of the current reused subtree.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited