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

Method getR2VType

src/ast/ast_typedecl.cpp:99–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 }
98
99 Type TypeDecl::getR2VType() const {
100 if ( baseType==Type::tHandle ) {
101 auto valueType = annotation->makeValueType();
102 DAS_ASSERTF(valueType, "internal integration error. handle type %s has no value type", annotation->name.c_str());
103 return valueType->baseType;
104 } else {
105 return baseType;
106 }
107 }
108
109 bool TypeDecl::isClass() const { // CANT BE INLINED DUE TO STRUCT TYPE
110 return isStructure() && structType && structType->isClass;

Callers 15

sv_makeLocalCMResMoveMethod · 0.80
sv_makeLocalCMResCopyMethod · 0.80
sv_makeLocalRefMoveMethod · 0.80
sv_makeLocalRefCopyMethod · 0.80
sv_makeLocalMoveMethod · 0.80
sv_makeLocalCopyMethod · 0.80
sv_makeCopyMethod · 0.80
sv_makeMoveMethod · 0.80
GetR2VFunction · 0.80
visitMethod · 0.80
sv_trySimulate_AtMethod · 0.80

Calls 2

makeValueTypeMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected