lookupSymbolByNameOfNode

fun lookupSymbolByNameOfNode(node: Node, scope: Scope? = node.scope, predicate: (Declaration) -> Boolean? = null): List<Declaration>

A convenience function to call lookupSymbolByName with the properties of node. The arguments scope and predicate are forwarded.