Analyzer should offer an API for analyzing an AST without generating source first #17223
Labels
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P2
A bug or feature request we're likely to work on
type-enhancement
A request for a change that isn't a bug
This issue was originally filed by @zoechi
What steps will reproduce the problem?
1.
I made an attempt to build a graphical designer which produces Dart code as output.
I prefer building an AST instead concatenating strings.
It seems that there is no API to make the analyzer analyze the AST without generating source code from the AST first.
This seems very inefficient to me because the first thing the analyzer seems to doing is parsing the source and generating an AST.
See also this discussion https://groups.google.com/a/dartlang.org/forum/#!topic/misc/XIOYIAwzCLE
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Dart VM version: 1.3.0-dev.0.1 (Thu Feb 27 08:23:24 2014) on "linux_x64"
Analyzer 0.11.10
Please provide any additional information below.
The text was updated successfully, but these errors were encountered: