Files
sdk/pkg/front_end/parser_testcases/nnbd/nullCheckOnIndex2_with_parens.dart.intertwined.expect
T
Jens Johansen 5b76fc2172 [parser] Better recovery of methods/fields called 'const', 'final', 'var' or 'void'
Change-Id: I370089a6de8c585a60785fe069de5da869ae23f6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/145820
Commit-Queue: Jens Johansen <jensj@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2020-05-06 11:56:24 +00:00

116 lines
8.0 KiB
Plaintext

parseUnit(f)
skipErrorTokens(f)
listener: beginCompilationUnit(f)
syntheticPreviousToken(f)
parseTopLevelDeclarationImpl(, Instance of 'DirectiveContext')
parseMetadataStar()
listener: beginMetadataStar(f)
listener: endMetadataStar(0)
parseTopLevelMemberImpl()
listener: beginTopLevelMember(f)
isReservedKeyword(()
parseTopLevelMethod(, null, , Instance of 'NoType', null, f, false)
listener: beginTopLevelMethod(, null)
listener: handleNoType()
ensureIdentifierPotentiallyRecovered(, topLevelFunctionDeclaration, false)
listener: handleIdentifier(f, topLevelFunctionDeclaration)
parseMethodTypeVar(f)
listener: handleNoTypeVariables(()
parseGetterOrFormalParameters(f, f, false, MemberKind.TopLevelMethod)
parseFormalParameters(f, MemberKind.TopLevelMethod)
parseFormalParametersRest((, MemberKind.TopLevelMethod)
listener: beginFormalParameters((, MemberKind.TopLevelMethod)
listener: endFormalParameters(0, (, ), MemberKind.TopLevelMethod)
parseAsyncModifierOpt())
listener: handleAsyncModifier(null, null)
inPlainSync()
parseFunctionBody(), false, false)
listener: beginBlockFunctionBody({)
notEofOrValue(}, ()
parseStatement({)
parseStatementX({)
parseExpressionStatementOrDeclaration({, false)
parseExpressionStatementOrDeclarationAfterModifiers({, {, null, null, null, false)
looksLikeLocalFunction(()
parseExpressionStatement({)
parseExpression({)
parsePrecedenceExpression({, 1, true)
parseUnaryExpression({, true)
parsePrimary({, expression)
parseParenthesizedExpressionOrFunctionLiteral({)
parseParenthesizedExpression({)
parseExpressionInParenthesis({)
parseExpressionInParenthesisRest(()
parseExpression(()
parsePrecedenceExpression((, 1, true)
parseUnaryExpression((, true)
parsePrimary((, expression)
parseParenthesizedExpressionOrFunctionLiteral(()
parseParenthesizedExpression(()
parseExpressionInParenthesis(()
parseExpressionInParenthesisRest(()
parseExpression(()
parsePrecedenceExpression((, 1, true)
parseUnaryExpression((, true)
parsePrimary((, expression)
parseParenthesizedExpressionOrFunctionLiteral(()
parseParenthesizedExpression(()
parseExpressionInParenthesis(()
parseExpressionInParenthesisRest(()
parseExpression(()
parsePrecedenceExpression((, 1, true)
parseUnaryExpression((, true)
parsePrimary((, expression)
parseSendOrFunctionLiteral((, expression)
parseSend((, expression)
ensureIdentifier((, expression)
listener: handleIdentifier(obj, expression)
listener: handleNoTypeArguments(!)
parseArgumentsOpt(obj)
listener: handleNoArguments(!)
listener: handleSend(obj, !)
listener: handleNonNullAssertExpression(!)
ensureCloseParen(!, ()
listener: handleParenthesizedExpression(()
parseArgumentOrIndexStar(), Instance of 'NoTypeParamOrArg', false)
parseExpression([)
parsePrecedenceExpression([, 1, true)
parseUnaryExpression([, true)
parsePrimary([, expression)
parseSendOrFunctionLiteral([, expression)
parseSend([, expression)
ensureIdentifier([, expression)
listener: handleIdentifier(arg, expression)
listener: handleNoTypeArguments(])
parseArgumentsOpt(arg)
listener: handleNoArguments(])
listener: handleSend(arg, ])
listener: handleIndexedExpression(null, [, ])
ensureCloseParen(], ()
listener: handleParenthesizedExpression(()
listener: handleNonNullAssertExpression(!)
ensureCloseParen(!, ()
listener: handleParenthesizedExpression(()
parseArgumentOrIndexStar(), Instance of 'NoTypeParamOrArg', false)
parseExpression([)
parsePrecedenceExpression([, 1, true)
parseUnaryExpression([, true)
parsePrimary([, expression)
parseSendOrFunctionLiteral([, expression)
parseSend([, expression)
ensureIdentifier([, expression)
listener: handleIdentifier(arg2, expression)
listener: handleNoTypeArguments(])
parseArgumentsOpt(arg2)
listener: handleNoArguments(])
listener: handleSend(arg2, ])
listener: handleIndexedExpression(null, [, ])
ensureSemicolon(])
listener: handleExpressionStatement(;)
notEofOrValue(}, })
listener: endBlockFunctionBody(1, {, })
listener: endTopLevelMethod(f, null, })
listener: endTopLevelDeclaration()
reportAllErrorTokens(f)
listener: endCompilationUnit(1, )