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

Unified Diff: pkg/compiler/lib/src/code_organization.md

Issue 2250193002: Move definition of Feature next to definitions of WorldImpact and Use (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/code_organization.md
diff --git a/pkg/compiler/lib/src/code_organization.md b/pkg/compiler/lib/src/code_organization.md
new file mode 100644
index 0000000000000000000000000000000000000000..8fea527f6f33401f8d59652ddb2fefbdc94a1712
--- /dev/null
+++ b/pkg/compiler/lib/src/code_organization.md
@@ -0,0 +1,26 @@
+[comment]: WIP - code is being refactored...
+
+##General code organization of this pacakge
+
+ lib/src/
+ |- ...
+ |- universe/ - how we represent the closed-world semantics of a program.
+
+[comment]: TODO fill in the rest
+
+
+##Details
+
+### Universe
+[comment]: TODO rename universe => world
+[comment]: TODO consider merging feature.dart and use.dart
+
+How we represent the closed-world semantics of a program.
+
+universe/
+ |- feature.dart - Features that may be used in the program. Using a feature
+ | pulls in special code that the compiler needs to support it.
+ |- use.dart - Describes a use of an element (a method, a class) and how it
+ | is used by the program.
+
+
« no previous file with comments | « no previous file | pkg/compiler/lib/src/common/resolution.dart » ('j') | pkg/compiler/lib/src/universe/feature.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698