JS: Add 'Awaited' token

This commit is contained in:
Asger F
2023-10-04 20:00:09 +02:00
parent 32070abb27
commit 293899d648
3 changed files with 71 additions and 0 deletions

View File

@@ -50,6 +50,9 @@ private module Cached {
TConstructorThisArgumentNode(InvokeExpr e) { e instanceof NewExpr or e instanceof SuperCall } or
TConstructorThisPostUpdate(Constructor ctor) or
TFlowSummaryNode(FlowSummaryImpl::Private::SummaryNode sn) or
TFlowSummaryIntermediateAwaitStoreNode(FlowSummaryImpl::Private::SummaryNode sn) {
FlowSummaryImpl::Private::Steps::summaryStoreStep(sn, MkAwaited(), _)
} or
}
import Cached