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

Unified Diff: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertyDescriptorHelper.java

Issue 10832274: Initial parser changes for the new directive syntax (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertyDescriptorHelper.java
===================================================================
--- editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertyDescriptorHelper.java (revision 10597)
+++ editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/dom/PropertyDescriptorHelper.java (working copy)
@@ -695,7 +695,7 @@
DART_IMPORT_DIRECTIVE_PREFIX = new ChildPropertyDescriptor(
DartImportDirective.class,
"prefix",
- DartStringLiteral.class,
+ DartIdentifier.class,
StructuralPropertyDescriptor.MANDATORY,
StructuralPropertyDescriptor.NO_CYCLE_RISK);
@@ -781,7 +781,7 @@
DART_LIBRARY_DIRECTIVE_NAME = new ChildPropertyDescriptor(
DartLibraryDirective.class,
"name",
- DartStringLiteral.class,
+ DartExpression.class,
StructuralPropertyDescriptor.MANDATORY,
StructuralPropertyDescriptor.NO_CYCLE_RISK);

Powered by Google App Engine
This is Rietveld 408576698