Mercurial > python-compiler.rs
comparison src/python_ast.rs @ 91:859d44f143b8
Implement Bytes in the AST.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sat, 25 Jun 2016 02:08:50 +0100 |
parents | a7b1db623f41 |
children |
comparison
equal
deleted
inserted
replaced
90:4e62a8927dcc | 91:859d44f143b8 |
---|---|
100 Compare(Box<expr>, Vec<cmpop>, Vec<expr>), | 100 Compare(Box<expr>, Vec<cmpop>, Vec<expr>), |
101 | 101 |
102 Call(Box<expr>, Vec<expr>, Vec<keyword>), | 102 Call(Box<expr>, Vec<expr>, Vec<keyword>), |
103 Num(String), | 103 Num(String), |
104 Str(String), | 104 Str(String), |
105 //Bytes(String), | 105 Bytes(Vec<u8>), |
106 NameConstant(name_constant), | 106 NameConstant(name_constant), |
107 Ellipsis, | 107 Ellipsis, |
108 | 108 |
109 // the following expression can appear in assignment context | 109 // the following expression can appear in assignment context |
110 Attribute(Box<expr>, String, expr_context), | 110 Attribute(Box<expr>, String, expr_context), |