Mercurial > python-compiler.rs
comparison src/python_ast.rs @ 57:e5a808ec31c0
Add ast.Assert.
author | Bastien Orivel <eijebong@bananium.fr> |
---|---|
date | Sun, 12 Jun 2016 18:21:15 +0200 |
parents | c3cc16b933d2 |
children | 407b3b217928 |
comparison
equal
deleted
inserted
replaced
56:c3cc16b933d2 | 57:e5a808ec31c0 |
---|---|
50 | 50 |
51 // Try(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody) | 51 // Try(stmt* body, excepthandler* handlers, stmt* orelse, stmt* finalbody) |
52 //Try(Vec<stmt>, Vec<excepthandler>, Vec<stmt>, Vec<stmt>) | 52 //Try(Vec<stmt>, Vec<excepthandler>, Vec<stmt>, Vec<stmt>) |
53 | 53 |
54 // Assert(expr test, expr? msg) | 54 // Assert(expr test, expr? msg) |
55 //Assert(expr, Option<expr>) | 55 Assert(expr, Option<expr>), |
56 | 56 |
57 // Import(alias* names) | 57 // Import(alias* names) |
58 Import(Vec<alias>), | 58 Import(Vec<alias>), |
59 | 59 |
60 // ImportFrom(identifier? module, alias* names, int? level) | 60 // ImportFrom(identifier? module, alias* names, int? level) |