()
| 2112 | // https://tc39.github.io/ecma262/#sec-if-statement |
| 2113 | |
| 2114 | parseIfClause(): Node.Statement { |
| 2115 | if (this.context.strict && this.matchKeyword('function')) { |
| 2116 | this.tolerateError(Messages.StrictFunction); |
| 2117 | } |
| 2118 | return this.parseStatement(); |
| 2119 | } |
| 2120 | |
| 2121 | parseIfStatement(): Node.IfStatement { |
| 2122 | const node = this.createNode(); |
no test coverage detected