| 295 | TypeComponent Arg1Type, |
| 296 | DimComponent Arg1Dim> |
| 297 | Type FunctionDescription2( ASTNode* call, int argIndex ) |
| 298 | { |
| 299 | Type type; |
| 300 | type.FromTokenType( OP_VOID ); |
| 301 | switch( argIndex ) |
| 302 | { |
| 303 | case 0: |
| 304 | type.builtInType = Arg0Type( call ); |
| 305 | Arg0Dim( call, type.width, type.height ); |
| 306 | return type; |
| 307 | case 1: |
| 308 | type.builtInType = Arg1Type( call ); |
| 309 | Arg1Dim( call, type.width, type.height ); |
| 310 | return type; |
| 311 | case -1: |
| 312 | type.builtInType = ResultType( call ); |
| 313 | ResultDim( call, type.width, type.height ); |
| 314 | return type; |
| 315 | } |
| 316 | return type; |
| 317 | } |
| 318 | |
| 319 | template < |
| 320 | TypeComponent ResultType, |
nothing calls this directly
no test coverage detected