@@ -413,6 +413,8 @@ class VoidType extends DotNet::ValueOrRefType, Type, @void_type {
413
413
final override string getUndecoratedName ( ) { result = "Void" }
414
414
415
415
override SystemNamespace getDeclaringNamespace ( ) { any ( ) }
416
+
417
+ override string getAPrimaryQlClass ( ) { result = "VoidType" }
416
418
}
417
419
418
420
/**
@@ -454,6 +456,8 @@ class BoolType extends SimpleType, @bool_type {
454
456
override string toStringWithTypes ( ) { result = "bool" }
455
457
456
458
override int getSize ( ) { result = 1 }
459
+
460
+ override string getAPrimaryQlClass ( ) { result = "BoolType" }
457
461
}
458
462
459
463
/**
@@ -467,6 +471,8 @@ class CharType extends SimpleType, @char_type {
467
471
override int minValue ( ) { result = 0 }
468
472
469
473
override int maxValue ( ) { result = 65535 }
474
+
475
+ override string getAPrimaryQlClass ( ) { result = "CharType" }
470
476
}
471
477
472
478
/**
@@ -506,6 +512,8 @@ class SByteType extends SignedIntegralType, @sbyte_type {
506
512
override int minValue ( ) { result = - 128 }
507
513
508
514
override int maxValue ( ) { result = 127 }
515
+
516
+ override string getAPrimaryQlClass ( ) { result = "SByteType" }
509
517
}
510
518
511
519
/**
@@ -519,6 +527,8 @@ class ShortType extends SignedIntegralType, @short_type {
519
527
override int minValue ( ) { result = - 32768 }
520
528
521
529
override int maxValue ( ) { result = 32767 }
530
+
531
+ override string getAPrimaryQlClass ( ) { result = "ShortType" }
522
532
}
523
533
524
534
/**
@@ -532,6 +542,8 @@ class IntType extends SignedIntegralType, @int_type {
532
542
override int minValue ( ) { result = - 2147483647 - 1 }
533
543
534
544
override int maxValue ( ) { result = 2147483647 }
545
+
546
+ override string getAPrimaryQlClass ( ) { result = "IntType" }
535
547
}
536
548
537
549
/**
@@ -541,6 +553,8 @@ class LongType extends SignedIntegralType, @long_type {
541
553
override string toStringWithTypes ( ) { result = "long" }
542
554
543
555
override int getSize ( ) { result = 8 }
556
+
557
+ override string getAPrimaryQlClass ( ) { result = "LongType" }
544
558
}
545
559
546
560
/**
@@ -552,6 +566,8 @@ class ByteType extends UnsignedIntegralType, @byte_type {
552
566
override int getSize ( ) { result = 1 }
553
567
554
568
override int maxValue ( ) { result = 255 }
569
+
570
+ override string getAPrimaryQlClass ( ) { result = "ByteType" }
555
571
}
556
572
557
573
/**
@@ -563,6 +579,8 @@ class UShortType extends UnsignedIntegralType, @ushort_type {
563
579
override int getSize ( ) { result = 2 }
564
580
565
581
override int maxValue ( ) { result = 65535 }
582
+
583
+ override string getAPrimaryQlClass ( ) { result = "UShortType" }
566
584
}
567
585
568
586
/**
@@ -572,6 +590,8 @@ class UIntType extends UnsignedIntegralType, @uint_type {
572
590
override string toStringWithTypes ( ) { result = "uint" }
573
591
574
592
override int getSize ( ) { result = 4 }
593
+
594
+ override string getAPrimaryQlClass ( ) { result = "UIntType" }
575
595
}
576
596
577
597
/**
@@ -581,6 +601,8 @@ class ULongType extends UnsignedIntegralType, @ulong_type {
581
601
override string toStringWithTypes ( ) { result = "ulong" }
582
602
583
603
override int getSize ( ) { result = 8 }
604
+
605
+ override string getAPrimaryQlClass ( ) { result = "ULongType" }
584
606
}
585
607
586
608
/**
@@ -597,6 +619,8 @@ class FloatType extends FloatingPointType, @float_type {
597
619
override string toStringWithTypes ( ) { result = "float" }
598
620
599
621
override int getSize ( ) { result = 4 }
622
+
623
+ override string getAPrimaryQlClass ( ) { result = "FloatType" }
600
624
}
601
625
602
626
/**
@@ -606,6 +630,8 @@ class DoubleType extends FloatingPointType, @double_type {
606
630
override string toStringWithTypes ( ) { result = "double" }
607
631
608
632
override int getSize ( ) { result = 8 }
633
+
634
+ override string getAPrimaryQlClass ( ) { result = "DoubleType" }
609
635
}
610
636
611
637
/**
@@ -615,6 +641,8 @@ class DecimalType extends SimpleType, @decimal_type {
615
641
override string toStringWithTypes ( ) { result = "decimal" }
616
642
617
643
override int getSize ( ) { result = 16 }
644
+
645
+ override string getAPrimaryQlClass ( ) { result = "DecimalType" }
618
646
}
619
647
620
648
/**
@@ -775,6 +803,8 @@ class ObjectType extends Class {
775
803
ObjectType ( ) { this .hasQualifiedName ( "System.Object" ) }
776
804
777
805
override string toStringWithTypes ( ) { result = "object" }
806
+
807
+ override string getAPrimaryQlClass ( ) { result = "ObjectType" }
778
808
}
779
809
780
810
/**
@@ -784,6 +814,8 @@ class StringType extends Class {
784
814
StringType ( ) { this .hasQualifiedName ( "System.String" ) }
785
815
786
816
override string toStringWithTypes ( ) { result = "string" }
817
+
818
+ override string getAPrimaryQlClass ( ) { result = "StringType" }
787
819
}
788
820
789
821
/**
@@ -910,7 +942,9 @@ class FunctionPointerType extends Type, Parameterizable, @function_pointer_type
910
942
/**
911
943
* The `null` type. The type of the `null` literal.
912
944
*/
913
- class NullType extends RefType , @null_type { }
945
+ class NullType extends RefType , @null_type {
946
+ override string getAPrimaryQlClass ( ) { result = "NullType" }
947
+ }
914
948
915
949
/**
916
950
* A nullable type, for example `int?`.
@@ -1124,6 +1158,8 @@ class TupleType extends ValueType, @tuple_type {
1124
1158
final override predicate hasQualifiedName ( string qualifier , string name ) {
1125
1159
this .getUnderlyingType ( ) .hasQualifiedName ( qualifier , name )
1126
1160
}
1161
+
1162
+ override string getAPrimaryQlClass ( ) { result = "TupleType" }
1127
1163
}
1128
1164
1129
1165
/**
0 commit comments