Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Issue 257863002: Prototype API for accessing AST nodes. (Closed)

Created:
6 years, 8 months ago by ahe
Modified:
5 years, 10 months ago
Reviewers:
Johnni Winther, kevmoo
CC:
reviews_dartlang.org, sra1, Emily Fortuna
Visibility:
Public.

Description

Prototype API for accessing AST nodes. Includes sample that illustrates use. BUG=http://dartbug.com/18346

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -11 lines) Patch
M dart/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirrors.dart View 2 chunks +41 lines, -0 lines 2 comments Download
A dart/sdk/lib/_internal/compiler/samples/constants/constants.dart View 1 chunk +141 lines, -0 lines 0 comments Download
A + dart/sdk/lib/_internal/compiler/samples/constants/sample_input.dart View 1 chunk +6 lines, -11 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
ahe
6 years, 8 months ago (2014-04-25 12:04:34 UTC) #1
kevmoo
DBR https://codereview.chromium.org/257863002/diff/1/dart/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirrors.dart File dart/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirrors.dart (right): https://codereview.chromium.org/257863002/diff/1/dart/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirrors.dart#newcode456 dart/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirrors.dart:456: final node; Types here? Is nice...
6 years, 8 months ago (2014-04-25 12:58:11 UTC) #2
ahe
6 years, 8 months ago (2014-04-25 13:06:09 UTC) #3
https://codereview.chromium.org/257863002/diff/1/dart/sdk/lib/_internal/compi...
File dart/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirrors.dart
(right):

https://codereview.chromium.org/257863002/diff/1/dart/sdk/lib/_internal/compi...
dart/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirrors.dart:456:
final node;
On 2014/04/25 12:58:11, kevmoo wrote:
> Types here? Is nice...

I didn't want to add types as I didn't want to add another import. However, the
library that defines the type is already imported :-)

I should also add a comment that describes the purpose of this class.

Powered by Google App Engine
This is Rietveld 408576698