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

Function isSimpleBaseType

include/daScript/simulate/debug_info.h:377–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375 __forceinline bool isImplicit() const { return flags & flag_isImplicit; }
376 __forceinline bool isSmartPtr() const { return flags & flag_isSmartPtr; }
377 __forceinline static bool isSimpleBaseType(Type t) {
378 switch ( t ) {
379 case Type::tString:
380 case Type::tStructure:
381 case Type::tHandle:
382 case Type::tTuple:
383 case Type::tVariant:
384 case Type::tArray:
385 case Type::tTable:
386 case Type::tLambda:
387 case Type::tIterator:
388 case Type::tBlock:
389 case Type::tPointer:
390 return false;
391 default:
392 return true;
393 }
394 }
395 __forceinline bool isSimpleType() const {
396 return dimSize == 0 && isSimpleBaseType(type);
397 }

Callers 2

isSimpleTypeFunction · 0.85
isDimOfSimpleTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected