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

Method isVariant

include/daScript/ast/ast_typedecl.h:826–828  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

824 }
825
826 __forceinline bool TypeDecl::isVariant() const {
827 return (baseType==Type::tVariant) && (dim.size()==0);
828 }
829
830 __forceinline bool TypeDecl::isMoveableValue() const {
831 return (isPointer() && smartPtr) || isLambda() || isIterator();

Callers 8

visitMethod · 0.80
visitMethod · 0.80
makeCloneVariantFunction · 0.80
generateVariantFinalizerFunction · 0.80
sv_trySimulate_FieldMethod · 0.80
visitMethod · 0.80
visitMakeArrayIndexMethod · 0.80
visitMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected