parseUnit(void) | |
skipErrorTokens(void) | |
listener: beginCompilationUnit(void) | |
syntheticPreviousToken(void) | |
parseTopLevelDeclarationImpl(, DirectiveContext(DirectiveState.Unknown)) | |
parseMetadataStar() | |
listener: beginMetadataStar(void) | |
listener: endMetadataStar(0) | |
parseTopLevelMemberImpl() | |
listener: beginTopLevelMember(void) | |
parseTopLevelMethod(, null, null, , VoidType(), null, f, false) | |
listener: beginTopLevelMethod(, null, null) | |
listener: handleVoidKeyword(void) | |
ensureIdentifierPotentiallyRecovered(void, topLevelFunctionDeclaration, false) | |
listener: handleIdentifier(f, topLevelFunctionDeclaration) | |
parseMethodTypeVar(f) | |
listener: beginTypeVariables(<) | |
listener: beginMetadataStar(T) | |
listener: endMetadataStar(0) | |
listener: handleIdentifier(T, typeVariableDeclaration) | |
listener: beginTypeVariable(T) | |
listener: handleTypeVariablesDefined(T, 1) | |
listener: handleNoType(T) | |
listener: endTypeVariable(>, 0, null, null) | |
listener: endTypeVariables(<, >) | |
parseGetterOrFormalParameters(>, f, false, MemberKind.TopLevelMethod) | |
parseFormalParameters(>, 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({) | |
notEofOrType(CLOSE_CURLY_BRACKET, }) | |
listener: endBlockFunctionBody(0, {, }) | |
listener: endTopLevelMethod(void, null, }) | |
listener: endTopLevelDeclaration(}) | |
parseTopLevelDeclarationImpl(}, DirectiveContext(DirectiveState.Declarations)) | |
parseMetadataStar(}) | |
listener: beginMetadataStar(void) | |
listener: endMetadataStar(0) | |
parseTopLevelMemberImpl(}) | |
listener: beginTopLevelMember(void) | |
parseTopLevelMethod(}, null, null, }, VoidType(), null, m, false) | |
listener: beginTopLevelMethod(}, null, null) | |
listener: handleVoidKeyword(void) | |
ensureIdentifierPotentiallyRecovered(void, topLevelFunctionDeclaration, false) | |
listener: handleIdentifier(m, topLevelFunctionDeclaration) | |
parseMethodTypeVar(m) | |
listener: handleNoTypeVariables(() | |
parseGetterOrFormalParameters(m, m, false, MemberKind.TopLevelMethod) | |
parseFormalParameters(m, 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({) | |
notEofOrType(CLOSE_CURLY_BRACKET, f) | |
parseStatement({) | |
parseStatementX({) | |
parseExpressionStatementOrDeclarationAfterModifiers({, {, null, null, null, null) | |
looksLikeLocalFunction(f) | |
parseExpressionStatement({) | |
parseExpression({) | |
parsePrecedenceExpression({, 1, true, ConstantPatternContext.none) | |
parseUnaryExpression({, true, ConstantPatternContext.none) | |
parsePrimary({, expression, ConstantPatternContext.none) | |
parseSendOrFunctionLiteral({, expression, ConstantPatternContext.none) | |
looksLikeFunctionBody(;) | |
parseSend({, expression, ConstantPatternContext.none) | |
ensureIdentifier({, expression) | |
listener: handleIdentifier(f, expression) | |
listener: beginTypeArguments(<) | |
reportRecoverableErrorWithToken(>, Template(ExpectedType)) | |
listener: handleRecoverableError(Message[Template(ExpectedType), Expected a type, but got '>'., null, {lexeme: >}], >, >) | |
rewriter() | |
listener: handleIdentifier(, typeReference) | |
listener: handleNoTypeArguments(>) | |
listener: handleType(, null) | |
listener: endTypeArguments(1, <, >) | |
parseArgumentsOpt(>) | |
parseArguments(>) | |
parseArgumentsRest(() | |
listener: beginArguments(() | |
listener: endArguments(0, (, )) | |
listener: handleSend(f, )) | |
ensureSemicolon()) | |
listener: handleExpressionStatement(f, ;) | |
notEofOrType(CLOSE_CURLY_BRACKET, }) | |
listener: endBlockFunctionBody(1, {, }) | |
listener: endTopLevelMethod(void, null, }) | |
listener: endTopLevelDeclaration(}) | |
reportAllErrorTokens(void) | |
listener: endCompilationUnit(2, ) |