findDeepestNonBlockNode

Finds the deepest non-null node of any BaseNode. (like visiting the tree) Aborts on types that contain DeclarationOrStatement or Declaration[] fields. Useful for getting the IfStatement out of a DeclarationOrStatement without traversing its children.

BaseNode
findDeepestNonBlockNode
(
T : BaseNode
)
(
T ast
)

Meta