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

Function TypeInfo

include/daScript/simulate/debug_info.h:349–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347 uint32_t dimSize;
348 TypeInfo() = default;
349 TypeInfo ( Type _type, StructInfo * _structType, EnumInfo * _enumType, TypeAnnotation * _annotation_or_name,
350 TypeInfo * _firstType, TypeInfo * _secondType, TypeInfo ** _argTypes, const char ** _argNames, uint32_t _argCount,
351 uint32_t _dimSize, uint32_t * _dim, uint32_t _flags, uint32_t _size, uint64_t _hash ) {
352 type = _type;
353 if ( _structType ) { structType = _structType; DAS_ASSERT(!_enumType && !_annotation_or_name); }
354 else if ( _enumType ) { enumType = _enumType; DAS_ASSERT(!_structType && !_annotation_or_name); }
355 else { annotation_or_name = _annotation_or_name; DAS_ASSERT(!_structType && !_enumType); }
356 firstType = _firstType;
357 secondType = _secondType;
358 argTypes = _argTypes;
359 argNames = _argNames;
360 argCount = _argCount;
361 dimSize = _dimSize;
362 dim = _dim;
363 flags = _flags;
364 size = _size;
365 hash = _hash;
366 }
367 __forceinline bool isRef() const { return flags & flag_ref; }
368 __forceinline bool isRefType() const { return flags & flag_refType; }
369 __forceinline bool isRefValue() const { return flags & flag_refValue; }

Callers 1

debug_info.hFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected