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

Method queue

packages/babel-generator/src/buffer.ts:124–127  ·  view source on GitHub ↗

* Add a string to the buffer than can be reverted.

(char: typeof charcodes.space | typeof charcodes.semicolon)

Source from the content-addressed store, hash-verified

122 * Add a string to the buffer than can be reverted.
123 */
124 queue(char: typeof charcodes.space | typeof charcodes.semicolon): void {
125 this._flush();
126 this._queuedChar = char;
127 }
128
129 _flush(): void {
130 const queuedChar = this._queuedChar;

Callers 3

_queueMethod · 0.80
_queueMethod · 0.80
_queueMethod · 0.80

Calls 1

_flushMethod · 0.95

Tested by

no test coverage detected