| 326 | DimComponent Arg1Dim, |
| 327 | int Arg1Modifier> |
| 328 | Type FunctionDescription2Ex( ASTNode* call, int argIndex ) |
| 329 | { |
| 330 | Type type; |
| 331 | type.FromTokenType( OP_VOID ); |
| 332 | switch( argIndex ) |
| 333 | { |
| 334 | case 0: |
| 335 | type.builtInType = Arg0Type( call ); |
| 336 | Arg0Dim( call, type.width, type.height ); |
| 337 | type.modifier = Arg0Modifier; |
| 338 | return type; |
| 339 | case 1: |
| 340 | type.builtInType = Arg1Type( call ); |
| 341 | Arg1Dim( call, type.width, type.height ); |
| 342 | type.modifier = Arg1Modifier; |
| 343 | return type; |
| 344 | case -1: |
| 345 | type.builtInType = ResultType( call ); |
| 346 | ResultDim( call, type.width, type.height ); |
| 347 | return type; |
| 348 | } |
| 349 | return type; |
| 350 | } |
| 351 | |
| 352 | template < |
| 353 | TypeComponent ResultType, |
nothing calls this directly
no test coverage detected