Mercurial > python-compiler.rs
comparison src/python_ast.rs @ 51:ded1907b7a69
Add ast.Nonlocal.
author | Bastien Orivel <eijebong@bananium.fr> |
---|---|
date | Wed, 08 Jun 2016 17:26:09 +0200 |
parents | 5edbc24b625f |
children | d9838e8b3ec5 |
comparison
equal
deleted
inserted
replaced
50:5edbc24b625f | 51:ded1907b7a69 |
---|---|
62 | 62 |
63 // Global(identifier* names) | 63 // Global(identifier* names) |
64 Global(Vec<String>), | 64 Global(Vec<String>), |
65 | 65 |
66 // Nonlocal(identifier* names) | 66 // Nonlocal(identifier* names) |
67 //Nonlocal(Vec<String>), | 67 Nonlocal(Vec<String>), |
68 | 68 |
69 // expr(expr value) | 69 // expr(expr value) |
70 Expr(expr), | 70 Expr(expr), |
71 | 71 |
72 // Pass | Break | Continue | 72 // Pass | Break | Continue |