(
this: Parser,
base: N.Expression,
startLoc: Position,
state: N.ParseSubscriptState,
)
| 1037 | // MemberExpression [?Yield, ?Await] TemplateLiteral[?Yield, ?Await, +Tagged] |
| 1038 | // CallExpression [?Yield, ?Await] TemplateLiteral[?Yield, ?Await, +Tagged] |
| 1039 | parseTaggedTemplateExpression( |
| 1040 | this: Parser, |
| 1041 | base: N.Expression, |
| 1042 | startLoc: Position, |
| 1043 | state: N.ParseSubscriptState, |
| 1044 | ): N.TaggedTemplateExpression { |
| 1045 | const node = this.startNodeAt<N.TaggedTemplateExpression>(startLoc); |
| 1046 | node.tag = base; |
| 1047 | node.quasi = this.parseTemplate(true); |
| 1048 | if (state.optionalChainMember) { |
| 1049 | this.raise(Errors.OptionalChainingNoTemplate, startLoc); |
| 1050 | } |
| 1051 | return this.finishNode(node, "TaggedTemplateExpression"); |
| 1052 | } |
| 1053 | |
| 1054 | atPossibleAsyncArrow(base: N.Expression | N.Super | N.Import): boolean { |
| 1055 | return ( |
nothing calls this directly
no test coverage detected