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

Method isRefType

src/ast/ast_typedecl.cpp:2583–2590  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2581 }
2582
2583 bool TypeDecl::isRefType() const {
2584 if ( dim.size() ) return true;
2585 if ( baseType==Type::tHandle ) return annotation->isRefType();
2586 return baseType==Type::tTuple || baseType==Type::tVariant ||
2587 baseType==Type::tStructure || baseType==Type::tArray ||
2588 baseType==Type::tTable || baseType==Type::tBlock ||
2589 baseType==Type::tIterator;
2590 }
2591
2592 bool TypeDecl::isTemp( bool topLevel, bool refMatters ) const {
2593 das_set<Structure *> dep;

Callers 15

preVisitMethod · 0.45
preVisitMethod · 0.45
preVisitArgumentMethod · 0.45
visitMethod · 0.45
preVisitBlockArgumentMethod · 0.45
isConstCastMethod · 0.45
addExternFuncFunction · 0.45
preVisitMethod · 0.45
verifyTypeMethod · 0.45
setBlockCopyMoveFlagsMethod · 0.45
inferReturnTypeMethod · 0.45
GetR2VFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected