-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathValueType.cs
More file actions
125 lines (117 loc) · 2.24 KB
/
ValueType.cs
File metadata and controls
125 lines (117 loc) · 2.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace NewPaloAltoTB;
/// <summary>
/// A value type. May be associated with an expression or a variable.
/// </summary>
internal enum ValueType {
None,
//integers
//Byte,
//Int8, // 8-bit int
//UByte,
//UInt8, // unsigned version
Short,
//Int16, // 16-bit
//UShort,
//UInt16, Word,
Int,
//Int32, // 32-bit, AKA Int32
//UInt,
//UInt32,
//DWord,
//Int64,
//Long, // 64-bit, AKA Long
//UInt64,
//ULong,
//QWord,
//Int128,
//UInt128,
////floating points
////Float24, // 24 bit weak floating point? typically not useful (maybe in sound recording)
//Float, // IEEE single precision (32 bits: sign x 1, mantissa x 23, exponent x 8)
Double, // IEEE double precision (64 bits: sign x 1, mantissa x 52, exponent x 11)
////logical
Bool,
////chars
//Char,
//CharUTF8,
//WChar,
//CharUTF16,
////CharUTF24,
////CharUTF32,
////strings
String,
//AnsiString,
//UnicodeString,
//Object,
//Variant, //class or boxed native type
//ObjectOf, //a specific class or boxed native type
//List,
//ListOf, //list of Object, list of specific type
//Map,
//MapOf,
//Dict,
//DictOf,
//Dictionary,
//DictionaryOf, //(synonyms: typeless or type specific)
//Set,
//SetOf,
//Stack,
//StackOf,
//Queue,
//QueueOf,
//BTree,
//BTreeOf,
//Tree,
//TreeOf,
//Array,
//ArrayOf,
//Tuple,
//TupleOf,
/* What about...
*
* enum
* struct
* nullables
* bitarray
* media types (bmp/others, wav/others, icons, glyphs, svg, others?)
* json?
* expando-ish objects
*/
//Collection,
//CollectionOf,
//Reference,
//Class,
//Struct,
//Set,
//Dict,
//Object,
//Variant,
/*
VTByte,
VTShort,
VTInt,
VTLong,
VTSingle,
VTFloat,
VTDouble,
VTBool,
VTChar,
VTString,
//VTArray,
VTArrayOf,
VTStruct,
VTEnumOf,
VTCodeRef,
VTCode,
VTSet,
VTDict,
VTObject,
VTVariant,
VTTuple,
*/
}