blob: 8805aaa4066b1efc4174c51dd23c3d345a330f09 [file] [log] [blame]
parseUnit(void)
skipErrorTokens(void)
listener: beginCompilationUnit(void)
syntheticPreviousToken(void)
parseTopLevelDeclarationImpl(, Instance of 'DirectiveContext')
parseMetadataStar()
listener: beginMetadataStar(void)
listener: endMetadataStar(0)
parseTopLevelMemberImpl()
listener: beginTopLevelMember(void)
parseTopLevelMethod(, null, null, , Instance of 'VoidType', null, main, false)
listener: beginTopLevelMethod(, null, null)
listener: handleVoidKeyword(void)
ensureIdentifierPotentiallyRecovered(void, topLevelFunctionDeclaration, false)
listener: handleIdentifier(main, topLevelFunctionDeclaration)
parseMethodTypeVar(main)
listener: handleNoTypeVariables(()
parseGetterOrFormalParameters(main, main, false, MemberKind.TopLevelMethod)
parseFormalParameters(main, MemberKind.TopLevelMethod)
parseFormalParametersRest((, MemberKind.TopLevelMethod)
listener: beginFormalParameters((, MemberKind.TopLevelMethod)
parseFormalParameter((, FormalParameterKind.requiredPositional, MemberKind.TopLevelMethod)
parseMetadataStar(()
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: beginFormalParameter(int, MemberKind.TopLevelMethod, null, null, null)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(on)
listener: handleType(int, null)
ensureIdentifier(int, formalParameterDeclaration)
inPlainSync()
listener: handleIdentifier(on, formalParameterDeclaration)
listener: handleFormalParameterWithoutValue())
listener: endFormalParameter(null, null, null, on, null, null, FormalParameterKind.requiredPositional, MemberKind.TopLevelMethod)
listener: endFormalParameters(1, (, ), MemberKind.TopLevelMethod)
parseAsyncModifierOpt())
listener: handleAsyncModifier(null, null)
inPlainSync()
parseFunctionBody(), false, false)
listener: beginBlockFunctionBody({)
notEofOrValue(}, try)
parseStatement({)
parseStatementX({)
parseTryStatement({)
listener: beginTryStatement(try)
parseBlock(try, BlockKind(try statement))
ensureBlock(try, null, try statement)
listener: beginBlock({, BlockKind(try statement))
notEofOrValue(}, ;)
parseStatement({)
parseStatementX({)
parseEmptyStatement({)
listener: handleEmptyStatement(;)
notEofOrValue(}, })
listener: endBlock(1, {, }, BlockKind(try statement))
listener: beginCatchClause(catch)
parseFormalParameters(catch, MemberKind.Catch)
parseFormalParametersRest((, MemberKind.Catch)
listener: beginFormalParameters((, MemberKind.Catch)
parseFormalParameter((, FormalParameterKind.requiredPositional, MemberKind.Catch)
parseMetadataStar(()
listener: beginMetadataStar(e)
listener: endMetadataStar(0)
listener: beginFormalParameter(e, MemberKind.Catch, null, null, null)
listener: handleNoType(()
ensureIdentifier((, formalParameterDeclaration)
listener: handleIdentifier(e, formalParameterDeclaration)
listener: handleFormalParameterWithoutValue())
listener: endFormalParameter(null, null, null, e, null, null, FormalParameterKind.requiredPositional, MemberKind.Catch)
listener: endFormalParameters(1, (, ), MemberKind.Catch)
listener: endCatchClause({)
parseBlock(), BlockKind(catch clause))
ensureBlock(), null, catch clause)
listener: beginBlock({, BlockKind(catch clause))
notEofOrValue(}, ;)
parseStatement({)
parseStatementX({)
parseEmptyStatement({)
listener: handleEmptyStatement(;)
notEofOrValue(}, })
listener: endBlock(1, {, }, BlockKind(catch clause))
listener: handleCatchBlock(null, catch, null)
listener: beginCatchClause(on)
listener: handleIdentifier(Foo, typeReference)
listener: handleNoTypeArguments({)
listener: handleType(Foo, null)
listener: endCatchClause({)
parseBlock(Foo, BlockKind(catch clause))
ensureBlock(Foo, null, catch clause)
listener: beginBlock({, BlockKind(catch clause))
notEofOrValue(}, ;)
parseStatement({)
parseStatementX({)
parseEmptyStatement({)
listener: handleEmptyStatement(;)
notEofOrValue(}, })
listener: endBlock(1, {, }, BlockKind(catch clause))
listener: handleCatchBlock(on, null, null)
listener: beginCatchClause(on)
insertSyntheticIdentifier(on, prefixedTypeReference, message: null, messageOnToken: null)
reportRecoverableError(., Message[ExpectedType, Expected a type, but got '.'., null, {lexeme: .}])
listener: handleRecoverableError(Message[ExpectedType, Expected a type, but got '.'., null, {lexeme: .}], ., .)
rewriter()
ensureIdentifier(on, prefixedTypeReference)
listener: handleIdentifier(, prefixedTypeReference)
parseQualifiedRest(, typeReferenceContinuation)
ensureIdentifier(., typeReferenceContinuation)
listener: handleIdentifier(toString, typeReferenceContinuation)
listener: handleQualified(.)
listener: handleNoTypeArguments(()
listener: handleType(, null)
listener: endCatchClause(()
parseBlock(toString, BlockKind(catch clause))
ensureBlock(toString, null, catch clause)
reportRecoverableError(toString, Message[ExpectedClassOrMixinBody, A catch clause must have a body, even if it is empty., Try adding an empty body., {string: catch clause}])
listener: handleRecoverableError(Message[ExpectedClassOrMixinBody, A catch clause must have a body, even if it is empty., Try adding an empty body., {string: catch clause}], toString, toString)
insertBlock(toString)
rewriter()
rewriter()
listener: beginBlock({, BlockKind(catch clause))
notEofOrValue(}, })
listener: endBlock(0, {, }, BlockKind(catch clause))
listener: handleCatchBlock(on, null, null)
listener: endTryStatement(3, try, null)
notEofOrValue(}, ()
parseStatement(})
parseStatementX(})
parseExpressionStatementOrDeclaration(}, null)
parseExpressionStatementOrDeclarationAfterModifiers(}, }, null, null, null, null)
looksLikeLocalFunction(()
parseExpressionStatement(})
parseExpression(})
parsePrecedenceExpression(}, 1, true)
parseUnaryExpression(}, true)
parsePrimary(}, expression)
parseParenthesizedExpressionFunctionLiteralOrRecordLiteral(})
parseParenthesizedExpressionOrRecordLiteral(}, null)
listener: beginParenthesizedExpressionOrRecordLiteral(()
ensureCloseParen((, ()
listener: endRecordLiteral((, 0, null)
ensureSemicolon())
listener: handleExpressionStatement(;)
notEofOrValue(}, })
listener: endBlockFunctionBody(2, {, })
listener: endTopLevelMethod(void, null, })
listener: endTopLevelDeclaration()
reportAllErrorTokens(void)
listener: endCompilationUnit(1, )