| 359 | TypeComponent Arg2Type, |
| 360 | DimComponent Arg2Dim> |
| 361 | Type FunctionDescription3( ASTNode* call, int argIndex ) |
| 362 | { |
| 363 | Type type; |
| 364 | type.FromTokenType( OP_VOID ); |
| 365 | switch( argIndex ) |
| 366 | { |
| 367 | case 0: |
| 368 | type.builtInType = Arg0Type( call ); |
| 369 | Arg0Dim( call, type.width, type.height ); |
| 370 | return type; |
| 371 | case 1: |
| 372 | type.builtInType = Arg1Type( call ); |
| 373 | Arg1Dim( call, type.width, type.height ); |
| 374 | return type; |
| 375 | case 2: |
| 376 | type.builtInType = Arg2Type( call ); |
| 377 | Arg2Dim( call, type.width, type.height ); |
| 378 | return type; |
| 379 | case -1: |
| 380 | type.builtInType = ResultType( call ); |
| 381 | ResultDim( call, type.width, type.height ); |
| 382 | return type; |
| 383 | } |
| 384 | return type; |
| 385 | } |
| 386 | |
| 387 | template < |
| 388 | TypeComponent ResultType, |
nothing calls this directly
no test coverage detected