| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 import 'package:analyzer/dart/ast/ast.dart'; | 5 import 'package:analyzer/dart/ast/ast.dart'; |
| 6 import 'package:analyzer/dart/ast/token.dart' as analyzer; | 6 import 'package:analyzer/dart/ast/token.dart' as analyzer; |
| 7 import 'package:analyzer/dart/ast/token.dart' show TokenType; | 7 import 'package:analyzer/dart/ast/token.dart' show TokenType; |
| 8 import 'package:analyzer/error/error.dart'; | 8 import 'package:analyzer/error/error.dart'; |
| 9 import 'package:analyzer/error/listener.dart' show ErrorReporter; | 9 import 'package:analyzer/error/listener.dart' show ErrorReporter; |
| 10 import 'package:analyzer/src/dart/scanner/scanner.dart'; | 10 import 'package:analyzer/src/dart/scanner/scanner.dart'; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 import 'parser_test.dart'; | 26 import 'parser_test.dart'; |
| 27 import 'test_support.dart'; | 27 import 'test_support.dart'; |
| 28 | 28 |
| 29 main() { | 29 main() { |
| 30 defineReflectiveSuite(() { | 30 defineReflectiveSuite(() { |
| 31 defineReflectiveTests(ClassMemberParserTest_Fasta); | 31 defineReflectiveTests(ClassMemberParserTest_Fasta); |
| 32 defineReflectiveTests(ComplexParserTest_Fasta); | 32 defineReflectiveTests(ComplexParserTest_Fasta); |
| 33 defineReflectiveTests(ErrorParserTest_Fasta); | 33 defineReflectiveTests(ErrorParserTest_Fasta); |
| 34 defineReflectiveTests(ExpressionParserTest_Fasta); | 34 defineReflectiveTests(ExpressionParserTest_Fasta); |
| 35 defineReflectiveTests(FormalParameterParserTest_Fasta); | 35 defineReflectiveTests(FormalParameterParserTest_Fasta); |
| 36 defineReflectiveTests(RecoveryParserTest_Fasta); |
| 36 defineReflectiveTests(StatementParserTest_Fasta); | 37 defineReflectiveTests(StatementParserTest_Fasta); |
| 37 defineReflectiveTests(TopLevelParserTest_Fasta); | 38 defineReflectiveTests(TopLevelParserTest_Fasta); |
| 38 }); | 39 }); |
| 39 } | 40 } |
| 40 | 41 |
| 41 /** | 42 /** |
| 42 * Type of the "parse..." methods defined in the Fasta parser. | 43 * Type of the "parse..." methods defined in the Fasta parser. |
| 43 */ | 44 */ |
| 44 typedef analyzer.Token ParseFunction(analyzer.Token token); | 45 typedef analyzer.Token ParseFunction(analyzer.Token token); |
| 45 | 46 |
| (...skipping 2750 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2796 parseFunction = _fastaParser.parseUnit; | 2797 parseFunction = _fastaParser.parseUnit; |
| 2797 // firstToken should be set by beginCompilationUnit event. | 2798 // firstToken should be set by beginCompilationUnit event. |
| 2798 } | 2799 } |
| 2799 _currentFastaToken = parseFunction(_currentFastaToken); | 2800 _currentFastaToken = parseFunction(_currentFastaToken); |
| 2800 expect(_currentFastaToken.isEof, isTrue); | 2801 expect(_currentFastaToken.isEof, isTrue); |
| 2801 expect(_astBuilder.stack, hasLength(1)); | 2802 expect(_astBuilder.stack, hasLength(1)); |
| 2802 return _astBuilder.pop(); | 2803 return _astBuilder.pop(); |
| 2803 } | 2804 } |
| 2804 } | 2805 } |
| 2805 | 2806 |
| 2807 @reflectiveTest |
| 2808 class RecoveryParserTest_Fasta extends FastaParserTestCase |
| 2809 with RecoveryParserTestMixin { |
| 2810 @override |
| 2811 @failingTest |
| 2812 void test_additiveExpression_missing_LHS() { |
| 2813 super.test_additiveExpression_missing_LHS(); |
| 2814 } |
| 2815 |
| 2816 @override |
| 2817 @failingTest |
| 2818 void test_additiveExpression_missing_LHS_RHS() { |
| 2819 super.test_additiveExpression_missing_LHS_RHS(); |
| 2820 } |
| 2821 |
| 2822 @override |
| 2823 @failingTest |
| 2824 void test_additiveExpression_missing_RHS() { |
| 2825 super.test_additiveExpression_missing_RHS(); |
| 2826 } |
| 2827 |
| 2828 @override |
| 2829 @failingTest |
| 2830 void test_additiveExpression_missing_RHS_super() { |
| 2831 super.test_additiveExpression_missing_RHS_super(); |
| 2832 } |
| 2833 |
| 2834 @override |
| 2835 @failingTest |
| 2836 void test_additiveExpression_precedence_multiplicative_left() { |
| 2837 super.test_additiveExpression_precedence_multiplicative_left(); |
| 2838 } |
| 2839 |
| 2840 @override |
| 2841 @failingTest |
| 2842 void test_additiveExpression_precedence_multiplicative_right() { |
| 2843 super.test_additiveExpression_precedence_multiplicative_right(); |
| 2844 } |
| 2845 |
| 2846 @override |
| 2847 @failingTest |
| 2848 void test_additiveExpression_super() { |
| 2849 super.test_additiveExpression_super(); |
| 2850 } |
| 2851 |
| 2852 @override |
| 2853 @failingTest |
| 2854 void test_assignableSelector() { |
| 2855 super.test_assignableSelector(); |
| 2856 } |
| 2857 |
| 2858 @override |
| 2859 @failingTest |
| 2860 void test_assignmentExpression_missing_compound1() { |
| 2861 super.test_assignmentExpression_missing_compound1(); |
| 2862 } |
| 2863 |
| 2864 @override |
| 2865 @failingTest |
| 2866 void test_assignmentExpression_missing_compound2() { |
| 2867 super.test_assignmentExpression_missing_compound2(); |
| 2868 } |
| 2869 |
| 2870 @override |
| 2871 @failingTest |
| 2872 void test_assignmentExpression_missing_compound3() { |
| 2873 super.test_assignmentExpression_missing_compound3(); |
| 2874 } |
| 2875 |
| 2876 @override |
| 2877 @failingTest |
| 2878 void test_assignmentExpression_missing_LHS() { |
| 2879 super.test_assignmentExpression_missing_LHS(); |
| 2880 } |
| 2881 |
| 2882 @override |
| 2883 @failingTest |
| 2884 void test_assignmentExpression_missing_RHS() { |
| 2885 super.test_assignmentExpression_missing_RHS(); |
| 2886 } |
| 2887 |
| 2888 @override |
| 2889 @failingTest |
| 2890 void test_bitwiseAndExpression_missing_LHS() { |
| 2891 super.test_bitwiseAndExpression_missing_LHS(); |
| 2892 } |
| 2893 |
| 2894 @override |
| 2895 @failingTest |
| 2896 void test_bitwiseAndExpression_missing_LHS_RHS() { |
| 2897 super.test_bitwiseAndExpression_missing_LHS_RHS(); |
| 2898 } |
| 2899 |
| 2900 @override |
| 2901 @failingTest |
| 2902 void test_bitwiseAndExpression_missing_RHS() { |
| 2903 super.test_bitwiseAndExpression_missing_RHS(); |
| 2904 } |
| 2905 |
| 2906 @override |
| 2907 @failingTest |
| 2908 void test_bitwiseAndExpression_missing_RHS_super() { |
| 2909 super.test_bitwiseAndExpression_missing_RHS_super(); |
| 2910 } |
| 2911 |
| 2912 @override |
| 2913 @failingTest |
| 2914 void test_bitwiseAndExpression_precedence_equality_left() { |
| 2915 super.test_bitwiseAndExpression_precedence_equality_left(); |
| 2916 } |
| 2917 |
| 2918 @override |
| 2919 @failingTest |
| 2920 void test_bitwiseAndExpression_precedence_equality_right() { |
| 2921 super.test_bitwiseAndExpression_precedence_equality_right(); |
| 2922 } |
| 2923 |
| 2924 @override |
| 2925 @failingTest |
| 2926 void test_bitwiseAndExpression_super() { |
| 2927 super.test_bitwiseAndExpression_super(); |
| 2928 } |
| 2929 |
| 2930 @override |
| 2931 @failingTest |
| 2932 void test_bitwiseOrExpression_missing_LHS() { |
| 2933 super.test_bitwiseOrExpression_missing_LHS(); |
| 2934 } |
| 2935 |
| 2936 @override |
| 2937 @failingTest |
| 2938 void test_bitwiseOrExpression_missing_LHS_RHS() { |
| 2939 super.test_bitwiseOrExpression_missing_LHS_RHS(); |
| 2940 } |
| 2941 |
| 2942 @override |
| 2943 @failingTest |
| 2944 void test_bitwiseOrExpression_missing_RHS() { |
| 2945 super.test_bitwiseOrExpression_missing_RHS(); |
| 2946 } |
| 2947 |
| 2948 @override |
| 2949 @failingTest |
| 2950 void test_bitwiseOrExpression_missing_RHS_super() { |
| 2951 super.test_bitwiseOrExpression_missing_RHS_super(); |
| 2952 } |
| 2953 |
| 2954 @override |
| 2955 @failingTest |
| 2956 void test_bitwiseOrExpression_precedence_xor_left() { |
| 2957 super.test_bitwiseOrExpression_precedence_xor_left(); |
| 2958 } |
| 2959 |
| 2960 @override |
| 2961 @failingTest |
| 2962 void test_bitwiseOrExpression_precedence_xor_right() { |
| 2963 super.test_bitwiseOrExpression_precedence_xor_right(); |
| 2964 } |
| 2965 |
| 2966 @override |
| 2967 @failingTest |
| 2968 void test_bitwiseOrExpression_super() { |
| 2969 super.test_bitwiseOrExpression_super(); |
| 2970 } |
| 2971 |
| 2972 @override |
| 2973 @failingTest |
| 2974 void test_bitwiseXorExpression_missing_LHS() { |
| 2975 super.test_bitwiseXorExpression_missing_LHS(); |
| 2976 } |
| 2977 |
| 2978 @override |
| 2979 @failingTest |
| 2980 void test_bitwiseXorExpression_missing_LHS_RHS() { |
| 2981 super.test_bitwiseXorExpression_missing_LHS_RHS(); |
| 2982 } |
| 2983 |
| 2984 @override |
| 2985 @failingTest |
| 2986 void test_bitwiseXorExpression_missing_RHS() { |
| 2987 super.test_bitwiseXorExpression_missing_RHS(); |
| 2988 } |
| 2989 |
| 2990 @override |
| 2991 @failingTest |
| 2992 void test_bitwiseXorExpression_missing_RHS_super() { |
| 2993 super.test_bitwiseXorExpression_missing_RHS_super(); |
| 2994 } |
| 2995 |
| 2996 @override |
| 2997 @failingTest |
| 2998 void test_bitwiseXorExpression_precedence_and_left() { |
| 2999 super.test_bitwiseXorExpression_precedence_and_left(); |
| 3000 } |
| 3001 |
| 3002 @override |
| 3003 @failingTest |
| 3004 void test_bitwiseXorExpression_precedence_and_right() { |
| 3005 super.test_bitwiseXorExpression_precedence_and_right(); |
| 3006 } |
| 3007 |
| 3008 @override |
| 3009 @failingTest |
| 3010 void test_bitwiseXorExpression_super() { |
| 3011 super.test_bitwiseXorExpression_super(); |
| 3012 } |
| 3013 |
| 3014 @override |
| 3015 @failingTest |
| 3016 void test_classTypeAlias_withBody() { |
| 3017 super.test_classTypeAlias_withBody(); |
| 3018 } |
| 3019 |
| 3020 @override |
| 3021 @failingTest |
| 3022 void test_conditionalExpression_missingElse() { |
| 3023 super.test_conditionalExpression_missingElse(); |
| 3024 } |
| 3025 |
| 3026 @override |
| 3027 @failingTest |
| 3028 void test_conditionalExpression_missingThen() { |
| 3029 super.test_conditionalExpression_missingThen(); |
| 3030 } |
| 3031 |
| 3032 @override |
| 3033 @failingTest |
| 3034 void test_declarationBeforeDirective() { |
| 3035 super.test_declarationBeforeDirective(); |
| 3036 } |
| 3037 |
| 3038 @override |
| 3039 @failingTest |
| 3040 void test_equalityExpression_missing_LHS() { |
| 3041 super.test_equalityExpression_missing_LHS(); |
| 3042 } |
| 3043 |
| 3044 @override |
| 3045 @failingTest |
| 3046 void test_equalityExpression_missing_LHS_RHS() { |
| 3047 super.test_equalityExpression_missing_LHS_RHS(); |
| 3048 } |
| 3049 |
| 3050 @override |
| 3051 @failingTest |
| 3052 void test_equalityExpression_missing_RHS() { |
| 3053 super.test_equalityExpression_missing_RHS(); |
| 3054 } |
| 3055 |
| 3056 @override |
| 3057 @failingTest |
| 3058 void test_equalityExpression_missing_RHS_super() { |
| 3059 super.test_equalityExpression_missing_RHS_super(); |
| 3060 } |
| 3061 |
| 3062 @override |
| 3063 @failingTest |
| 3064 void test_equalityExpression_precedence_relational_left() { |
| 3065 super.test_equalityExpression_precedence_relational_left(); |
| 3066 } |
| 3067 |
| 3068 @override |
| 3069 @failingTest |
| 3070 void test_equalityExpression_precedence_relational_right() { |
| 3071 super.test_equalityExpression_precedence_relational_right(); |
| 3072 } |
| 3073 |
| 3074 @override |
| 3075 @failingTest |
| 3076 void test_equalityExpression_super() { |
| 3077 super.test_equalityExpression_super(); |
| 3078 } |
| 3079 |
| 3080 @override |
| 3081 @failingTest |
| 3082 void test_expressionList_multiple_end() { |
| 3083 super.test_expressionList_multiple_end(); |
| 3084 } |
| 3085 |
| 3086 @override |
| 3087 @failingTest |
| 3088 void test_expressionList_multiple_middle() { |
| 3089 super.test_expressionList_multiple_middle(); |
| 3090 } |
| 3091 |
| 3092 @override |
| 3093 @failingTest |
| 3094 void test_expressionList_multiple_start() { |
| 3095 super.test_expressionList_multiple_start(); |
| 3096 } |
| 3097 |
| 3098 @override |
| 3099 @failingTest |
| 3100 void test_functionExpression_in_ConstructorFieldInitializer() { |
| 3101 super.test_functionExpression_in_ConstructorFieldInitializer(); |
| 3102 } |
| 3103 |
| 3104 @override |
| 3105 @failingTest |
| 3106 void test_functionExpression_named() { |
| 3107 super.test_functionExpression_named(); |
| 3108 } |
| 3109 |
| 3110 @override |
| 3111 @failingTest |
| 3112 void test_importDirectivePartial_as() { |
| 3113 super.test_importDirectivePartial_as(); |
| 3114 } |
| 3115 |
| 3116 @override |
| 3117 @failingTest |
| 3118 void test_importDirectivePartial_hide() { |
| 3119 super.test_importDirectivePartial_hide(); |
| 3120 } |
| 3121 |
| 3122 @override |
| 3123 @failingTest |
| 3124 void test_importDirectivePartial_show() { |
| 3125 super.test_importDirectivePartial_show(); |
| 3126 } |
| 3127 |
| 3128 @override |
| 3129 @failingTest |
| 3130 void test_incomplete_conditionalExpression() { |
| 3131 super.test_incomplete_conditionalExpression(); |
| 3132 } |
| 3133 |
| 3134 @override |
| 3135 @failingTest |
| 3136 void test_incomplete_constructorInitializers_empty() { |
| 3137 super.test_incomplete_constructorInitializers_empty(); |
| 3138 } |
| 3139 |
| 3140 @override |
| 3141 @failingTest |
| 3142 void test_incomplete_constructorInitializers_missingEquals() { |
| 3143 super.test_incomplete_constructorInitializers_missingEquals(); |
| 3144 } |
| 3145 |
| 3146 @override |
| 3147 @failingTest |
| 3148 void test_incomplete_constructorInitializers_variable() { |
| 3149 super.test_incomplete_constructorInitializers_variable(); |
| 3150 } |
| 3151 |
| 3152 @override |
| 3153 @failingTest |
| 3154 void test_incomplete_returnType() { |
| 3155 super.test_incomplete_returnType(); |
| 3156 } |
| 3157 |
| 3158 @override |
| 3159 @failingTest |
| 3160 void test_incomplete_topLevelFunction() { |
| 3161 super.test_incomplete_topLevelFunction(); |
| 3162 } |
| 3163 |
| 3164 @override |
| 3165 @failingTest |
| 3166 void test_incomplete_topLevelVariable() { |
| 3167 super.test_incomplete_topLevelVariable(); |
| 3168 } |
| 3169 |
| 3170 @override |
| 3171 @failingTest |
| 3172 void test_incomplete_topLevelVariable_const() { |
| 3173 super.test_incomplete_topLevelVariable_const(); |
| 3174 } |
| 3175 |
| 3176 @override |
| 3177 @failingTest |
| 3178 void test_incomplete_topLevelVariable_final() { |
| 3179 super.test_incomplete_topLevelVariable_final(); |
| 3180 } |
| 3181 |
| 3182 @override |
| 3183 @failingTest |
| 3184 void test_incomplete_topLevelVariable_var() { |
| 3185 super.test_incomplete_topLevelVariable_var(); |
| 3186 } |
| 3187 |
| 3188 @override |
| 3189 @failingTest |
| 3190 void test_incompleteField_const() { |
| 3191 super.test_incompleteField_const(); |
| 3192 } |
| 3193 |
| 3194 @override |
| 3195 @failingTest |
| 3196 void test_incompleteField_final() { |
| 3197 super.test_incompleteField_final(); |
| 3198 } |
| 3199 |
| 3200 @override |
| 3201 @failingTest |
| 3202 void test_incompleteField_var() { |
| 3203 super.test_incompleteField_var(); |
| 3204 } |
| 3205 |
| 3206 @override |
| 3207 @failingTest |
| 3208 void test_incompleteForEach() { |
| 3209 super.test_incompleteForEach(); |
| 3210 } |
| 3211 |
| 3212 @override |
| 3213 @failingTest |
| 3214 void test_incompleteLocalVariable_atTheEndOfBlock() { |
| 3215 super.test_incompleteLocalVariable_atTheEndOfBlock(); |
| 3216 } |
| 3217 |
| 3218 @override |
| 3219 @failingTest |
| 3220 void test_incompleteLocalVariable_beforeIdentifier() { |
| 3221 super.test_incompleteLocalVariable_beforeIdentifier(); |
| 3222 } |
| 3223 |
| 3224 @override |
| 3225 @failingTest |
| 3226 void test_incompleteLocalVariable_beforeKeyword() { |
| 3227 super.test_incompleteLocalVariable_beforeKeyword(); |
| 3228 } |
| 3229 |
| 3230 @override |
| 3231 @failingTest |
| 3232 void test_incompleteLocalVariable_beforeNextBlock() { |
| 3233 super.test_incompleteLocalVariable_beforeNextBlock(); |
| 3234 } |
| 3235 |
| 3236 @override |
| 3237 @failingTest |
| 3238 void test_incompleteLocalVariable_parameterizedType() { |
| 3239 super.test_incompleteLocalVariable_parameterizedType(); |
| 3240 } |
| 3241 |
| 3242 @override |
| 3243 @failingTest |
| 3244 void test_incompleteTypeArguments_field() { |
| 3245 super.test_incompleteTypeArguments_field(); |
| 3246 } |
| 3247 |
| 3248 @override |
| 3249 @failingTest |
| 3250 void test_incompleteTypeParameters() { |
| 3251 super.test_incompleteTypeParameters(); |
| 3252 } |
| 3253 |
| 3254 @override |
| 3255 @failingTest |
| 3256 void test_invalidFunctionBodyModifier() { |
| 3257 super.test_invalidFunctionBodyModifier(); |
| 3258 } |
| 3259 |
| 3260 @override |
| 3261 @failingTest |
| 3262 void test_isExpression_noType() { |
| 3263 super.test_isExpression_noType(); |
| 3264 } |
| 3265 |
| 3266 @override |
| 3267 @failingTest |
| 3268 void test_keywordInPlaceOfIdentifier() { |
| 3269 super.test_keywordInPlaceOfIdentifier(); |
| 3270 } |
| 3271 |
| 3272 @override |
| 3273 @failingTest |
| 3274 void test_logicalAndExpression_missing_LHS() { |
| 3275 super.test_logicalAndExpression_missing_LHS(); |
| 3276 } |
| 3277 |
| 3278 @override |
| 3279 @failingTest |
| 3280 void test_logicalAndExpression_missing_LHS_RHS() { |
| 3281 super.test_logicalAndExpression_missing_LHS_RHS(); |
| 3282 } |
| 3283 |
| 3284 @override |
| 3285 @failingTest |
| 3286 void test_logicalAndExpression_missing_RHS() { |
| 3287 super.test_logicalAndExpression_missing_RHS(); |
| 3288 } |
| 3289 |
| 3290 @override |
| 3291 @failingTest |
| 3292 void test_logicalAndExpression_precedence_bitwiseOr_left() { |
| 3293 super.test_logicalAndExpression_precedence_bitwiseOr_left(); |
| 3294 } |
| 3295 |
| 3296 @override |
| 3297 @failingTest |
| 3298 void test_logicalAndExpression_precedence_bitwiseOr_right() { |
| 3299 super.test_logicalAndExpression_precedence_bitwiseOr_right(); |
| 3300 } |
| 3301 |
| 3302 @override |
| 3303 @failingTest |
| 3304 void test_logicalOrExpression_missing_LHS() { |
| 3305 super.test_logicalOrExpression_missing_LHS(); |
| 3306 } |
| 3307 |
| 3308 @override |
| 3309 @failingTest |
| 3310 void test_logicalOrExpression_missing_LHS_RHS() { |
| 3311 super.test_logicalOrExpression_missing_LHS_RHS(); |
| 3312 } |
| 3313 |
| 3314 @override |
| 3315 @failingTest |
| 3316 void test_logicalOrExpression_missing_RHS() { |
| 3317 super.test_logicalOrExpression_missing_RHS(); |
| 3318 } |
| 3319 |
| 3320 @override |
| 3321 @failingTest |
| 3322 void test_logicalOrExpression_precedence_logicalAnd_left() { |
| 3323 super.test_logicalOrExpression_precedence_logicalAnd_left(); |
| 3324 } |
| 3325 |
| 3326 @override |
| 3327 @failingTest |
| 3328 void test_logicalOrExpression_precedence_logicalAnd_right() { |
| 3329 super.test_logicalOrExpression_precedence_logicalAnd_right(); |
| 3330 } |
| 3331 |
| 3332 @override |
| 3333 @failingTest |
| 3334 void test_missing_commaInArgumentList() { |
| 3335 super.test_missing_commaInArgumentList(); |
| 3336 } |
| 3337 |
| 3338 @override |
| 3339 @failingTest |
| 3340 void test_missingComma_beforeNamedArgument() { |
| 3341 super.test_missingComma_beforeNamedArgument(); |
| 3342 } |
| 3343 |
| 3344 @override |
| 3345 @failingTest |
| 3346 void test_missingGet() { |
| 3347 super.test_missingGet(); |
| 3348 } |
| 3349 |
| 3350 @override |
| 3351 @failingTest |
| 3352 void test_missingIdentifier_afterAnnotation() { |
| 3353 super.test_missingIdentifier_afterAnnotation(); |
| 3354 } |
| 3355 |
| 3356 @override |
| 3357 @failingTest |
| 3358 void test_missingSemicolon_varialeDeclarationList() { |
| 3359 super.test_missingSemicolon_varialeDeclarationList(); |
| 3360 } |
| 3361 |
| 3362 @override |
| 3363 @failingTest |
| 3364 void test_multiplicativeExpression_missing_LHS() { |
| 3365 super.test_multiplicativeExpression_missing_LHS(); |
| 3366 } |
| 3367 |
| 3368 @override |
| 3369 @failingTest |
| 3370 void test_multiplicativeExpression_missing_LHS_RHS() { |
| 3371 super.test_multiplicativeExpression_missing_LHS_RHS(); |
| 3372 } |
| 3373 |
| 3374 @override |
| 3375 @failingTest |
| 3376 void test_multiplicativeExpression_missing_RHS() { |
| 3377 super.test_multiplicativeExpression_missing_RHS(); |
| 3378 } |
| 3379 |
| 3380 @override |
| 3381 @failingTest |
| 3382 void test_multiplicativeExpression_missing_RHS_super() { |
| 3383 super.test_multiplicativeExpression_missing_RHS_super(); |
| 3384 } |
| 3385 |
| 3386 @override |
| 3387 @failingTest |
| 3388 void test_multiplicativeExpression_precedence_unary_left() { |
| 3389 super.test_multiplicativeExpression_precedence_unary_left(); |
| 3390 } |
| 3391 |
| 3392 @override |
| 3393 @failingTest |
| 3394 void test_multiplicativeExpression_precedence_unary_right() { |
| 3395 super.test_multiplicativeExpression_precedence_unary_right(); |
| 3396 } |
| 3397 |
| 3398 @override |
| 3399 @failingTest |
| 3400 void test_multiplicativeExpression_super() { |
| 3401 super.test_multiplicativeExpression_super(); |
| 3402 } |
| 3403 |
| 3404 @override |
| 3405 @failingTest |
| 3406 void test_nonStringLiteralUri_import() { |
| 3407 super.test_nonStringLiteralUri_import(); |
| 3408 } |
| 3409 |
| 3410 @override |
| 3411 @failingTest |
| 3412 void test_prefixExpression_missing_operand_minus() { |
| 3413 super.test_prefixExpression_missing_operand_minus(); |
| 3414 } |
| 3415 |
| 3416 @override |
| 3417 @failingTest |
| 3418 void test_primaryExpression_argumentDefinitionTest() { |
| 3419 super.test_primaryExpression_argumentDefinitionTest(); |
| 3420 } |
| 3421 |
| 3422 @override |
| 3423 @failingTest |
| 3424 void test_relationalExpression_missing_LHS() { |
| 3425 super.test_relationalExpression_missing_LHS(); |
| 3426 } |
| 3427 |
| 3428 @override |
| 3429 @failingTest |
| 3430 void test_relationalExpression_missing_LHS_RHS() { |
| 3431 super.test_relationalExpression_missing_LHS_RHS(); |
| 3432 } |
| 3433 |
| 3434 @override |
| 3435 @failingTest |
| 3436 void test_relationalExpression_missing_RHS() { |
| 3437 super.test_relationalExpression_missing_RHS(); |
| 3438 } |
| 3439 |
| 3440 @override |
| 3441 @failingTest |
| 3442 void test_relationalExpression_precedence_shift_right() { |
| 3443 super.test_relationalExpression_precedence_shift_right(); |
| 3444 } |
| 3445 |
| 3446 @override |
| 3447 @failingTest |
| 3448 void test_shiftExpression_missing_LHS() { |
| 3449 super.test_shiftExpression_missing_LHS(); |
| 3450 } |
| 3451 |
| 3452 @override |
| 3453 @failingTest |
| 3454 void test_shiftExpression_missing_LHS_RHS() { |
| 3455 super.test_shiftExpression_missing_LHS_RHS(); |
| 3456 } |
| 3457 |
| 3458 @override |
| 3459 @failingTest |
| 3460 void test_shiftExpression_missing_RHS() { |
| 3461 super.test_shiftExpression_missing_RHS(); |
| 3462 } |
| 3463 |
| 3464 @override |
| 3465 @failingTest |
| 3466 void test_shiftExpression_missing_RHS_super() { |
| 3467 super.test_shiftExpression_missing_RHS_super(); |
| 3468 } |
| 3469 |
| 3470 @override |
| 3471 @failingTest |
| 3472 void test_shiftExpression_precedence_unary_left() { |
| 3473 super.test_shiftExpression_precedence_unary_left(); |
| 3474 } |
| 3475 |
| 3476 @override |
| 3477 @failingTest |
| 3478 void test_shiftExpression_precedence_unary_right() { |
| 3479 super.test_shiftExpression_precedence_unary_right(); |
| 3480 } |
| 3481 |
| 3482 @override |
| 3483 @failingTest |
| 3484 void test_shiftExpression_super() { |
| 3485 super.test_shiftExpression_super(); |
| 3486 } |
| 3487 |
| 3488 @override |
| 3489 @failingTest |
| 3490 void test_typedef_eof() { |
| 3491 super.test_typedef_eof(); |
| 3492 } |
| 3493 |
| 3494 @override |
| 3495 @failingTest |
| 3496 void test_unaryPlus() { |
| 3497 super.test_unaryPlus(); |
| 3498 } |
| 3499 } |
| 3500 |
| 2806 /** | 3501 /** |
| 2807 * Proxy implementation of [Scope] used by Fasta parser tests. | 3502 * Proxy implementation of [Scope] used by Fasta parser tests. |
| 2808 * | 3503 * |
| 2809 * Any name lookup request is satisfied by creating an instance of | 3504 * Any name lookup request is satisfied by creating an instance of |
| 2810 * [BuilderProxy]. | 3505 * [BuilderProxy]. |
| 2811 */ | 3506 */ |
| 2812 class ScopeProxy implements Scope { | 3507 class ScopeProxy implements Scope { |
| 2813 final _locals = <String, Builder>{}; | 3508 final _locals = <String, Builder>{}; |
| 2814 | 3509 |
| 2815 @override | 3510 @override |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2984 @override | 3679 @override |
| 2985 @failingTest | 3680 @failingTest |
| 2986 void test_parseDirectives_mixed() { | 3681 void test_parseDirectives_mixed() { |
| 2987 // TODO(paulberry,ahe): This test verifies the analyzer parser's ability to | 3682 // TODO(paulberry,ahe): This test verifies the analyzer parser's ability to |
| 2988 // stop parsing as soon as the first non-directive is encountered; this is | 3683 // stop parsing as soon as the first non-directive is encountered; this is |
| 2989 // useful for quickly traversing an import graph. Consider adding a similar | 3684 // useful for quickly traversing an import graph. Consider adding a similar |
| 2990 // ability to Fasta's parser. | 3685 // ability to Fasta's parser. |
| 2991 super.test_parseDirectives_mixed(); | 3686 super.test_parseDirectives_mixed(); |
| 2992 } | 3687 } |
| 2993 } | 3688 } |
| OLD | NEW |