childContainingDescendant

actual external fun childContainingDescendant(descendant: Node): Node?(source)

Deprecated

This method will not return a direct descendant

Replace with

import io.github.treesitter.ktreesitter.Node
childWithDescendant(descendant)

Get the child of the node that contains the given descendant, if any.

expect fun childContainingDescendant(descendant: Node): Node?(source)

Deprecated

This method will not return a direct descendant

Replace with

import io.github.treesitter.ktreesitter.Node
childWithDescendant(descendant)

Get the child of the node that contains the given descendant, if any.

actual external fun childContainingDescendant(descendant: Node): Node?(source)

Deprecated

This method will not return a direct descendant

Replace with

import io.github.treesitter.ktreesitter.Node
childWithDescendant(descendant)

Get the child of the node that contains the given descendant, if any.

actual fun childContainingDescendant(descendant: Node): Node?(source)

Deprecated

This method will not return a direct descendant

Replace with

import io.github.treesitter.ktreesitter.Node
childWithDescendant(descendant)

Get the child of the node that contains the given descendant, if any.