Mercurial > python-compiler.rs
comparison src/python_ast.rs @ 59:407b3b217928
Add ast.With.
author | Bastien Orivel <eijebong@bananium.fr> |
---|---|
date | Sun, 12 Jun 2016 20:14:27 +0200 |
parents | e5a808ec31c0 |
children | 9f0f457a67f6 |
comparison
equal
deleted
inserted
replaced
58:a0b23123901b | 59:407b3b217928 |
---|---|
38 | 38 |
39 // If(expr test, stmt* body, stmt* orelse) | 39 // If(expr test, stmt* body, stmt* orelse) |
40 If(expr, Vec<stmt>, Vec<stmt>), | 40 If(expr, Vec<stmt>, Vec<stmt>), |
41 | 41 |
42 // With(withitem* items, stmt* body) | 42 // With(withitem* items, stmt* body) |
43 //With(Vec<withitem>, Vec<stmt>) | 43 With(Vec<withitem>, Vec<stmt>), |
44 | 44 |
45 // AsyncWith(withitem* items, stmt* body) | 45 // AsyncWith(withitem* items, stmt* body) |
46 //AsyncWith(Vec<withitem>, Vec<stmt>) | 46 //AsyncWith(Vec<withitem>, Vec<stmt>) |
47 | 47 |
48 // Raise(expr? exc, expr? cause) | 48 // Raise(expr? exc, expr? cause) |