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

Unified Diff: pkg/analyzer/lib/src/generated/ast.dart

Issue 184893003: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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/analyzer/lib/src/generated/ast.dart
diff --git a/pkg/analyzer/lib/src/generated/ast.dart b/pkg/analyzer/lib/src/generated/ast.dart
index 738761b7911c163c79bb76b384f7bf0a96bd07d7..6b3240a99231d0145b86b5539cc7992383001901 100644
--- a/pkg/analyzer/lib/src/generated/ast.dart
+++ b/pkg/analyzer/lib/src/generated/ast.dart
@@ -10094,6 +10094,11 @@ class SimpleStringLiteral extends StringLiteral {
String _value;
/**
+ * The toolkit specific element associated with this literal, or `null`.
+ */
+ Element _toolkitElement;
+
+ /**
* Initialize a newly created simple string literal.
*
* @param literal the token representing the literal
@@ -10110,6 +10115,13 @@ class SimpleStringLiteral extends StringLiteral {
Token get endToken => literal;
/**
+ * Return the toolkit specific, non-Dart, element associated with this literal, or `null`.
+ *
+ * @return the element associated with this literal
+ */
+ Element get toolkitElement => _toolkitElement;
+
+ /**
* Return the value of the literal.
*
* @return the value of the literal
@@ -10157,6 +10169,15 @@ class SimpleStringLiteral extends StringLiteral {
bool get isSynthetic => literal.isSynthetic;
/**
+ * Set the toolkit specific, non-Dart, element associated with this literal.
+ *
+ * @param element the toolkit specific element to be associated with this literal
+ */
+ void set toolkitElement(Element element) {
+ _toolkitElement = element;
+ }
+
+ /**
* Set the value of the literal to the given string.
*
* @param string the value of the literal
@@ -12176,6 +12197,7 @@ class ConstantEvaluator extends GeneralizingASTVisitor<Object> {
} else if (leftOperand is double && rightOperand is double) {
return leftOperand ~/ rightOperand;
}
+ } else {
}
break;
}
@@ -12258,6 +12280,7 @@ class ConstantEvaluator extends GeneralizingASTVisitor<Object> {
} else if (operand is double) {
return -operand;
}
+ } else {
}
break;
}

Powered by Google App Engine
This is Rietveld 408576698