()
| 1395 | |
| 1396 | // not_test: 'not' not_test | comparison |
| 1397 | private _parseNotTest(): ExpressionNode { |
| 1398 | if (this._consumeTokenIfKeyword(KeywordType.Not)) { |
| 1399 | let notExpr = this._parseNotTest(); |
| 1400 | return new UnaryExpressionNode(notExpr, OperatorType.Not); |
| 1401 | } |
| 1402 | |
| 1403 | return this._parseComparison(); |
| 1404 | } |
| 1405 | |
| 1406 | // comparison: expr (comp_op expr)* |
| 1407 | // comp_op: '<'|'>'|'=='|'>='|'<='|'<>'|'!='|'in'|'not' 'in'|'is'|'is' 'not' |
no test coverage detected