OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library dart2js.semantics_visitor_test; | 5 library dart2js.semantics_visitor_test; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:mirrors'; | 8 import 'dart:mirrors'; |
9 import 'package:async_helper/async_helper.dart'; | 9 import 'package:async_helper/async_helper.dart'; |
10 import 'package:expect/expect.dart'; | 10 import 'package:expect/expect.dart'; |
(...skipping 655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
666 | 666 |
667 VISIT_INDEX_SET, | 667 VISIT_INDEX_SET, |
668 VISIT_COMPOUND_INDEX_SET, | 668 VISIT_COMPOUND_INDEX_SET, |
669 VISIT_SUPER_INDEX_SET, | 669 VISIT_SUPER_INDEX_SET, |
670 VISIT_UNRESOLVED_SUPER_INDEX_SET, | 670 VISIT_UNRESOLVED_SUPER_INDEX_SET, |
671 VISIT_SUPER_COMPOUND_INDEX_SET, | 671 VISIT_SUPER_COMPOUND_INDEX_SET, |
672 VISIT_UNRESOLVED_SUPER_COMPOUND_INDEX_SET, | 672 VISIT_UNRESOLVED_SUPER_COMPOUND_INDEX_SET, |
673 VISIT_UNRESOLVED_SUPER_GETTER_COMPOUND_INDEX_SET, | 673 VISIT_UNRESOLVED_SUPER_GETTER_COMPOUND_INDEX_SET, |
674 VISIT_UNRESOLVED_SUPER_SETTER_COMPOUND_INDEX_SET, | 674 VISIT_UNRESOLVED_SUPER_SETTER_COMPOUND_INDEX_SET, |
675 | 675 |
| 676 VISIT_ASSERT, |
676 VISIT_LOGICAL_AND, | 677 VISIT_LOGICAL_AND, |
677 VISIT_LOGICAL_OR, | 678 VISIT_LOGICAL_OR, |
678 VISIT_IS, | 679 VISIT_IS, |
679 VISIT_IS_NOT, | 680 VISIT_IS_NOT, |
680 VISIT_AS, | 681 VISIT_AS, |
681 | 682 |
682 VISIT_CONST_CONSTRUCTOR_INVOKE, | 683 VISIT_CONST_CONSTRUCTOR_INVOKE, |
683 VISIT_BOOL_FROM_ENVIRONMENT_CONSTRUCTOR_INVOKE, | 684 VISIT_BOOL_FROM_ENVIRONMENT_CONSTRUCTOR_INVOKE, |
684 VISIT_INT_FROM_ENVIRONMENT_CONSTRUCTOR_INVOKE, | 685 VISIT_INT_FROM_ENVIRONMENT_CONSTRUCTOR_INVOKE, |
685 VISIT_STRING_FROM_ENVIRONMENT_CONSTRUCTOR_INVOKE, | 686 VISIT_STRING_FROM_ENVIRONMENT_CONSTRUCTOR_INVOKE, |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
727 | 728 |
728 VISIT_IF_NULL, | 729 VISIT_IF_NULL, |
729 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_GET, | 730 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_GET, |
730 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_SET, | 731 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_SET, |
731 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_INVOKE, | 732 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_INVOKE, |
732 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_COMPOUND, | 733 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_COMPOUND, |
733 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_SET_IF_NULL, | 734 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_SET_IF_NULL, |
734 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_PREFIX, | 735 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_PREFIX, |
735 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_POSTFIX, | 736 VISIT_IF_NOT_NULL_DYNAMIC_PROPERTY_POSTFIX, |
736 | 737 |
| 738 ERROR_INVALID_ASSERT, |
737 ERROR_UNDEFINED_UNARY_EXPRESSION, | 739 ERROR_UNDEFINED_UNARY_EXPRESSION, |
738 ERROR_UNDEFINED_BINARY_EXPRESSION, | 740 ERROR_UNDEFINED_BINARY_EXPRESSION, |
739 ERROR_INVALID_GET, | 741 ERROR_INVALID_GET, |
740 ERROR_INVALID_INVOKE, | 742 ERROR_INVALID_INVOKE, |
741 ERROR_INVALID_SET, | 743 ERROR_INVALID_SET, |
742 ERROR_INVALID_PREFIX, | 744 ERROR_INVALID_PREFIX, |
743 ERROR_INVALID_POSTFIX, | 745 ERROR_INVALID_POSTFIX, |
744 ERROR_INVALID_COMPOUND, | 746 ERROR_INVALID_COMPOUND, |
745 ERROR_INVALID_SET_IF_NULL, | 747 ERROR_INVALID_SET_IF_NULL, |
746 ERROR_INVALID_UNARY, | 748 ERROR_INVALID_UNARY, |
747 ERROR_INVALID_EQUALS, | 749 ERROR_INVALID_EQUALS, |
748 ERROR_INVALID_NOT_EQUALS, | 750 ERROR_INVALID_NOT_EQUALS, |
749 ERROR_INVALID_BINARY, | 751 ERROR_INVALID_BINARY, |
750 ERROR_INVALID_INDEX, | 752 ERROR_INVALID_INDEX, |
751 ERROR_INVALID_INDEX_SET, | 753 ERROR_INVALID_INDEX_SET, |
752 ERROR_INVALID_COMPOUND_INDEX_SET, | 754 ERROR_INVALID_COMPOUND_INDEX_SET, |
753 ERROR_INVALID_INDEX_PREFIX, | 755 ERROR_INVALID_INDEX_PREFIX, |
754 ERROR_INVALID_INDEX_POSTFIX, | 756 ERROR_INVALID_INDEX_POSTFIX, |
755 | 757 |
756 VISIT_CONSTANT_GET, | 758 VISIT_CONSTANT_GET, |
757 VISIT_CONSTANT_INVOKE, | 759 VISIT_CONSTANT_INVOKE, |
758 | 760 |
759 PREVISIT_DEFERRED_ACCESS, | 761 PREVISIT_DEFERRED_ACCESS, |
760 } | 762 } |
OLD | NEW |