| beginCompilationUnit(main) |
| beginMetadataStar(main) |
| endMetadataStar(0) |
| beginTopLevelMember(main) |
| beginTopLevelMethod(, null) |
| handleNoType() |
| handleIdentifier(main, topLevelFunctionDeclaration) |
| handleNoTypeVariables(() |
| beginFormalParameters((, MemberKind.TopLevelMethod) |
| endFormalParameters(0, (, ), MemberKind.TopLevelMethod) |
| handleAsyncModifier(null, null) |
| beginBlockFunctionBody({) |
| handleIdentifier(foo, expression) |
| handleNoTypeArguments(=) |
| handleNoArguments(=) |
| handleSend(foo, =) |
| handleLiteralInt(42) |
| handleAssignmentExpression(=) |
| handleExpressionStatement(;) |
| endBlockFunctionBody(1, {, }) |
| endTopLevelMethod(main, null, }) |
| endTopLevelDeclaration() |
| endCompilationUnit(1, ) |