Introspection function for node and C++