blob: d637216c7e358df863952c3584de6cb7b91699a7 [file] [log] [blame]
parseUnit(main)
skipErrorTokens(main)
listener: beginCompilationUnit(main)
syntheticPreviousToken(main)
parseTopLevelDeclarationImpl(, DirectiveContext(DirectiveState.Unknown))
parseMetadataStar()
listener: beginMetadataStar(main)
listener: endMetadataStar(0)
parseTopLevelMemberImpl()
listener: beginTopLevelMember(main)
isReservedKeyword(()
parseTopLevelMethod(, null, null, , NoType(), null, main, false)
listener: beginTopLevelMethod(, null, 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({)
notEofOrType(CLOSE_CURLY_BRACKET, for)
parseStatement({)
parseStatementX({)
parseForStatement({, null)
listener: beginForStatement(for)
parseForLoopPartsStart(null, for, ForPartsContext(null))
parseExpressionStatementOrDeclaration((, ForPartsContext(null))
parseExpressionStatementOrDeclarationAfterModifiers((, (, null, null, null, ForPartsContext(null))
listener: beginMetadataStar(int)
listener: endMetadataStar(0)
listener: handleIdentifier(int, typeReference)
listener: handleNoTypeArguments(i)
listener: handleType(int, null)
listener: beginVariablesDeclaration(i, null, null)
parseForLoopPartsMid(int, null, for)
parseVariablesDeclarationRest(int, false)
parseOptionallyInitializedIdentifier(int)
ensureIdentifier(int, localVariableDeclaration)
listener: handleIdentifier(i, localVariableDeclaration)
listener: beginInitializedIdentifier(i)
parseVariableInitializerOpt(i)
listener: beginVariableInitializer(=)
parseExpression(=)
parsePrecedenceExpression(=, 1, true, ConstantPatternContext.none)
parseUnaryExpression(=, true, ConstantPatternContext.none)
parsePrimary(=, expression, ConstantPatternContext.none)
parseLiteralInt(=)
listener: handleLiteralInt(0)
listener: endVariableInitializer(=)
listener: endInitializedIdentifier(i)
listener: endVariablesDeclaration(1, null)
listener: handleForInitializerLocalVariableDeclaration(0, false)
parseForRest(null, 0, for)
parseForLoopPartsRest(0, for, null)
ensureSemicolon(0)
parseExpressionStatement(;)
parseExpression(;)
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(i, expression)
listener: handleNoTypeArguments(<)
parseArgumentsOpt(i)
listener: handleNoArguments(<)
listener: handleSend(i, i)
listener: beginBinaryExpression(<)
parsePrecedenceExpression(<, 9, true, ConstantPatternContext.none)
parseUnaryExpression(<, true, ConstantPatternContext.none)
parsePrimary(<, expression, ConstantPatternContext.none)
parseLiteralInt(<)
listener: handleLiteralInt(10)
listener: endBinaryExpression(<, 10)
ensureSemicolon(10)
listener: handleExpressionStatement(i, ;)
parseExpression(;)
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(i, expression)
listener: handleNoTypeArguments(++)
parseArgumentsOpt(i)
listener: handleNoArguments(++)
listener: handleSend(i, i)
listener: handleUnaryPostfixAssignmentExpression(++)
listener: handleForLoopParts(for, (, ;, ;, 1)
listener: beginForStatementBody({)
parseStatement())
parseStatementX())
parseBlock(), BlockKind(statement))
ensureBlock(), BlockKind(statement))
listener: beginBlock({, BlockKind(statement))
notEofOrType(CLOSE_CURLY_BRACKET, })
listener: endBlock(0, {, }, BlockKind(statement))
listener: endForStatementBody(})
listener: endForStatement(})
notEofOrType(CLOSE_CURLY_BRACKET, })
listener: endBlockFunctionBody(1, {, })
listener: endTopLevelMethod(main, null, })
listener: endTopLevelDeclaration(})
reportAllErrorTokens(main)
listener: endCompilationUnit(1, )