MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / isRef

Method isRef

include/daScript/ast/ast_typedecl.h:802–804  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

800 }
801
802 __forceinline bool TypeDecl::isRef() const {
803 return ref || isRefType();
804 }
805
806 __forceinline bool TypeDecl::isTempType(bool refMatters) const {
807 return (ref && refMatters) || isRefType() || isPointer() || isString() || baseType==Type::tIterator || baseType==Type::autoinfer || baseType==Type::alias;

Callers 15

isValidArgumentTypeFunction · 0.80
isMatchingArgumentTypeFunction · 0.80
isSameTypeFunction · 0.80
visitMethod · 0.80
visitForSourceMethod · 0.80
visitLetInitMethod · 0.80
visitMethod · 0.80
isMatchingArgumentMethod · 0.80
inferFunctionCallMethod · 0.80
srcNeedTempVarFunction · 0.80
preVisitMethod · 0.80

Calls 1

isRefTypeFunction · 0.70

Tested by

no test coverage detected