@@ -1230,78 +1230,81 @@ export type TypeInfo = {
1230
1230
export type TypeDesc = ExpressionValueTypeDef & TypeInfo ;
1231
1231
1232
1232
export type FunctionParameterTypeDef =
1233
- XYZTypeDef < FunctionParameterTypeExtensions > ;
1233
+ ExpressionValueExtTypeDef < FunctionParameterTypeExtensions > ;
1234
1234
export type FunctionParamTypeDesc = FunctionParameterTypeDef & {
1235
1235
expressionType : ExpressionType | undefined ;
1236
1236
evalSpace : EvalSpace ;
1237
1237
} ;
1238
1238
1239
- interface ScalarArrayXYZTypeDef < XYZ > {
1239
+ interface ScalarArrayExtTypeDef < TypeExtensions > {
1240
1240
type : 'array' ;
1241
- elementTypeDef : Exclude < XYZTypeDef < XYZ > , RecordXYZTypeDef < XYZ > > ;
1241
+ elementTypeDef : Exclude <
1242
+ ExpressionValueExtTypeDef < TypeExtensions > ,
1243
+ RecordExtTypeDef < TypeExtensions >
1244
+ > ;
1242
1245
}
1243
1246
1244
- type XYZTypeDef < XYZ > =
1247
+ type ExpressionValueExtTypeDef < TypeExtensions > =
1245
1248
| AtomicTypeDef
1246
1249
| NonAtomicTypeDef
1247
- | ScalarArrayXYZTypeDef < XYZ >
1248
- | RecordXYZTypeDef < XYZ >
1249
- | RepeatedRecordXYZTypeDef < XYZ >
1250
- | XYZ ;
1250
+ | ScalarArrayExtTypeDef < TypeExtensions >
1251
+ | RecordExtTypeDef < TypeExtensions >
1252
+ | RepeatedRecordExtTypeDef < TypeExtensions >
1253
+ | TypeExtensions ;
1251
1254
1252
- interface RecordXYZTypeDef < XYZ > {
1255
+ interface RecordExtTypeDef < TypeExtensions > {
1253
1256
type : 'record' ;
1254
- fields : XYZFieldDef < XYZ > [ ] ;
1257
+ fields : ExtFieldDef < TypeExtensions > [ ] ;
1255
1258
}
1256
1259
1257
- type XYZFieldDef < XYZ > = FieldDef | ( XYZ & FieldBase ) ;
1260
+ type ExtFieldDef < TypeExtensions > = FieldDef | ( TypeExtensions & FieldBase ) ;
1258
1261
1259
- interface RepeatedRecordXYZTypeDef < XYZ > {
1262
+ interface RepeatedRecordExtTypeDef < TypeExtensions > {
1260
1263
type : 'array' ;
1261
1264
elementTypeDef : RecordElementTypeDef ;
1262
- fields : XYZFieldDef < XYZ > [ ] ;
1265
+ fields : ExtFieldDef < TypeExtensions > [ ] ;
1263
1266
}
1264
1267
1265
1268
type FunctionReturnTypeExtensions = GenericTypeDef ;
1266
1269
1267
1270
export type ScalarArrayFunctionReturnTypeDef =
1268
- ScalarArrayXYZTypeDef < FunctionReturnTypeExtensions > ;
1271
+ ScalarArrayExtTypeDef < FunctionReturnTypeExtensions > ;
1269
1272
1270
- export type FunctionReturnFieldDef = XYZFieldDef < FunctionReturnTypeExtensions > ;
1273
+ export type FunctionReturnFieldDef = ExtFieldDef < FunctionReturnTypeExtensions > ;
1271
1274
1272
1275
export type RecordFunctionReturnTypeDef =
1273
- RecordXYZTypeDef < FunctionReturnTypeExtensions > ;
1276
+ RecordExtTypeDef < FunctionReturnTypeExtensions > ;
1274
1277
1275
1278
export type RepeatedRecordFunctionReturnTypeDef =
1276
- RepeatedRecordXYZTypeDef < FunctionReturnTypeExtensions > ;
1279
+ RepeatedRecordExtTypeDef < FunctionReturnTypeExtensions > ;
1277
1280
1278
1281
type FunctionParameterTypeExtensions = GenericTypeDef | AnyTypeDef ;
1279
1282
1280
1283
export type ScalarArrayFunctionParameterTypeDef =
1281
- ScalarArrayXYZTypeDef < FunctionParameterTypeExtensions > ;
1284
+ ScalarArrayExtTypeDef < FunctionParameterTypeExtensions > ;
1282
1285
1283
1286
export type FunctionParameterFieldDef =
1284
- XYZFieldDef < FunctionParameterTypeExtensions > ;
1287
+ ExtFieldDef < FunctionParameterTypeExtensions > ;
1285
1288
1286
1289
export type RecordFunctionParameterTypeDef =
1287
- RecordXYZTypeDef < FunctionParameterTypeExtensions > ;
1290
+ RecordExtTypeDef < FunctionParameterTypeExtensions > ;
1288
1291
1289
1292
export type RepeatedRecordFunctionParameterTypeDef =
1290
- RepeatedRecordXYZTypeDef < FunctionParameterTypeExtensions > ;
1293
+ RepeatedRecordExtTypeDef < FunctionParameterTypeExtensions > ;
1291
1294
1292
1295
type FunctionGenericTypeExtensions = AnyTypeDef ;
1293
1296
1294
1297
export type ScalarArrayFunctionGenericTypeDef =
1295
- ScalarArrayXYZTypeDef < FunctionGenericTypeExtensions > ;
1298
+ ScalarArrayExtTypeDef < FunctionGenericTypeExtensions > ;
1296
1299
1297
1300
export type FunctionGenericFieldDef =
1298
- XYZFieldDef < FunctionGenericTypeExtensions > ;
1301
+ ExtFieldDef < FunctionGenericTypeExtensions > ;
1299
1302
1300
1303
export type RecordFunctionGenericTypeDef =
1301
- RecordXYZTypeDef < FunctionGenericTypeExtensions > ;
1304
+ RecordExtTypeDef < FunctionGenericTypeExtensions > ;
1302
1305
1303
1306
export type RepeatedRecordFunctionGenericTypeDef =
1304
- RepeatedRecordXYZTypeDef < FunctionGenericTypeExtensions > ;
1307
+ RepeatedRecordExtTypeDef < FunctionGenericTypeExtensions > ;
1305
1308
1306
1309
export interface GenericTypeDef {
1307
1310
type : 'generic' ;
@@ -1317,7 +1320,8 @@ export type TypeDescExtensions = {
1317
1320
evalSpace : EvalSpace ;
1318
1321
} ;
1319
1322
1320
- export type FunctionReturnTypeDef = XYZTypeDef < FunctionReturnTypeExtensions > ;
1323
+ export type FunctionReturnTypeDef =
1324
+ ExpressionValueExtTypeDef < FunctionReturnTypeExtensions > ;
1321
1325
export type FunctionReturnTypeDesc = FunctionReturnTypeDef & TypeDescExtensions ;
1322
1326
1323
1327
export type EvalSpace = 'constant' | 'input' | 'output' | 'literal' ;
@@ -1348,7 +1352,8 @@ export interface FunctionParameterDef {
1348
1352
isVariadic : boolean ;
1349
1353
}
1350
1354
1351
- export type FunctionGenericTypeDef = XYZTypeDef < FunctionGenericTypeExtensions > ;
1355
+ export type FunctionGenericTypeDef =
1356
+ ExpressionValueExtTypeDef < FunctionGenericTypeExtensions > ;
1352
1357
1353
1358
export interface FunctionOverloadDef {
1354
1359
// The expression type here is the MINIMUM return type
0 commit comments