| 396 | TypeComponent Arg3Type, |
| 397 | DimComponent Arg3Dim> |
| 398 | Type FunctionDescription4( ASTNode* call, int argIndex ) |
| 399 | { |
| 400 | Type type; |
| 401 | type.FromTokenType( OP_VOID ); |
| 402 | switch( argIndex ) |
| 403 | { |
| 404 | case 0: |
| 405 | type.builtInType = Arg0Type( call ); |
| 406 | Arg0Dim( call, type.width, type.height ); |
| 407 | return type; |
| 408 | case 1: |
| 409 | type.builtInType = Arg1Type( call ); |
| 410 | Arg1Dim( call, type.width, type.height ); |
| 411 | return type; |
| 412 | case 2: |
| 413 | type.builtInType = Arg2Type( call ); |
| 414 | Arg2Dim( call, type.width, type.height ); |
| 415 | return type; |
| 416 | case 3: |
| 417 | type.builtInType = Arg3Type( call ); |
| 418 | Arg3Dim( call, type.width, type.height ); |
| 419 | return type; |
| 420 | case -1: |
| 421 | type.builtInType = ResultType( call ); |
| 422 | ResultDim( call, type.width, type.height ); |
| 423 | return type; |
| 424 | } |
| 425 | return type; |
| 426 | } |
| 427 | |
| 428 | template < |
| 429 | TypeComponent ResultType, |
nothing calls this directly
no test coverage detected