(expr)
| 11538 | }; |
| 11539 | |
| 11540 | function transformForExpression(expr) { |
| 11541 | var content; |
| 11542 | if(/\bin\b/.test(expr)) { |
| 11543 | content = expr.substring(1, expr.length - 1).split(/\bin\b/g); |
| 11544 | return new AstForInExpression( transformStatement(trim(content[0])), |
| 11545 | transformExpression(content[1])); |
| 11546 | } else { |
| 11547 | content = expr.substring(1, expr.length - 1).split(";"); |
| 11548 | return new AstForExpression( transformStatement(trim(content[0])), |
| 11549 | transformExpression(content[1]), transformExpression(content[2])); |
| 11550 | } |
| 11551 | } |
| 11552 | |
| 11553 | function AstInnerInterface(name) { |
| 11554 | this.name = name; |
no test coverage detected