scopeFor

inline fun <ContextType : Node> scopeFor(nodeType: KClass<*>, crossinline scopeFunction: (ContextType) -> Scope?)
inline fun <ContextType : Node> scopeFor(reference: ReferenceByNameProperty, crossinline scopeDefinition: (ContextType) -> Scope?)