blob: c1c8c33399a6569de25c53ae404f4d2498e51275 [file] [log] [blame]
parseUnit(f)
skipErrorTokens(f)
listener: beginCompilationUnit(f)
syntheticPreviousToken(f)
parseTopLevelDeclarationImpl(, DirectiveContext(DirectiveState.Unknown))
parseMetadataStar()
listener: beginMetadataStar(f)
listener: endMetadataStar(0)
parseTopLevelMemberImpl()
listener: beginTopLevelMember(f)
isReservedKeyword(()
parseTopLevelMethod(, null, null, , NoType(), null, f, false)
listener: beginTopLevelMethod(, null, 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)
parseFormalParameter((, FormalParameterKind.requiredPositional, MemberKind.TopLevelMethod)
parseMetadataStar(()
listener: beginMetadataStar(x)
listener: endMetadataStar(0)
listener: beginFormalParameter(x, MemberKind.TopLevelMethod, null, null, null)
listener: handleNoType(()
ensureIdentifier((, formalParameterDeclaration)
listener: handleIdentifier(x, formalParameterDeclaration)
listener: handleFormalParameterWithoutValue())
listener: endFormalParameter(null, null, null, x, null, null, FormalParameterKind.requiredPositional, MemberKind.TopLevelMethod)
listener: endFormalParameters(1, (, ), MemberKind.TopLevelMethod)
parseAsyncModifierOpt())
listener: handleAsyncModifier(null, null)
inPlainSync()
parseFunctionBody(), false, false)
parseExpressionFunctionBody(=>, false)
parseExpression(=>)
looksLikeOuterPatternEquals(=>)
skipOuterPattern(=>)
parsePrecedenceExpression(=>, 1, true, ConstantPatternContext.none)
parseUnaryExpression(=>, true, ConstantPatternContext.none)
parsePrimary(=>, expression, ConstantPatternContext.none)
inPlainSync()
parseSwitchExpression(=>)
listener: beginSwitchExpression(switch)
ensureParenthesizedCondition(switch, allowCase: false)
parseExpressionInParenthesisRest((, allowCase: false)
parseExpression(()
looksLikeOuterPatternEquals(()
skipOuterPattern(()
skipObjectPatternRest(x)
parsePrecedenceExpression((, 1, true, ConstantPatternContext.none)
parseUnaryExpression((, true, ConstantPatternContext.none)
parsePrimary((, expression, ConstantPatternContext.none)
parseSendOrFunctionLiteral((, expression, ConstantPatternContext.none)
parseSend((, expression, ConstantPatternContext.none)
ensureIdentifier((, expression)
listener: handleIdentifier(x, expression)
listener: handleNoTypeArguments())
parseArgumentsOpt(x)
listener: handleNoArguments())
listener: handleSend(x, x)
ensureCloseParen(x, ()
listener: handleParenthesizedCondition((, null, null)
ensureBlock(), BlockKind(switch expression))
listener: beginSwitchExpressionBlock({)
listener: beginSwitchExpressionCase()
parsePattern({, PatternContext.matching, precedence: 1)
listener: beginPattern({)
parsePrimaryPattern({, PatternContext.matching)
listener: beginConstantPattern(null)
parsePrecedenceExpression({, 7, false, ConstantPatternContext.implicit)
parseUnaryExpression({, false, ConstantPatternContext.implicit)
parsePrimary({, expression, ConstantPatternContext.implicit)
parseLiteralInt({)
listener: handleLiteralInt(1)
listener: endConstantPattern(null)
listener: endPattern(1)
listener: handleSwitchExpressionCasePattern(1)
ensureFunctionArrow(1)
parseExpression(=>)
looksLikeOuterPatternEquals(=>)
skipOuterPattern(=>)
parsePrecedenceExpression(=>, 1, true, ConstantPatternContext.none)
parseUnaryExpression(=>, true, ConstantPatternContext.none)
parsePrimary(=>, expression, ConstantPatternContext.none)
parseLiteralString(=>)
parseSingleLiteralString(=>)
listener: beginLiteralString('one')
listener: endLiteralString(0, ,)
listener: endSwitchExpressionCase(1, null, =>, 'one')
listener: beginSwitchExpressionCase()
reportRecoverableError(default, DefaultInSwitchExpression)
listener: handleRecoverableError(DefaultInSwitchExpression, default, default)
listener: handleNoType(default)
listener: handleWildcardPattern(null, default)
listener: handleSwitchExpressionCasePattern(default)
ensureFunctionArrow(default)
parseExpression(=>)
looksLikeOuterPatternEquals(=>)
skipOuterPattern(=>)
parsePrecedenceExpression(=>, 1, true, ConstantPatternContext.none)
parseUnaryExpression(=>, true, ConstantPatternContext.none)
parsePrimary(=>, expression, ConstantPatternContext.none)
parseLiteralString(=>)
parseSingleLiteralString(=>)
listener: beginLiteralString('other')
listener: endLiteralString(0, })
listener: endSwitchExpressionCase(default, null, =>, 'other')
listener: endSwitchExpressionBlock(2, {, })
listener: endSwitchExpression(switch, })
ensureSemicolon(})
listener: handleExpressionFunctionBody(=>, ;)
inGenerator()
listener: endTopLevelMethod(f, null, ;)
listener: endTopLevelDeclaration(;)
reportAllErrorTokens(f)
listener: endCompilationUnit(1, )