MCPcopy Create free account
hub / github.com/babel/babel / registerTopicReference

Function registerTopicReference

packages/babel-parser/src/parser/expression.ts:3163–3165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3161 // Register the use of a topic reference within the current
3162 // topic-binding context.
3163 registerTopicReference(): void {
3164 this.state.seenTopicReference = true;
3165 }
3166
3167 topicReferenceIsAllowedInCurrentContext(): boolean {
3168 return this.state.inHackPipelineBody;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected