Variable findNodeAtOffsetConst
findNodeAtOffset: ( root: Node, offset: number, includeRightBound?: boolean,) => Node | undefined
Type Declaration
-
- (root: Node, offset: number, includeRightBound?: boolean): Node | undefined
-
Parameters
- root: Node
- offset: number
OptionalincludeRightBound: boolean
Returns Node | undefined
Finds the innermost node at the given offset. If includeRightBound is set, also finds nodes that end at the given offset.