Mercurial > python-compiler.rs
comparison src/python_ast.rs @ 17:f1c77634a2eb
Add ast.Tuple
author | Bastien Orivel <eijebong@bananium.fr> |
---|---|
date | Thu, 02 Jun 2016 23:47:54 +0200 |
parents | b21a246349f3 |
children | 7af637f444d1 |
comparison
equal
deleted
inserted
replaced
16:b21a246349f3 | 17:f1c77634a2eb |
---|---|
109 Attribute(Box<expr>, String, expr_context), | 109 Attribute(Box<expr>, String, expr_context), |
110 //Subscript(Box<expr>, slice, expr_context), | 110 //Subscript(Box<expr>, slice, expr_context), |
111 //Starred(Box<expr>, expr_context), | 111 //Starred(Box<expr>, expr_context), |
112 Name(String, expr_context), | 112 Name(String, expr_context), |
113 List(Vec<expr>, expr_context), | 113 List(Vec<expr>, expr_context), |
114 //Tuple(Vec<expr>, expr_context), | 114 Tuple(Vec<expr>, expr_context), |
115 } | 115 } |
116 | 116 |
117 #[derive(Clone, Debug, PartialEq, Eq, Hash)] | 117 #[derive(Clone, Debug, PartialEq, Eq, Hash)] |
118 pub enum expr_context { | 118 pub enum expr_context { |
119 Load, | 119 Load, |