|
Implement the new '?.' operator in analyzer.
As in r44802, the new operator is only accepted by the tokenizer if
the command-line option "--enable-null-aware-operators" is supplied.
Only static analysis of '?.' is implemented; however, the tests in
tests/language will verify behavior once it is implemented.
R=brianwilkerson@google.com
Committed: https://code.google.com/p/dart/source/detail?r=44907
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+456 lines, -28 lines) |
Patch |
|
M |
pkg/analyzer/lib/src/generated/ast.dart
|
View
|
|
1 chunk |
+4 lines, -1 line |
2 comments
|
Download
|
|
M |
pkg/analyzer/lib/src/generated/element_resolver.dart
|
View
|
|
6 chunks |
+16 lines, -10 lines |
4 comments
|
Download
|
|
M |
pkg/analyzer/lib/src/generated/error_verifier.dart
|
View
|
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
|
M |
pkg/analyzer/lib/src/generated/parser.dart
|
View
|
|
6 chunks |
+24 lines, -9 lines |
0 comments
|
Download
|
|
M |
pkg/analyzer/lib/src/generated/static_type_analyzer.dart
|
View
|
|
1 chunk |
+6 lines, -2 lines |
0 comments
|
Download
|
|
M |
pkg/analyzer/lib/src/generated/testing/ast_factory.dart
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
pkg/analyzer/pubspec.yaml
|
View
|
1
|
1 chunk |
+1 line, -1 line |
2 comments
|
Download
|
|
M |
pkg/analyzer/test/generated/ast_test.dart
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
pkg/analyzer/test/generated/non_error_resolver_test.dart
|
View
|
|
2 chunks |
+30 lines, -0 lines |
0 comments
|
Download
|
|
M |
pkg/analyzer/test/generated/parser_test.dart
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
pkg/analyzer/test/generated/static_type_warning_code_test.dart
|
View
|
|
3 chunks |
+48 lines, -0 lines |
2 comments
|
Download
|
|
A |
tests/language/conditional_access_helper.dart
|
View
|
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
|
A |
tests/language/conditional_method_invocation_test.dart
|
View
|
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
|
A |
tests/language/conditional_property_access_test.dart
|
View
|
|
1 chunk |
+55 lines, -0 lines |
0 comments
|
Download
|
|
A |
tests/language/conditional_property_assignment_test.dart
|
View
|
|
1 chunk |
+93 lines, -0 lines |
0 comments
|
Download
|
|
M |
tests/language/if_null_assignment_behavior_test.dart
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
tests/language/if_null_assignment_static_test.dart
|
View
|
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
|
M |
tests/language/language.status
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
tests/language/language_analyzer.status
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
tests/language/language_dart2js.status
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
A |
tests/language/super_conditional_operator_test.dart
|
View
|
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
Total messages: 5 (1 generated)
|