| 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 | } |
no outgoing calls
no test coverage detected