dced5e0482
This cleans up the LocalScope interface and the handling of named function expressions. Change-Id: Id0432910a9e65d8ae966dfab67c66248639d241a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/419842 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
beginCompilationUnit(main)
|
|
beginMetadataStar(main)
|
|
endMetadataStar(0)
|
|
beginTopLevelMember(main)
|
|
beginTopLevelMethod(, null, null)
|
|
handleNoType()
|
|
handleIdentifier(main, topLevelFunctionDeclaration)
|
|
handleNoTypeVariables(()
|
|
beginFormalParameters((, MemberKind.TopLevelMethod)
|
|
endFormalParameters(0, (, ), MemberKind.TopLevelMethod)
|
|
handleAsyncModifier(null, null)
|
|
beginBlockFunctionBody({)
|
|
beginMetadataStar(local)
|
|
endMetadataStar(0)
|
|
handleNoTypeVariables(()
|
|
beginLocalFunctionDeclaration(local)
|
|
handleNoType({)
|
|
beginFunctionName(local)
|
|
handleIdentifier(local, localFunctionDeclaration)
|
|
endFunctionName(local, (, false)
|
|
beginFormalParameters((, MemberKind.Local)
|
|
endFormalParameters(0, (, ), MemberKind.Local)
|
|
handleNoInitializers()
|
|
handleAsyncModifier(null, null)
|
|
beginBlockFunctionBody({)
|
|
endBlockFunctionBody(0, {, })
|
|
endLocalFunctionDeclaration(})
|
|
endBlockFunctionBody(1, {, })
|
|
endTopLevelMethod(main, null, })
|
|
endTopLevelDeclaration(})
|
|
endCompilationUnit(1, )
|