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)) | |
listener: beginCatchClause(catch) | |
parseFormalParameters(catch, MemberKind.Catch) | |
parseFormalParametersRest((, MemberKind.Catch) | |
listener: beginFormalParameters((, MemberKind.Catch) | |
parseFormalParameter((, FormalParameterKind.mandatory, 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, e, null, null, FormalParameterKind.mandatory, MemberKind.Catch) | |
parseFormalParameter(,, FormalParameterKind.mandatory, MemberKind.Catch) | |
parseMetadataStar(,) | |
listener: beginMetadataStar(s) | |
listener: endMetadataStar(0) | |
listener: beginFormalParameter(s, MemberKind.Catch, null, null, null) | |
listener: handleNoType(,) | |
ensureIdentifier(,, formalParameterDeclaration) | |
listener: handleIdentifier(s, formalParameterDeclaration) | |
listener: handleFormalParameterWithoutValue()) | |
listener: endFormalParameter(null, null, s, null, null, FormalParameterKind.mandatory, MemberKind.Catch) | |
listener: endFormalParameters(2, (, ), MemberKind.Catch) | |
listener: endCatchClause({) | |
parseBlock(), BlockKind(catch clause)) | |
ensureBlock(), null, catch clause) | |
listener: beginBlock({, BlockKind(catch clause)) | |
notEofOrValue(}, }) | |
listener: endBlock(0, {, }, BlockKind(catch clause)) | |
listener: handleCatchBlock(null, catch, ,) | |
listener: endTryStatement(1, try, null) | |
notEofOrValue(}, }) | |
listener: endBlockFunctionBody(1, {, }) | |
listener: endTopLevelMethod(main, null, }) | |
listener: endTopLevelDeclaration() | |
reportAllErrorTokens(main) | |
listener: endCompilationUnit(1, ) |