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

Function registerTopicReference

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

Source from the content-addressed store, hash-verified

3153 // Register the use of a topic reference within the current
3154 // topic-binding context.
3155 registerTopicReference(): void {
3156 this.state.seenTopicReference = true;
3157 }
3158
3159 topicReferenceIsAllowedInCurrentContext(): boolean {
3160 return this.state.inHackPipelineBody;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected