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

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

Issue 198453002: New analyzer snapshot. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 months 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/html.dart ('k') | pkg/analyzer/lib/src/generated/resolver.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 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 // This code was auto-generated, is not intended to be edited, and is subject to 5 // This code was auto-generated, is not intended to be edited, and is subject to
6 // significant change. Please see the README file for more information. 6 // significant change. Please see the README file for more information.
7 7
8 library engine.parser; 8 library engine.parser;
9 9
10 import 'java_core.dart'; 10 import 'java_core.dart';
(...skipping 2541 matching lines...) Expand 10 before | Expand all | Expand 10 after
2552 * 2552 *
2553 * @return the type argument list that was parsed 2553 * @return the type argument list that was parsed
2554 */ 2554 */
2555 TypeArgumentList parseTypeArgumentList() { 2555 TypeArgumentList parseTypeArgumentList() {
2556 Token leftBracket = _expect(TokenType.LT); 2556 Token leftBracket = _expect(TokenType.LT);
2557 List<TypeName> arguments = new List<TypeName>(); 2557 List<TypeName> arguments = new List<TypeName>();
2558 arguments.add(parseTypeName()); 2558 arguments.add(parseTypeName());
2559 while (_optional(TokenType.COMMA)) { 2559 while (_optional(TokenType.COMMA)) {
2560 arguments.add(parseTypeName()); 2560 arguments.add(parseTypeName());
2561 } 2561 }
2562 Token rightBracket = _expect(TokenType.GT); 2562 Token rightBracket = _expectGt();
2563 return new TypeArgumentList(leftBracket, arguments, rightBracket); 2563 return new TypeArgumentList(leftBracket, arguments, rightBracket);
2564 } 2564 }
2565 2565
2566 /** 2566 /**
2567 * Parse a type name. 2567 * Parse a type name.
2568 * 2568 *
2569 * <pre> 2569 * <pre>
2570 * type ::= 2570 * type ::=
2571 * qualified typeArguments? 2571 * qualified typeArguments?
2572 * </pre> 2572 * </pre>
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
2622 * 2622 *
2623 * @return the list of type parameters that were parsed 2623 * @return the list of type parameters that were parsed
2624 */ 2624 */
2625 TypeParameterList parseTypeParameterList() { 2625 TypeParameterList parseTypeParameterList() {
2626 Token leftBracket = _expect(TokenType.LT); 2626 Token leftBracket = _expect(TokenType.LT);
2627 List<TypeParameter> typeParameters = new List<TypeParameter>(); 2627 List<TypeParameter> typeParameters = new List<TypeParameter>();
2628 typeParameters.add(parseTypeParameter()); 2628 typeParameters.add(parseTypeParameter());
2629 while (_optional(TokenType.COMMA)) { 2629 while (_optional(TokenType.COMMA)) {
2630 typeParameters.add(parseTypeParameter()); 2630 typeParameters.add(parseTypeParameter());
2631 } 2631 }
2632 Token rightBracket = _expect(TokenType.GT); 2632 Token rightBracket = _expectGt();
2633 return new TypeParameterList(leftBracket, typeParameters, rightBracket); 2633 return new TypeParameterList(leftBracket, typeParameters, rightBracket);
2634 } 2634 }
2635 2635
2636 /** 2636 /**
2637 * Parse a with clause. 2637 * Parse a with clause.
2638 * 2638 *
2639 * <pre> 2639 * <pre>
2640 * withClause ::= 2640 * withClause ::=
2641 * 'with' typeName (',' typeName)* 2641 * 'with' typeName (',' typeName)*
2642 * </pre> 2642 * </pre>
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
2836 * @param expression the expression being checked 2836 * @param expression the expression being checked
2837 */ 2837 */
2838 void _ensureAssignable(Expression expression) { 2838 void _ensureAssignable(Expression expression) {
2839 if (expression != null && !expression.isAssignable) { 2839 if (expression != null && !expression.isAssignable) {
2840 _reportErrorForCurrentToken(ParserErrorCode.ILLEGAL_ASSIGNMENT_TO_NON_ASSI GNABLE, []); 2840 _reportErrorForCurrentToken(ParserErrorCode.ILLEGAL_ASSIGNMENT_TO_NON_ASSI GNABLE, []);
2841 } 2841 }
2842 } 2842 }
2843 2843
2844 /** 2844 /**
2845 * If the current token has the expected type, return it after advancing to th e next token. 2845 * If the current token has the expected type, return it after advancing to th e next token.
2846 * Otherwise report an error and return the current token without advancing. 2846 * Otherwise report an error and return the current token without advancing. N ote that the method
2847 * [expectGt] should be used if the argument to this method would be [TokenTyp e#GT]
2848 * .
2847 * 2849 *
2848 * @param type the type of token that is expected 2850 * @param type the type of token that is expected
2849 * @return the token that matched the given type 2851 * @return the token that matched the given type
2850 */ 2852 */
2851 Token _expect(TokenType type) { 2853 Token _expect(TokenType type) {
2852 if (_matches(type)) { 2854 if (_matches(type)) {
2853 return andAdvance; 2855 return andAdvance;
2854 } 2856 }
2855 // Remove uses of this method in favor of matches? 2857 // Remove uses of this method in favor of matches?
2856 // Pass in the error code to use to report the error? 2858 // Pass in the error code to use to report the error?
2857 if (identical(type, TokenType.SEMICOLON)) { 2859 if (identical(type, TokenType.SEMICOLON)) {
2858 _reportErrorForToken(ParserErrorCode.EXPECTED_TOKEN, _currentToken.previou s, [type.lexeme]); 2860 _reportErrorForToken(ParserErrorCode.EXPECTED_TOKEN, _currentToken.previou s, [type.lexeme]);
2859 } else { 2861 } else {
2860 _reportErrorForCurrentToken(ParserErrorCode.EXPECTED_TOKEN, [type.lexeme]) ; 2862 _reportErrorForCurrentToken(ParserErrorCode.EXPECTED_TOKEN, [type.lexeme]) ;
2861 } 2863 }
2862 return _currentToken; 2864 return _currentToken;
2863 } 2865 }
2864 2866
2865 /** 2867 /**
2868 * If the current token has the type [TokenType#GT], return it after advancing to the next
2869 * token. Otherwise report an error and return the current token without advan cing.
2870 *
2871 * @return the token that matched the given type
2872 */
2873 Token _expectGt() {
2874 if (_matchesGt()) {
2875 return andAdvance;
2876 }
2877 _reportErrorForCurrentToken(ParserErrorCode.EXPECTED_TOKEN, [TokenType.GT.le xeme]);
2878 return _currentToken;
2879 }
2880
2881 /**
2866 * If the current token is a keyword matching the given string, return it afte r advancing to the 2882 * If the current token is a keyword matching the given string, return it afte r advancing to the
2867 * next token. Otherwise report an error and return the current token without advancing. 2883 * next token. Otherwise report an error and return the current token without advancing.
2868 * 2884 *
2869 * @param keyword the keyword that is expected 2885 * @param keyword the keyword that is expected
2870 * @return the token that matched the given type 2886 * @return the token that matched the given type
2871 */ 2887 */
2872 Token _expectKeyword(Keyword keyword) { 2888 Token _expectKeyword(Keyword keyword) {
2873 if (_matchesKeyword(keyword)) { 2889 if (_matchesKeyword(keyword)) {
2874 return andAdvance; 2890 return andAdvance;
2875 } 2891 }
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
3255 3271
3256 /** 3272 /**
3257 * Increments the error reporting lock level. If level is more than `0`, then 3273 * Increments the error reporting lock level. If level is more than `0`, then
3258 * [reportError] wont report any error. 3274 * [reportError] wont report any error.
3259 */ 3275 */
3260 void _lockErrorListener() { 3276 void _lockErrorListener() {
3261 _errorListenerLock++; 3277 _errorListenerLock++;
3262 } 3278 }
3263 3279
3264 /** 3280 /**
3265 * Return `true` if the current token has the given type. Note that this metho d, unlike 3281 * Return `true` if the current token has the given type. Note that the method
3266 * other variants, will modify the token stream if possible to match a wider r ange of tokens. In 3282 * [matchesGt] should be used if the argument to this method would be
3267 * particular, if we are attempting to match a '>' and the next token is eithe r a '>>' or '>>>', 3283 * [TokenType#GT].
3268 * the token stream will be re-written and `true` will be returned.
3269 * 3284 *
3270 * @param type the type of token that can optionally appear in the current loc ation 3285 * @param type the type of token that can optionally appear in the current loc ation
3271 * @return `true` if the current token has the given type 3286 * @return `true` if the current token has the given type
3272 */ 3287 */
3273 bool _matches(TokenType type) { 3288 bool _matches(TokenType type) => identical(_currentToken.type, type);
3289
3290 /**
3291 * Return `true` if the current token has a type of [TokenType#GT]. Note that this
3292 * method, unlike other variants, will modify the token stream if possible to match desired type.
3293 * In particular, if the next token is either a '>>' or '>>>', the token strea m will be re-written
3294 * and `true` will be returned.
3295 *
3296 * @return `true` if the current token has a type of [TokenType#GT]
3297 */
3298 bool _matchesGt() {
3274 TokenType currentType = _currentToken.type; 3299 TokenType currentType = _currentToken.type;
3275 if (currentType != type) { 3300 if (identical(currentType, TokenType.GT)) {
3276 if (identical(type, TokenType.GT)) { 3301 return true;
3277 if (identical(currentType, TokenType.GT_GT)) { 3302 } else if (identical(currentType, TokenType.GT_GT)) {
3278 int offset = _currentToken.offset; 3303 int offset = _currentToken.offset;
3279 Token first = new Token(TokenType.GT, offset); 3304 Token first = new Token(TokenType.GT, offset);
3280 Token second = new Token(TokenType.GT, offset + 1); 3305 Token second = new Token(TokenType.GT, offset + 1);
3281 second.setNext(_currentToken.next); 3306 second.setNext(_currentToken.next);
3282 first.setNext(second); 3307 first.setNext(second);
3283 _currentToken.previous.setNext(first); 3308 _currentToken.previous.setNext(first);
3284 _currentToken = first; 3309 _currentToken = first;
3285 return true; 3310 return true;
3286 } else if (identical(currentType, TokenType.GT_EQ)) { 3311 } else if (identical(currentType, TokenType.GT_EQ)) {
3287 int offset = _currentToken.offset; 3312 int offset = _currentToken.offset;
3288 Token first = new Token(TokenType.GT, offset); 3313 Token first = new Token(TokenType.GT, offset);
3289 Token second = new Token(TokenType.EQ, offset + 1); 3314 Token second = new Token(TokenType.EQ, offset + 1);
3290 second.setNext(_currentToken.next); 3315 second.setNext(_currentToken.next);
3291 first.setNext(second); 3316 first.setNext(second);
3292 _currentToken.previous.setNext(first); 3317 _currentToken.previous.setNext(first);
3293 _currentToken = first; 3318 _currentToken = first;
3294 return true; 3319 return true;
3295 } else if (identical(currentType, TokenType.GT_GT_EQ)) { 3320 } else if (identical(currentType, TokenType.GT_GT_EQ)) {
3296 int offset = _currentToken.offset; 3321 int offset = _currentToken.offset;
3297 Token first = new Token(TokenType.GT, offset); 3322 Token first = new Token(TokenType.GT, offset);
3298 Token second = new Token(TokenType.GT, offset + 1); 3323 Token second = new Token(TokenType.GT, offset + 1);
3299 Token third = new Token(TokenType.EQ, offset + 2); 3324 Token third = new Token(TokenType.EQ, offset + 2);
3300 third.setNext(_currentToken.next); 3325 third.setNext(_currentToken.next);
3301 second.setNext(third); 3326 second.setNext(third);
3302 first.setNext(second); 3327 first.setNext(second);
3303 _currentToken.previous.setNext(first); 3328 _currentToken.previous.setNext(first);
3304 _currentToken = first; 3329 _currentToken = first;
3305 return true; 3330 return true;
3306 }
3307 }
3308 return false;
3309 } 3331 }
3310 return true; 3332 return false;
3311 } 3333 }
3312 3334
3313 /** 3335 /**
3314 * Return `true` if the current token is a valid identifier. Valid identifiers include 3336 * Return `true` if the current token is a valid identifier. Valid identifiers include
3315 * built-in identifiers (pseudo-keywords). 3337 * built-in identifiers (pseudo-keywords).
3316 * 3338 *
3317 * @return `true` if the current token is a valid identifier 3339 * @return `true` if the current token is a valid identifier
3318 */ 3340 */
3319 bool _matchesIdentifier() => _tokenMatchesIdentifier(_currentToken); 3341 bool _matchesIdentifier() => _tokenMatchesIdentifier(_currentToken);
3320 3342
3321 /** 3343 /**
3322 * Return `true` if the current token matches the given keyword. 3344 * Return `true` if the current token matches the given keyword.
3323 * 3345 *
3324 * @param keyword the keyword that can optionally appear in the current locati on 3346 * @param keyword the keyword that can optionally appear in the current locati on
3325 * @return `true` if the current token matches the given keyword 3347 * @return `true` if the current token matches the given keyword
3326 */ 3348 */
3327 bool _matchesKeyword(Keyword keyword) => _tokenMatchesKeyword(_currentToken, k eyword); 3349 bool _matchesKeyword(Keyword keyword) => _tokenMatchesKeyword(_currentToken, k eyword);
3328 3350
3329 /** 3351 /**
3330 * Return `true` if the current token matches the given identifier. 3352 * Return `true` if the current token matches the given identifier.
3331 * 3353 *
3332 * @param identifier the identifier that can optionally appear in the current location 3354 * @param identifier the identifier that can optionally appear in the current location
3333 * @return `true` if the current token matches the given identifier 3355 * @return `true` if the current token matches the given identifier
3334 */ 3356 */
3335 bool _matchesString(String identifier) => identical(_currentToken.type, TokenT ype.IDENTIFIER) && _currentToken.lexeme == identifier; 3357 bool _matchesString(String identifier) => identical(_currentToken.type, TokenT ype.IDENTIFIER) && _currentToken.lexeme == identifier;
3336 3358
3337 /** 3359 /**
3338 * If the current token has the given type, then advance to the next token and return `true` 3360 * If the current token has the given type, then advance to the next token and return `true`
3339 * . Otherwise, return `false` without advancing. 3361 * . Otherwise, return `false` without advancing. This method should not be in voked with an
3362 * argument value of [TokenType#GT].
3340 * 3363 *
3341 * @param type the type of token that can optionally appear in the current loc ation 3364 * @param type the type of token that can optionally appear in the current loc ation
3342 * @return `true` if the current token has the given type 3365 * @return `true` if the current token has the given type
3343 */ 3366 */
3344 bool _optional(TokenType type) { 3367 bool _optional(TokenType type) {
3345 if (_matches(type)) { 3368 if (_matches(type)) {
3346 _advance(); 3369 _advance();
3347 return true; 3370 return true;
3348 } 3371 }
3349 return false; 3372 return false;
(...skipping 5440 matching lines...) Expand 10 before | Expand all | Expand 10 after
8790 'appendScalarValue_5': new MethodTrampoline(5, (Parser target, arg0, arg1, arg 2, arg3, arg4) => target._appendScalarValue(arg0, arg1, arg2, arg3, arg4)), 8813 'appendScalarValue_5': new MethodTrampoline(5, (Parser target, arg0, arg1, arg 2, arg3, arg4) => target._appendScalarValue(arg0, arg1, arg2, arg3, arg4)),
8791 'computeStringValue_3': new MethodTrampoline(3, (Parser target, arg0, arg1, ar g2) => target._computeStringValue(arg0, arg1, arg2)), 8814 'computeStringValue_3': new MethodTrampoline(3, (Parser target, arg0, arg1, ar g2) => target._computeStringValue(arg0, arg1, arg2)),
8792 'convertToFunctionDeclaration_1': new MethodTrampoline(1, (Parser target, arg0 ) => target._convertToFunctionDeclaration(arg0)), 8815 'convertToFunctionDeclaration_1': new MethodTrampoline(1, (Parser target, arg0 ) => target._convertToFunctionDeclaration(arg0)),
8793 'couldBeStartOfCompilationUnitMember_0': new MethodTrampoline(0, (Parser targe t) => target._couldBeStartOfCompilationUnitMember()), 8816 'couldBeStartOfCompilationUnitMember_0': new MethodTrampoline(0, (Parser targe t) => target._couldBeStartOfCompilationUnitMember()),
8794 'createSyntheticIdentifier_0': new MethodTrampoline(0, (Parser target) => targ et._createSyntheticIdentifier()), 8817 'createSyntheticIdentifier_0': new MethodTrampoline(0, (Parser target) => targ et._createSyntheticIdentifier()),
8795 'createSyntheticKeyword_1': new MethodTrampoline(1, (Parser target, arg0) => t arget._createSyntheticKeyword(arg0)), 8818 'createSyntheticKeyword_1': new MethodTrampoline(1, (Parser target, arg0) => t arget._createSyntheticKeyword(arg0)),
8796 'createSyntheticStringLiteral_0': new MethodTrampoline(0, (Parser target) => t arget._createSyntheticStringLiteral()), 8819 'createSyntheticStringLiteral_0': new MethodTrampoline(0, (Parser target) => t arget._createSyntheticStringLiteral()),
8797 'createSyntheticToken_1': new MethodTrampoline(1, (Parser target, arg0) => tar get._createSyntheticToken(arg0)), 8820 'createSyntheticToken_1': new MethodTrampoline(1, (Parser target, arg0) => tar get._createSyntheticToken(arg0)),
8798 'ensureAssignable_1': new MethodTrampoline(1, (Parser target, arg0) => target. _ensureAssignable(arg0)), 8821 'ensureAssignable_1': new MethodTrampoline(1, (Parser target, arg0) => target. _ensureAssignable(arg0)),
8799 'expect_1': new MethodTrampoline(1, (Parser target, arg0) => target._expect(ar g0)), 8822 'expect_1': new MethodTrampoline(1, (Parser target, arg0) => target._expect(ar g0)),
8823 'expectGt_0': new MethodTrampoline(0, (Parser target) => target._expectGt()),
8800 'expectKeyword_1': new MethodTrampoline(1, (Parser target, arg0) => target._ex pectKeyword(arg0)), 8824 'expectKeyword_1': new MethodTrampoline(1, (Parser target, arg0) => target._ex pectKeyword(arg0)),
8801 'expectSemicolon_0': new MethodTrampoline(0, (Parser target) => target._expect Semicolon()), 8825 'expectSemicolon_0': new MethodTrampoline(0, (Parser target) => target._expect Semicolon()),
8802 'findRange_2': new MethodTrampoline(2, (Parser target, arg0, arg1) => target._ findRange(arg0, arg1)), 8826 'findRange_2': new MethodTrampoline(2, (Parser target, arg0, arg1) => target._ findRange(arg0, arg1)),
8803 'getCodeBlockRanges_1': new MethodTrampoline(1, (Parser target, arg0) => targe t._getCodeBlockRanges(arg0)), 8827 'getCodeBlockRanges_1': new MethodTrampoline(1, (Parser target, arg0) => targe t._getCodeBlockRanges(arg0)),
8804 'getEndToken_1': new MethodTrampoline(1, (Parser target, arg0) => target._getE ndToken(arg0)), 8828 'getEndToken_1': new MethodTrampoline(1, (Parser target, arg0) => target._getE ndToken(arg0)),
8805 'injectToken_1': new MethodTrampoline(1, (Parser target, arg0) => target._inje ctToken(arg0)), 8829 'injectToken_1': new MethodTrampoline(1, (Parser target, arg0) => target._inje ctToken(arg0)),
8806 'isFunctionDeclaration_0': new MethodTrampoline(0, (Parser target) => target._ isFunctionDeclaration()), 8830 'isFunctionDeclaration_0': new MethodTrampoline(0, (Parser target) => target._ isFunctionDeclaration()),
8807 'isFunctionExpression_1': new MethodTrampoline(1, (Parser target, arg0) => tar get._isFunctionExpression(arg0)), 8831 'isFunctionExpression_1': new MethodTrampoline(1, (Parser target, arg0) => tar get._isFunctionExpression(arg0)),
8808 'isHexDigit_1': new MethodTrampoline(1, (Parser target, arg0) => target._isHex Digit(arg0)), 8832 'isHexDigit_1': new MethodTrampoline(1, (Parser target, arg0) => target._isHex Digit(arg0)),
8809 'isInitializedVariableDeclaration_0': new MethodTrampoline(0, (Parser target) => target._isInitializedVariableDeclaration()), 8833 'isInitializedVariableDeclaration_0': new MethodTrampoline(0, (Parser target) => target._isInitializedVariableDeclaration()),
8810 'isLinkText_2': new MethodTrampoline(2, (Parser target, arg0, arg1) => target. _isLinkText(arg0, arg1)), 8834 'isLinkText_2': new MethodTrampoline(2, (Parser target, arg0, arg1) => target. _isLinkText(arg0, arg1)),
8811 'isOperator_1': new MethodTrampoline(1, (Parser target, arg0) => target._isOpe rator(arg0)), 8835 'isOperator_1': new MethodTrampoline(1, (Parser target, arg0) => target._isOpe rator(arg0)),
8812 'isSwitchMember_0': new MethodTrampoline(0, (Parser target) => target._isSwitc hMember()), 8836 'isSwitchMember_0': new MethodTrampoline(0, (Parser target) => target._isSwitc hMember()),
8813 'isTypedIdentifier_1': new MethodTrampoline(1, (Parser target, arg0) => target ._isTypedIdentifier(arg0)), 8837 'isTypedIdentifier_1': new MethodTrampoline(1, (Parser target, arg0) => target ._isTypedIdentifier(arg0)),
8814 'lexicallyFirst_1': new MethodTrampoline(1, (Parser target, arg0) => target._l exicallyFirst(arg0)), 8838 'lexicallyFirst_1': new MethodTrampoline(1, (Parser target, arg0) => target._l exicallyFirst(arg0)),
8815 'lockErrorListener_0': new MethodTrampoline(0, (Parser target) => target._lock ErrorListener()), 8839 'lockErrorListener_0': new MethodTrampoline(0, (Parser target) => target._lock ErrorListener()),
8816 'matches_1': new MethodTrampoline(1, (Parser target, arg0) => target._matches( arg0)), 8840 'matches_1': new MethodTrampoline(1, (Parser target, arg0) => target._matches( arg0)),
8841 'matchesGt_0': new MethodTrampoline(0, (Parser target) => target._matchesGt()) ,
8817 'matchesIdentifier_0': new MethodTrampoline(0, (Parser target) => target._matc hesIdentifier()), 8842 'matchesIdentifier_0': new MethodTrampoline(0, (Parser target) => target._matc hesIdentifier()),
8818 'matchesKeyword_1': new MethodTrampoline(1, (Parser target, arg0) => target._m atchesKeyword(arg0)), 8843 'matchesKeyword_1': new MethodTrampoline(1, (Parser target, arg0) => target._m atchesKeyword(arg0)),
8819 'matchesString_1': new MethodTrampoline(1, (Parser target, arg0) => target._ma tchesString(arg0)), 8844 'matchesString_1': new MethodTrampoline(1, (Parser target, arg0) => target._ma tchesString(arg0)),
8820 'optional_1': new MethodTrampoline(1, (Parser target, arg0) => target._optiona l(arg0)), 8845 'optional_1': new MethodTrampoline(1, (Parser target, arg0) => target._optiona l(arg0)),
8821 'parseAdditiveExpression_0': new MethodTrampoline(0, (Parser target) => target ._parseAdditiveExpression()), 8846 'parseAdditiveExpression_0': new MethodTrampoline(0, (Parser target) => target ._parseAdditiveExpression()),
8822 'parseArgumentDefinitionTest_0': new MethodTrampoline(0, (Parser target) => ta rget._parseArgumentDefinitionTest()), 8847 'parseArgumentDefinitionTest_0': new MethodTrampoline(0, (Parser target) => ta rget._parseArgumentDefinitionTest()),
8823 'parseAssertStatement_0': new MethodTrampoline(0, (Parser target) => target._p arseAssertStatement()), 8848 'parseAssertStatement_0': new MethodTrampoline(0, (Parser target) => target._p arseAssertStatement()),
8824 'parseAssignableExpression_1': new MethodTrampoline(1, (Parser target, arg0) = > target._parseAssignableExpression(arg0)), 8849 'parseAssignableExpression_1': new MethodTrampoline(1, (Parser target, arg0) = > target._parseAssignableExpression(arg0)),
8825 'parseAssignableSelector_2': new MethodTrampoline(2, (Parser target, arg0, arg 1) => target._parseAssignableSelector(arg0, arg1)), 8850 'parseAssignableSelector_2': new MethodTrampoline(2, (Parser target, arg0, arg 1) => target._parseAssignableSelector(arg0, arg1)),
8826 'parseBitwiseAndExpression_0': new MethodTrampoline(0, (Parser target) => targ et._parseBitwiseAndExpression()), 8851 'parseBitwiseAndExpression_0': new MethodTrampoline(0, (Parser target) => targ et._parseBitwiseAndExpression()),
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
8963 return trampoline(target, arguments[0], arguments[1]); 8988 return trampoline(target, arguments[0], arguments[1]);
8964 case 3: 8989 case 3:
8965 return trampoline(target, arguments[0], arguments[1], arguments[2]); 8990 return trampoline(target, arguments[0], arguments[1], arguments[2]);
8966 case 4: 8991 case 4:
8967 return trampoline(target, arguments[0], arguments[1], arguments[2], argu ments[3]); 8992 return trampoline(target, arguments[0], arguments[1], arguments[2], argu ments[3]);
8968 default: 8993 default:
8969 throw new IllegalArgumentException("Not implemented for > 4 arguments"); 8994 throw new IllegalArgumentException("Not implemented for > 4 arguments");
8970 } 8995 }
8971 } 8996 }
8972 } 8997 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/generated/html.dart ('k') | pkg/analyzer/lib/src/generated/resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698