Lines Matching refs:thisType
891 #define DEFINE_NODE_TYPE_CASTS(thisType, predicate) \
892 template<typename T> inline thisType* to##thisType(const RefPtr<T>& node) { return to##thisType(node.get()); } \
893 DEFINE_TYPE_CASTS(thisType, Node, node, node->predicate, node.predicate)
896 #define DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(thisType) \
897 template<typename T> inline thisType* to##thisType(const RefPtr<T>& node) { return to##thisType(node.get()); } \
898 DEFINE_TYPE_CASTS(thisType, Node, node, is##thisType(*node), is##thisType(node))