type
stringclasses 7
values | content
stringlengths 4
9.55k
| repo
stringlengths 7
96
| path
stringlengths 4
178
| language
stringclasses 1
value |
---|---|---|---|---|
FunctionDeclaration | /**
* A prefix AST traversal implementation meant for simple searching
* and processing.
*/
declare function traverseFast(node: Node | null | undefined, enter: (node: Node, opts?: any) => void, opts?: any): void; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function shallowEqual<T extends object>(actual: object, expected: T): actual is T; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function is<T extends Node["type"]>(type: T, node: Node | null | undefined, opts?: undefined): node is Extract<Node, {
type: T;
}>; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function is<T extends Node["type"], P extends Extract<Node, {
type: T;
}>>(type: T, n: Node | null | undefined, required: Partial<P>): n is P; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function is<P extends Node>(type: string, node: Node | null | undefined, opts: Partial<P>): node is P; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function is(type: string, node: Node | null | undefined, opts?: Partial<Node>): node is Node; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration | /**
* Check if the input `node` is a binding identifier.
*/
declare function isBinding(node: Node, parent: Node, grandparent?: Node): boolean; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration | /**
* Check if the input `node` is block scoped.
*/
declare function isBlockScoped(node: Node): boolean; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration | /**
* Check if the input `node` is definitely immutable.
*/
declare function isImmutable(node: Node): boolean; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration | /**
* Check if the input `node` is a `let` variable declaration.
*/
declare function isLet(node: Node): boolean; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isNode(node: any): node is Node; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration | /**
* Check if two nodes are equivalent
*/
declare function isNodesEquivalent<T extends Partial<Node>>(a: T, b: any): b is T; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration | /**
* Test if a `placeholderType` is a `targetType` or if `targetType` is an alias of `placeholderType`.
*/
declare function isPlaceholderType(placeholderType: string, targetType: string): boolean; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration | /**
* Check if the input `node` is a reference to a bound variable.
*/
declare function isReferenced(node: Node, parent: Node, grandparent?: Node): boolean; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration | /**
* Check if the input `node` is a scope.
*/
declare function isScope(node: Node, parent: Node): boolean; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration | /**
* Check if the input `specifier` is a `default` import or export.
*/
declare function isSpecifierDefault(specifier: ModuleSpecifier): boolean; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isType<T extends Node["type"]>(nodeType: string, targetType: T): nodeType is T; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isType(nodeType: string | null | undefined, targetType: string): boolean; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration | /**
* Check if the input `name` is a valid identifier name according to the ES3 specification.
*
* Additional ES3 reserved words are
*/
declare function isValidES3Identifier(name: string): boolean; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration | /**
* Check if the input `name` is a valid identifier name
* and isn't a reserved word.
*/
declare function isValidIdentifier(name: string, reserved?: boolean): boolean; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration | /**
* Check if the input `node` is a variable declaration.
*/
declare function isVar(node: Node): boolean; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration | /**
* Determines whether or not the input node `member` matches the
* input `match`.
*
* For example, given the match `React.createClass` it would match the
* parsed nodes of `React.createClass` and `React["createClass"]`.
*/
declare function matchesPattern(member: Node | null | undefined, match: string | string[], allowPartial?: boolean): boolean; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function validate(node: Node | undefined | null, key: string, val: any): void; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration | /**
* Build a function that when called will return whether or not the
* input `node` `MemberExpression` matches the input `match`.
*
* For example, given the match `React.createClass` it would match the
* parsed nodes of `React.createClass` and `React["createClass"]`.
*/
declare function buildMatchMemberExpression(match: string, allowPartial?: boolean): (member: Node) => boolean; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isArrayExpression(node: object | null | undefined, opts?: object | null): node is ArrayExpression; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isAssignmentExpression(node: object | null | undefined, opts?: object | null): node is AssignmentExpression; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isBinaryExpression(node: object | null | undefined, opts?: object | null): node is BinaryExpression; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isInterpreterDirective(node: object | null | undefined, opts?: object | null): node is InterpreterDirective; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isDirective(node: object | null | undefined, opts?: object | null): node is Directive; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isDirectiveLiteral(node: object | null | undefined, opts?: object | null): node is DirectiveLiteral; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isBlockStatement(node: object | null | undefined, opts?: object | null): node is BlockStatement; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isBreakStatement(node: object | null | undefined, opts?: object | null): node is BreakStatement; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isCallExpression(node: object | null | undefined, opts?: object | null): node is CallExpression; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isCatchClause(node: object | null | undefined, opts?: object | null): node is CatchClause; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isConditionalExpression(node: object | null | undefined, opts?: object | null): node is ConditionalExpression; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isContinueStatement(node: object | null | undefined, opts?: object | null): node is ContinueStatement; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isDebuggerStatement(node: object | null | undefined, opts?: object | null): node is DebuggerStatement; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isDoWhileStatement(node: object | null | undefined, opts?: object | null): node is DoWhileStatement; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isEmptyStatement(node: object | null | undefined, opts?: object | null): node is EmptyStatement; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isExpressionStatement(node: object | null | undefined, opts?: object | null): node is ExpressionStatement; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isFile(node: object | null | undefined, opts?: object | null): node is File; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isForInStatement(node: object | null | undefined, opts?: object | null): node is ForInStatement; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isForStatement(node: object | null | undefined, opts?: object | null): node is ForStatement; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isFunctionDeclaration(node: object | null | undefined, opts?: object | null): node is FunctionDeclaration; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isFunctionExpression(node: object | null | undefined, opts?: object | null): node is FunctionExpression; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isIdentifier(node: object | null | undefined, opts?: object | null): node is Identifier; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isIfStatement(node: object | null | undefined, opts?: object | null): node is IfStatement; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isLabeledStatement(node: object | null | undefined, opts?: object | null): node is LabeledStatement; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isStringLiteral(node: object | null | undefined, opts?: object | null): node is StringLiteral; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isNumericLiteral(node: object | null | undefined, opts?: object | null): node is NumericLiteral; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isNullLiteral(node: object | null | undefined, opts?: object | null): node is NullLiteral; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isBooleanLiteral(node: object | null | undefined, opts?: object | null): node is BooleanLiteral; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isRegExpLiteral(node: object | null | undefined, opts?: object | null): node is RegExpLiteral; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isLogicalExpression(node: object | null | undefined, opts?: object | null): node is LogicalExpression; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isMemberExpression(node: object | null | undefined, opts?: object | null): node is MemberExpression; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isNewExpression(node: object | null | undefined, opts?: object | null): node is NewExpression; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isProgram(node: object | null | undefined, opts?: object | null): node is Program; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isObjectExpression(node: object | null | undefined, opts?: object | null): node is ObjectExpression; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isObjectMethod(node: object | null | undefined, opts?: object | null): node is ObjectMethod; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isObjectProperty(node: object | null | undefined, opts?: object | null): node is ObjectProperty; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isRestElement(node: object | null | undefined, opts?: object | null): node is RestElement; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isReturnStatement(node: object | null | undefined, opts?: object | null): node is ReturnStatement; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isSequenceExpression(node: object | null | undefined, opts?: object | null): node is SequenceExpression; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isParenthesizedExpression(node: object | null | undefined, opts?: object | null): node is ParenthesizedExpression; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isSwitchCase(node: object | null | undefined, opts?: object | null): node is SwitchCase; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isSwitchStatement(node: object | null | undefined, opts?: object | null): node is SwitchStatement; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isThisExpression(node: object | null | undefined, opts?: object | null): node is ThisExpression; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isThrowStatement(node: object | null | undefined, opts?: object | null): node is ThrowStatement; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isTryStatement(node: object | null | undefined, opts?: object | null): node is TryStatement; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isUnaryExpression(node: object | null | undefined, opts?: object | null): node is UnaryExpression; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isUpdateExpression(node: object | null | undefined, opts?: object | null): node is UpdateExpression; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isVariableDeclaration(node: object | null | undefined, opts?: object | null): node is VariableDeclaration; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isVariableDeclarator(node: object | null | undefined, opts?: object | null): node is VariableDeclarator; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isWhileStatement(node: object | null | undefined, opts?: object | null): node is WhileStatement; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isWithStatement(node: object | null | undefined, opts?: object | null): node is WithStatement; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isAssignmentPattern(node: object | null | undefined, opts?: object | null): node is AssignmentPattern; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isArrayPattern(node: object | null | undefined, opts?: object | null): node is ArrayPattern; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isArrowFunctionExpression(node: object | null | undefined, opts?: object | null): node is ArrowFunctionExpression; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isClassBody(node: object | null | undefined, opts?: object | null): node is ClassBody; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isClassExpression(node: object | null | undefined, opts?: object | null): node is ClassExpression; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isClassDeclaration(node: object | null | undefined, opts?: object | null): node is ClassDeclaration; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isExportAllDeclaration(node: object | null | undefined, opts?: object | null): node is ExportAllDeclaration; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isExportDefaultDeclaration(node: object | null | undefined, opts?: object | null): node is ExportDefaultDeclaration; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isExportNamedDeclaration(node: object | null | undefined, opts?: object | null): node is ExportNamedDeclaration; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isExportSpecifier(node: object | null | undefined, opts?: object | null): node is ExportSpecifier; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isForOfStatement(node: object | null | undefined, opts?: object | null): node is ForOfStatement; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isImportDeclaration(node: object | null | undefined, opts?: object | null): node is ImportDeclaration; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isImportDefaultSpecifier(node: object | null | undefined, opts?: object | null): node is ImportDefaultSpecifier; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isImportNamespaceSpecifier(node: object | null | undefined, opts?: object | null): node is ImportNamespaceSpecifier; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isImportSpecifier(node: object | null | undefined, opts?: object | null): node is ImportSpecifier; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isMetaProperty(node: object | null | undefined, opts?: object | null): node is MetaProperty; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isClassMethod(node: object | null | undefined, opts?: object | null): node is ClassMethod; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isObjectPattern(node: object | null | undefined, opts?: object | null): node is ObjectPattern; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isSpreadElement(node: object | null | undefined, opts?: object | null): node is SpreadElement; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isSuper(node: object | null | undefined, opts?: object | null): node is Super; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isTaggedTemplateExpression(node: object | null | undefined, opts?: object | null): node is TaggedTemplateExpression; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isTemplateElement(node: object | null | undefined, opts?: object | null): node is TemplateElement; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isTemplateLiteral(node: object | null | undefined, opts?: object | null): node is TemplateLiteral; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isYieldExpression(node: object | null | undefined, opts?: object | null): node is YieldExpression; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
FunctionDeclaration |
declare function isAwaitExpression(node: object | null | undefined, opts?: object | null): node is AwaitExpression; | 0xBronko/theShop | node_modules/@babel/types/lib/index.d.ts | TypeScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.