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

Side by Side Diff: pkg/analyzer/lib/src/generated/constant.dart

Issue 103233003: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/analyzer/lib/src/generated/ast.dart ('k') | pkg/analyzer/lib/src/generated/element.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // This code was auto-generated, is not intended to be edited, and is subject to 1 // This code was auto-generated, is not intended to be edited, and is subject to
2 // significant change. Please see the README file for more information. 2 // significant change. Please see the README file for more information.
3 3
4 library engine.constant; 4 library engine.constant;
5 5
6 import 'java_core.dart'; 6 import 'java_core.dart';
7 import 'source.dart' show Source; 7 import 'source.dart' show Source;
8 import 'error.dart' show AnalysisError, ErrorCode, CompileTimeErrorCode; 8 import 'error.dart' show AnalysisError, ErrorCode, CompileTimeErrorCode;
9 import 'scanner.dart' show TokenType; 9 import 'scanner.dart' show TokenType;
10 import 'ast.dart'; 10 import 'ast.dart';
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 void addEdge(N head, N tail) { 599 void addEdge(N head, N tail) {
600 Set<N> tails = _edges[tail]; 600 Set<N> tails = _edges[tail];
601 if (tails == null) { 601 if (tails == null) {
602 _edges[tail] = new Set<N>(); 602 _edges[tail] = new Set<N>();
603 } 603 }
604 tails = _edges[head]; 604 tails = _edges[head];
605 if (tails == null) { 605 if (tails == null) {
606 tails = new Set<N>(); 606 tails = new Set<N>();
607 _edges[head] = tails; 607 _edges[head] = tails;
608 } 608 }
609 javaSetAdd(tails, tail); 609 tails.add(tail);
610 } 610 }
611 611
612 /** 612 /**
613 * Add the given node to the set of nodes in the graph. 613 * Add the given node to the set of nodes in the graph.
614 * 614 *
615 * @param node the node to be added 615 * @param node the node to be added
616 */ 616 */
617 void addNode(N node) { 617 void addNode(N node) {
618 Set<N> tails = _edges[node]; 618 Set<N> tails = _edges[node];
619 if (tails == null) { 619 if (tails == null) {
(...skipping 1349 matching lines...) Expand 10 before | Expand all | Expand 10 after
1969 ValidResult valueOf3(double value) => new ValidResult(value); 1969 ValidResult valueOf3(double value) => new ValidResult(value);
1970 1970
1971 /** 1971 /**
1972 * Return a result object representing the given value. 1972 * Return a result object representing the given value.
1973 * 1973 *
1974 * @param value the value to be represented as a result object 1974 * @param value the value to be represented as a result object
1975 * @return a result object representing the given value 1975 * @return a result object representing the given value
1976 */ 1976 */
1977 ValidResult valueOf4(String value) => new ValidResult(value); 1977 ValidResult valueOf4(String value) => new ValidResult(value);
1978 } 1978 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/ast.dart ('k') | pkg/analyzer/lib/src/generated/element.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698