getTypeByNode

inline fun <T> getTypeByNode(node: Node): T