type
stringclasses
7 values
content
stringlengths
4
9.55k
repo
stringlengths
7
96
path
stringlengths
4
178
language
stringclasses
1 value
MethodDeclaration
async setWindowBounds(bounds: WindowBounds) { return await this._client.send('Browser.setWindowBounds', { windowId: this._windowId!, bounds }); }
kisscelia/playwright
packages/playwright-core/src/server/chromium/crPage.ts
TypeScript
MethodDeclaration
async _updateEmulateMedia(initial: boolean): Promise<void> { const colorScheme = this._page._state.colorScheme === null ? '' : this._page._state.colorScheme; const reducedMotion = this._page._state.reducedMotion === null ? '' : this._page._state.reducedMotion; const forcedColors = this._page._state.forcedColors === null ? '' : this._page._state.forcedColors; const features = [ { name: 'prefers-color-scheme', value: colorScheme }, { name: 'prefers-reduced-motion', value: reducedMotion }, { name: 'forced-colors', value: forcedColors }, ]; // Empty string disables the override. await this._client.send('Emulation.setEmulatedMedia', { media: this._page._state.mediaType || '', features }); }
kisscelia/playwright
packages/playwright-core/src/server/chromium/crPage.ts
TypeScript
MethodDeclaration
private async _setDefaultFontFamilies(session: CRSession) { const fontFamilies = platformToFontFamilies[this._crPage._browserContext._browser._platform()]; await session.send('Page.setFontFamilies', fontFamilies); }
kisscelia/playwright
packages/playwright-core/src/server/chromium/crPage.ts
TypeScript
MethodDeclaration
async _updateRequestInterception(): Promise<void> { await this._networkManager.setRequestInterception(this._page._needsRequestInterception()); }
kisscelia/playwright
packages/playwright-core/src/server/chromium/crPage.ts
TypeScript
MethodDeclaration
async _updateFileChooserInterception(initial: boolean) { const enabled = this._page._state.interceptFileChooser; if (initial && !enabled) return; await this._client.send('Page.setInterceptFileChooserDialog', { enabled }).catch(e => {}); // target can be closed. }
kisscelia/playwright
packages/playwright-core/src/server/chromium/crPage.ts
TypeScript
MethodDeclaration
async _evaluateOnNewDocument(source: string, world: types.World): Promise<void> { const worldName = world === 'utility' ? UTILITY_WORLD_NAME : undefined; const { identifier } = await this._client.send('Page.addScriptToEvaluateOnNewDocument', { source, worldName }); this._evaluateOnNewDocumentIdentifiers.push(identifier); }
kisscelia/playwright
packages/playwright-core/src/server/chromium/crPage.ts
TypeScript
MethodDeclaration
async _removeEvaluatesOnNewDocument(): Promise<void> { const identifiers = this._evaluateOnNewDocumentIdentifiers; this._evaluateOnNewDocumentIdentifiers = []; await Promise.all(identifiers.map(identifier => this._client.send('Page.removeScriptToEvaluateOnNewDocument', { identifier }))); }
kisscelia/playwright
packages/playwright-core/src/server/chromium/crPage.ts
TypeScript
MethodDeclaration
async _getContentFrame(handle: dom.ElementHandle): Promise<frames.Frame | null> { const nodeInfo = await this._client.send('DOM.describeNode', { objectId: handle._objectId }); if (!nodeInfo || typeof nodeInfo.node.frameId !== 'string') return null; return this._page._frameManager.frame(nodeInfo.node.frameId); }
kisscelia/playwright
packages/playwright-core/src/server/chromium/crPage.ts
TypeScript
MethodDeclaration
async _getOwnerFrame(handle: dom.ElementHandle): Promise<string | null> { // document.documentElement has frameId of the owner frame. const documentElement = await handle.evaluateHandle(node => { const doc = node as Document; if (doc.documentElement && doc.documentElement.ownerDocument === doc) return doc.documentElement; return node.ownerDocument ? node.ownerDocument.documentElement : null; }); if (!documentElement) return null; if (!documentElement._objectId) return null; const nodeInfo = await this._client.send('DOM.describeNode', { objectId: documentElement._objectId }); const frameId = nodeInfo && typeof nodeInfo.node.frameId === 'string' ? nodeInfo.node.frameId : null; documentElement.dispose(); return frameId; }
kisscelia/playwright
packages/playwright-core/src/server/chromium/crPage.ts
TypeScript
MethodDeclaration
async _getBoundingBox(handle: dom.ElementHandle): Promise<types.Rect | null> { const result = await this._client._sendMayFail('DOM.getBoxModel', { objectId: handle._objectId }); if (!result) return null; const quad = result.model.border; const x = Math.min(quad[0], quad[2], quad[4], quad[6]); const y = Math.min(quad[1], quad[3], quad[5], quad[7]); const width = Math.max(quad[0], quad[2], quad[4], quad[6]) - x; const height = Math.max(quad[1], quad[3], quad[5], quad[7]) - y; const position = await this._framePosition(); if (!position) return null; return { x: x + position.x, y: y + position.y, width, height }; }
kisscelia/playwright
packages/playwright-core/src/server/chromium/crPage.ts
TypeScript
MethodDeclaration
private async _framePosition(): Promise<types.Point | null> { const frame = this._page._frameManager.frame(this._targetId); if (!frame) return null; if (frame === this._page.mainFrame()) return { x: 0, y: 0 }; const element = await frame.frameElement(); const box = await element.boundingBox(); return box; }
kisscelia/playwright
packages/playwright-core/src/server/chromium/crPage.ts
TypeScript
MethodDeclaration
async _scrollRectIntoViewIfNeeded(handle: dom.ElementHandle, rect?: types.Rect): Promise<'error:notvisible' | 'error:notconnected' | 'done'> { return await this._client.send('DOM.scrollIntoViewIfNeeded', { objectId: handle._objectId, rect, }).then(() => 'done' as const).catch(e => { if (e instanceof Error && e.message.includes('Node does not have a layout object')) return 'error:notvisible'; if (e instanceof Error && e.message.includes('Node is detached from document')) return 'error:notconnected'; throw e; }); }
kisscelia/playwright
packages/playwright-core/src/server/chromium/crPage.ts
TypeScript
MethodDeclaration
async _getContentQuads(handle: dom.ElementHandle): Promise<types.Quad[] | null> { const result = await this._client._sendMayFail('DOM.getContentQuads', { objectId: handle._objectId }); if (!result) return null; const position = await this._framePosition(); if (!position) return null; return result.quads.map(quad => [ { x: quad[0] + position.x, y: quad[1] + position.y }, { x: quad[2] + position.x, y: quad[3] + position.y }, { x: quad[4] + position.x, y: quad[5] + position.y }, { x: quad[6] + position.x, y: quad[7] + position.y } ]); }
kisscelia/playwright
packages/playwright-core/src/server/chromium/crPage.ts
TypeScript
MethodDeclaration
async _adoptElementHandle<T extends Node>(handle: dom.ElementHandle<T>, to: dom.FrameExecutionContext): Promise<dom.ElementHandle<T>> { const nodeInfo = await this._client.send('DOM.describeNode', { objectId: handle._objectId, }); return this._adoptBackendNodeId(nodeInfo.node.backendNodeId, to) as Promise<dom.ElementHandle<T>>; }
kisscelia/playwright
packages/playwright-core/src/server/chromium/crPage.ts
TypeScript
MethodDeclaration
async _adoptBackendNodeId(backendNodeId: Protocol.DOM.BackendNodeId, to: dom.FrameExecutionContext): Promise<dom.ElementHandle> { const result = await this._client._sendMayFail('DOM.resolveNode', { backendNodeId, executionContextId: ((to as any)[contextDelegateSymbol] as CRExecutionContext)._contextId, }); if (!result || result.object.subtype === 'null') throw new Error(dom.kUnableToAdoptErrorMessage); return to.createHandle(result.object).asElement()!; }
kisscelia/playwright
packages/playwright-core/src/server/chromium/crPage.ts
TypeScript
FunctionDeclaration
declare function isCompatTag(tagName?: string): boolean;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function buildChildren(node: JSXElement | JSXFragment): ReturnedChild[];
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertNode(node?: any): asserts node is Node;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertArrayExpression(node: object | null | undefined, opts?: object | null): asserts node is ArrayExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertAssignmentExpression(node: object | null | undefined, opts?: object | null): asserts node is AssignmentExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertBinaryExpression(node: object | null | undefined, opts?: object | null): asserts node is BinaryExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertInterpreterDirective(node: object | null | undefined, opts?: object | null): asserts node is InterpreterDirective;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertDirective(node: object | null | undefined, opts?: object | null): asserts node is Directive;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertDirectiveLiteral(node: object | null | undefined, opts?: object | null): asserts node is DirectiveLiteral;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertBlockStatement(node: object | null | undefined, opts?: object | null): asserts node is BlockStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertBreakStatement(node: object | null | undefined, opts?: object | null): asserts node is BreakStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertCallExpression(node: object | null | undefined, opts?: object | null): asserts node is CallExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertCatchClause(node: object | null | undefined, opts?: object | null): asserts node is CatchClause;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertConditionalExpression(node: object | null | undefined, opts?: object | null): asserts node is ConditionalExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertContinueStatement(node: object | null | undefined, opts?: object | null): asserts node is ContinueStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertDebuggerStatement(node: object | null | undefined, opts?: object | null): asserts node is DebuggerStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertDoWhileStatement(node: object | null | undefined, opts?: object | null): asserts node is DoWhileStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertEmptyStatement(node: object | null | undefined, opts?: object | null): asserts node is EmptyStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertExpressionStatement(node: object | null | undefined, opts?: object | null): asserts node is ExpressionStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertFile(node: object | null | undefined, opts?: object | null): asserts node is File;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertForInStatement(node: object | null | undefined, opts?: object | null): asserts node is ForInStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertForStatement(node: object | null | undefined, opts?: object | null): asserts node is ForStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertFunctionDeclaration(node: object | null | undefined, opts?: object | null): asserts node is FunctionDeclaration;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertFunctionExpression(node: object | null | undefined, opts?: object | null): asserts node is FunctionExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertIdentifier(node: object | null | undefined, opts?: object | null): asserts node is Identifier;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertIfStatement(node: object | null | undefined, opts?: object | null): asserts node is IfStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertLabeledStatement(node: object | null | undefined, opts?: object | null): asserts node is LabeledStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertStringLiteral(node: object | null | undefined, opts?: object | null): asserts node is StringLiteral;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertNumericLiteral(node: object | null | undefined, opts?: object | null): asserts node is NumericLiteral;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertNullLiteral(node: object | null | undefined, opts?: object | null): asserts node is NullLiteral;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertBooleanLiteral(node: object | null | undefined, opts?: object | null): asserts node is BooleanLiteral;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertRegExpLiteral(node: object | null | undefined, opts?: object | null): asserts node is RegExpLiteral;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertLogicalExpression(node: object | null | undefined, opts?: object | null): asserts node is LogicalExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertMemberExpression(node: object | null | undefined, opts?: object | null): asserts node is MemberExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertNewExpression(node: object | null | undefined, opts?: object | null): asserts node is NewExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertProgram(node: object | null | undefined, opts?: object | null): asserts node is Program;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertObjectExpression(node: object | null | undefined, opts?: object | null): asserts node is ObjectExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertObjectMethod(node: object | null | undefined, opts?: object | null): asserts node is ObjectMethod;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertObjectProperty(node: object | null | undefined, opts?: object | null): asserts node is ObjectProperty;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertRestElement(node: object | null | undefined, opts?: object | null): asserts node is RestElement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertReturnStatement(node: object | null | undefined, opts?: object | null): asserts node is ReturnStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertSequenceExpression(node: object | null | undefined, opts?: object | null): asserts node is SequenceExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertParenthesizedExpression(node: object | null | undefined, opts?: object | null): asserts node is ParenthesizedExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertSwitchCase(node: object | null | undefined, opts?: object | null): asserts node is SwitchCase;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertSwitchStatement(node: object | null | undefined, opts?: object | null): asserts node is SwitchStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertThisExpression(node: object | null | undefined, opts?: object | null): asserts node is ThisExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertThrowStatement(node: object | null | undefined, opts?: object | null): asserts node is ThrowStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertTryStatement(node: object | null | undefined, opts?: object | null): asserts node is TryStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertUnaryExpression(node: object | null | undefined, opts?: object | null): asserts node is UnaryExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertUpdateExpression(node: object | null | undefined, opts?: object | null): asserts node is UpdateExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertVariableDeclaration(node: object | null | undefined, opts?: object | null): asserts node is VariableDeclaration;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertVariableDeclarator(node: object | null | undefined, opts?: object | null): asserts node is VariableDeclarator;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertWhileStatement(node: object | null | undefined, opts?: object | null): asserts node is WhileStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertWithStatement(node: object | null | undefined, opts?: object | null): asserts node is WithStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertAssignmentPattern(node: object | null | undefined, opts?: object | null): asserts node is AssignmentPattern;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertArrayPattern(node: object | null | undefined, opts?: object | null): asserts node is ArrayPattern;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertArrowFunctionExpression(node: object | null | undefined, opts?: object | null): asserts node is ArrowFunctionExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertClassBody(node: object | null | undefined, opts?: object | null): asserts node is ClassBody;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertClassExpression(node: object | null | undefined, opts?: object | null): asserts node is ClassExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertClassDeclaration(node: object | null | undefined, opts?: object | null): asserts node is ClassDeclaration;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertExportAllDeclaration(node: object | null | undefined, opts?: object | null): asserts node is ExportAllDeclaration;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertExportDefaultDeclaration(node: object | null | undefined, opts?: object | null): asserts node is ExportDefaultDeclaration;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertExportNamedDeclaration(node: object | null | undefined, opts?: object | null): asserts node is ExportNamedDeclaration;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertExportSpecifier(node: object | null | undefined, opts?: object | null): asserts node is ExportSpecifier;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertForOfStatement(node: object | null | undefined, opts?: object | null): asserts node is ForOfStatement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertImportDeclaration(node: object | null | undefined, opts?: object | null): asserts node is ImportDeclaration;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertImportDefaultSpecifier(node: object | null | undefined, opts?: object | null): asserts node is ImportDefaultSpecifier;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertImportNamespaceSpecifier(node: object | null | undefined, opts?: object | null): asserts node is ImportNamespaceSpecifier;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertImportSpecifier(node: object | null | undefined, opts?: object | null): asserts node is ImportSpecifier;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertMetaProperty(node: object | null | undefined, opts?: object | null): asserts node is MetaProperty;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertClassMethod(node: object | null | undefined, opts?: object | null): asserts node is ClassMethod;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertObjectPattern(node: object | null | undefined, opts?: object | null): asserts node is ObjectPattern;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertSpreadElement(node: object | null | undefined, opts?: object | null): asserts node is SpreadElement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertSuper(node: object | null | undefined, opts?: object | null): asserts node is Super;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertTaggedTemplateExpression(node: object | null | undefined, opts?: object | null): asserts node is TaggedTemplateExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertTemplateElement(node: object | null | undefined, opts?: object | null): asserts node is TemplateElement;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertTemplateLiteral(node: object | null | undefined, opts?: object | null): asserts node is TemplateLiteral;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertYieldExpression(node: object | null | undefined, opts?: object | null): asserts node is YieldExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertAwaitExpression(node: object | null | undefined, opts?: object | null): asserts node is AwaitExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertImport(node: object | null | undefined, opts?: object | null): asserts node is Import;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertBigIntLiteral(node: object | null | undefined, opts?: object | null): asserts node is BigIntLiteral;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertExportNamespaceSpecifier(node: object | null | undefined, opts?: object | null): asserts node is ExportNamespaceSpecifier;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertOptionalMemberExpression(node: object | null | undefined, opts?: object | null): asserts node is OptionalMemberExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertOptionalCallExpression(node: object | null | undefined, opts?: object | null): asserts node is OptionalCallExpression;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript
FunctionDeclaration
declare function assertClassProperty(node: object | null | undefined, opts?: object | null): asserts node is ClassProperty;
0xBronko/theShop
node_modules/@babel/types/lib/index.d.ts
TypeScript