Mercurial > python-compiler.rs
comparison src/python_ast.rs @ 66:32550e12aedf
Simplify some expressions in ast_dump.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Mon, 13 Jun 2016 01:39:20 +0100 |
parents | d255a932553f |
children | c59ad5ccd8a6 |
comparison
equal
deleted
inserted
replaced
65:ce5e27a3f277 | 66:32550e12aedf |
---|---|
58 | 58 |
59 // Import(alias* names) | 59 // Import(alias* names) |
60 Import(Vec<alias>), | 60 Import(Vec<alias>), |
61 | 61 |
62 // ImportFrom(identifier? module, alias* names, int? level) | 62 // ImportFrom(identifier? module, alias* names, int? level) |
63 ImportFrom(String, Vec<alias>, Option<i32>), | 63 ImportFrom(String, Vec<alias>, Option<usize>), |
64 | 64 |
65 // Global(identifier* names) | 65 // Global(identifier* names) |
66 Global(Vec<String>), | 66 Global(Vec<String>), |
67 | 67 |
68 // Nonlocal(identifier* names) | 68 // Nonlocal(identifier* names) |