cpg-core
6.1.0
cpg-core
/
de.fraunhofer.aisec.cpg.helpers
/
CommentMatcher
/
getEnclosingChild
get
Enclosing
Child
fun
getEnclosingChild
(
node
:
Node
,
location
:
Region
)
:
Node
Searches amongst the children of the node to find the child that contains the provided region.