parseUnit(main) | |
skipErrorTokens(main) | |
listener: beginCompilationUnit(main) | |
syntheticPreviousToken(main) | |
parseTopLevelDeclarationImpl(, Instance of 'DirectiveContext') | |
parseMetadataStar() | |
listener: beginMetadataStar(main) | |
listener: endMetadataStar(0) | |
parseTopLevelMemberImpl() | |
listener: beginTopLevelMember(main) | |
isReservedKeyword(() | |
parseTopLevelMethod(, null, , Instance of 'NoType', null, main, false) | |
listener: beginTopLevelMethod(, null) | |
listener: handleNoType() | |
ensureIdentifierPotentiallyRecovered(, 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) | |
listener: endFormalParameters(0, (, ), 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(}, }) | |
listener: endBlock(0, {, }, BlockKind(try statement)) | |
parseBlock(finally, BlockKind(finally clause)) | |
ensureBlock(finally, null, finally clause) | |
listener: beginBlock({, BlockKind(finally clause)) | |
notEofOrValue(}, }) | |
listener: endBlock(0, {, }, BlockKind(finally clause)) | |
listener: handleFinallyBlock(finally) | |
listener: endTryStatement(0, try, finally) | |
notEofOrValue(}, }) | |
listener: endBlockFunctionBody(1, {, }) | |
listener: endTopLevelMethod(main, null, }) | |
listener: endTopLevelDeclaration() | |
reportAllErrorTokens(main) | |
listener: endCompilationUnit(1, ) |