(type, args)
| 264 | } |
| 265 | |
| 266 | parse(type, args) { |
| 267 | if (type === 'Transformation.union') { |
| 268 | return args['A']; |
| 269 | } |
| 270 | var result = []; |
| 271 | var tempArgs = this.turfMap[type]; |
| 272 | if (tempArgs) { |
| 273 | tempArgs.map(function (key) { |
| 274 | result.push(args[key]); |
| 275 | return args[key]; |
| 276 | }); |
| 277 | } |
| 278 | return result; |
| 279 | } |
| 280 | |
| 281 | parseOption(type,args){ |
| 282 | var result = []; |
no test coverage detected