Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(185657)

Delta Between Two Patch Sets: Parser/Python.asdl

Issue 11682: PEP 380 reference implementation for 3.3
Left Patch Set: Created 7 years, 8 months ago
Right Patch Set: Created 7 years, 6 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
1 -- ASDL's five builtin types are identifier, int, string, bytes, object 1 -- ASDL's five builtin types are identifier, int, string, bytes, object
2 2
3 module Python 3 module Python
4 { 4 {
5 mod = Module(stmt* body) 5 mod = Module(stmt* body)
6 | Interactive(stmt* body) 6 | Interactive(stmt* body)
7 | Expression(expr body) 7 | Expression(expr body)
8 8
9 -- not really an actual node but useful in Jython's typesystem. 9 -- not really an actual node but useful in Jython's typesystem.
10 | Suite(stmt* body) 10 | Suite(stmt* body)
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 -- keyword arguments supplied to call 111 -- keyword arguments supplied to call
112 keyword = (identifier arg, expr value) 112 keyword = (identifier arg, expr value)
113 113
114 -- import name with optional 'as' alias. 114 -- import name with optional 'as' alias.
115 alias = (identifier name, identifier? asname) 115 alias = (identifier name, identifier? asname)
116 116
117 withitem = (expr context_expr, expr? optional_vars) 117 withitem = (expr context_expr, expr? optional_vars)
118 } 118 }
119 119
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+