Chromium Code Reviews
DescriptionDuring resolution, record the target of break/continue statements.
This adds a new "target" field to BreakStatement and ContinueStatement
which points to the AST for the statement that the break/continue is
breaking from or continuing to. For labeled break and continue
statements, this will always be the statement identified by the label
(not the LabeledStatement itself but its child). For unlabeled break
and continue statements, this will be the innermost enclosing loop (or
switch statement, for break statements), provided that it is not in an
enclosing function.
R=brianwilkerson@google.com
Committed: https://code.google.com/p/dart/source/detail?r=41961
Patch Set 1 #
Total comments: 3
Messages
Total messages: 6 (1 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||