| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |