Mercurial > python-compiler.rs
comparison src/ast_dump.rs @ 83:e59cd5754268
Add ast.Starred.
author | Bastien Orivel <eijebong@bananium.fr> |
---|---|
date | Mon, 13 Jun 2016 21:41:14 +0200 |
parents | 2d906d1cb940 |
children | ff6b1aeb544a |
comparison
equal
deleted
inserted
replaced
82:2d906d1cb940 | 83:e59cd5754268 |
---|---|
244 items.join(", ") | 244 items.join(", ") |
245 } | 245 } |
246 ) | 246 ) |
247 }, | 247 }, |
248 expr::Subscript(value, slice, _) => format!("{}[{}]", value.to_string(), slice.to_string()), | 248 expr::Subscript(value, slice, _) => format!("{}[{}]", value.to_string(), slice.to_string()), |
249 expr::Starred(value, _) => format!("*{}", value.to_string()), | |
249 } | 250 } |
250 } | 251 } |
251 } | 252 } |
252 | 253 |
253 impl to_string_able for arg { | 254 impl to_string_able for arg { |