comparison src/ast_dump.rs @ 75:1abc8ca9f30b

Add ast.YieldFrom.
author Bastien Orivel <eijebong@bananium.fr>
date Mon, 13 Jun 2016 18:26:46 +0200
parents 97537c90d92d
children efd42fc280e8
comparison
equal deleted inserted replaced
74:97537c90d92d 75:1abc8ca9f30b
191 match *value { 191 match *value {
192 None => String::from("yield"), 192 None => String::from("yield"),
193 Some(value) => format!("yield {}", value.to_string()) 193 Some(value) => format!("yield {}", value.to_string())
194 } 194 }
195 }, 195 },
196 expr::YieldFrom(value) => format!("yield from {}", value.to_string()),
196 } 197 }
197 } 198 }
198 } 199 }
199 200
200 impl to_string_able for arg { 201 impl to_string_able for arg {