UNPKG

ast-typeguard

Version:

Typeguards for working with typescript's AST

338 lines 25 kB
"use strict"; const ts = require("typescript"); function isAsExpression(node) { return node.kind === ts.SyntaxKind.AsExpression; } exports.isAsExpression = isAsExpression; function isAccessorDeclaration(node) { return node.kind === ts.SyntaxKind.GetAccessor || node.kind === ts.SyntaxKind.SetAccessor; } exports.isAccessorDeclaration = isAccessorDeclaration; function isArrayBindingPattern(node) { return node.kind === ts.SyntaxKind.ArrayBindingPattern; } exports.isArrayBindingPattern = isArrayBindingPattern; function isArrayLiteralExpression(node) { return node.kind === ts.SyntaxKind.ArrayLiteralExpression; } exports.isArrayLiteralExpression = isArrayLiteralExpression; function isArrowFunction(node) { return node.kind === ts.SyntaxKind.ArrowFunction; } exports.isArrowFunction = isArrowFunction; function isAwaitExpression(node) { return node.kind === ts.SyntaxKind.AwaitExpression; } exports.isAwaitExpression = isAwaitExpression; function isBinaryExpression(node) { return node.kind === ts.SyntaxKind.BinaryExpression; } exports.isBinaryExpression = isBinaryExpression; function isBindingElement(node) { return node.kind === ts.SyntaxKind.BindingElement; } exports.isBindingElement = isBindingElement; function isBindingPattern(node) { return node.kind === ts.SyntaxKind.ArrayBindingPattern || node.kind === ts.SyntaxKind.ObjectBindingPattern; } exports.isBindingPattern = isBindingPattern; function isBlock(node) { return node.kind === ts.SyntaxKind.Block; } exports.isBlock = isBlock; function isBlockLike(node) { return node.statements !== undefined; } exports.isBlockLike = isBlockLike; function isCallExpression(node) { return node.kind === ts.SyntaxKind.CallExpression; } exports.isCallExpression = isCallExpression; function isCallSignatureDeclaration(node) { return node.kind === ts.SyntaxKind.CallSignature; } exports.isCallSignatureDeclaration = isCallSignatureDeclaration; function isCaseClause(node) { return node.kind === ts.SyntaxKind.CaseClause; } exports.isCaseClause = isCaseClause; function isCaseOrDefaultClause(node) { return node.kind === ts.SyntaxKind.CaseClause || node.kind === ts.SyntaxKind.DefaultClause; } exports.isCaseOrDefaultClause = isCaseOrDefaultClause; function isClassDeclaration(node) { return node.kind === ts.SyntaxKind.ClassDeclaration; } exports.isClassDeclaration = isClassDeclaration; function isClassExpression(node) { return node.kind === ts.SyntaxKind.ClassExpression; } exports.isClassExpression = isClassExpression; function isClassLikeDeclaration(node) { return node.kind === ts.SyntaxKind.ClassDeclaration || node.kind === ts.SyntaxKind.ClassExpression; } exports.isClassLikeDeclaration = isClassLikeDeclaration; function isConstructorDeclaration(node) { return node.kind === ts.SyntaxKind.Constructor; } exports.isConstructorDeclaration = isConstructorDeclaration; function isConstructorTypeNode(node) { return node.kind === ts.SyntaxKind.ConstructorType; } exports.isConstructorTypeNode = isConstructorTypeNode; function isComputedPropertyName(node) { return node.kind === ts.SyntaxKind.ComputedPropertyName; } exports.isComputedPropertyName = isComputedPropertyName; function isDefaultClause(node) { return node.kind === ts.SyntaxKind.DefaultClause; } exports.isDefaultClause = isDefaultClause; function isElementAccessExpression(node) { return node.kind === ts.SyntaxKind.ElementAccessExpression; } exports.isElementAccessExpression = isElementAccessExpression; function isEntityNameExpression(node) { return node.kind === ts.SyntaxKind.Identifier || isPropertyAccessExpression(node) && isEntityNameExpression(node.expression); } exports.isEntityNameExpression = isEntityNameExpression; function isExpressionStatement(node) { return node.kind === ts.SyntaxKind.ExpressionStatement; } exports.isExpressionStatement = isExpressionStatement; function isExternalModuleReference(node) { return node.kind === ts.SyntaxKind.ExternalModuleReference; } exports.isExternalModuleReference = isExternalModuleReference; function isForInStatement(node) { return node.kind === ts.SyntaxKind.ForInStatement; } exports.isForInStatement = isForInStatement; function isForOfStatement(node) { return node.kind === ts.SyntaxKind.ForOfStatement; } exports.isForOfStatement = isForOfStatement; function isForStatement(node) { return node.kind === ts.SyntaxKind.ForStatement; } exports.isForStatement = isForStatement; function isFunctionDeclaration(node) { return node.kind === ts.SyntaxKind.FunctionDeclaration; } exports.isFunctionDeclaration = isFunctionDeclaration; function isFunctionExpression(node) { return node.kind === ts.SyntaxKind.FunctionExpression; } exports.isFunctionExpression = isFunctionExpression; function isFunctionTypeNode(node) { return node.kind === ts.SyntaxKind.FunctionType; } exports.isFunctionTypeNode = isFunctionTypeNode; function isGetAccessorDeclaration(node) { return node.kind === ts.SyntaxKind.GetAccessor; } exports.isGetAccessorDeclaration = isGetAccessorDeclaration; function isIdentifier(node) { return node.kind === ts.SyntaxKind.Identifier; } exports.isIdentifier = isIdentifier; function isIfStatement(node) { return node.kind === ts.SyntaxKind.IfStatement; } exports.isIfStatement = isIfStatement; function isImportClause(node) { return node.kind === ts.SyntaxKind.ImportClause; } exports.isImportClause = isImportClause; function isImportDeclaration(node) { return node.kind === ts.SyntaxKind.ImportDeclaration; } exports.isImportDeclaration = isImportDeclaration; function isImportEqualsDeclaration(node) { return node.kind === ts.SyntaxKind.ImportEqualsDeclaration; } exports.isImportEqualsDeclaration = isImportEqualsDeclaration; function isInterfaceDeclaration(node) { return node.kind === ts.SyntaxKind.InterfaceDeclaration; } exports.isInterfaceDeclaration = isInterfaceDeclaration; function isLiteralExpression(node) { return node.kind >= ts.SyntaxKind.FirstLiteralToken && node.kind <= ts.SyntaxKind.LastLiteralToken; } exports.isLiteralExpression = isLiteralExpression; function isMethodDeclaration(node) { return node.kind === ts.SyntaxKind.MethodDeclaration; } exports.isMethodDeclaration = isMethodDeclaration; function isModuleBlock(node) { return node.kind === ts.SyntaxKind.ModuleBlock; } exports.isModuleBlock = isModuleBlock; function isModuleDeclaration(node) { return node.kind === ts.SyntaxKind.ModuleDeclaration; } exports.isModuleDeclaration = isModuleDeclaration; function isNamedExports(node) { return node.kind === ts.SyntaxKind.NamedExports; } exports.isNamedExports = isNamedExports; function isNamedImports(node) { return node.kind === ts.SyntaxKind.NamedImports; } exports.isNamedImports = isNamedImports; function isNamespaceDeclaration(node) { return isModuleDeclaration(node) && node.name.kind === ts.SyntaxKind.Identifier && node.body !== undefined && (node.body.kind === ts.SyntaxKind.ModuleBlock || isNamespaceDeclaration(node.body)); } exports.isNamespaceDeclaration = isNamespaceDeclaration; function isNamespaceImport(node) { return node.kind === ts.SyntaxKind.NamespaceImport; } exports.isNamespaceImport = isNamespaceImport; function isNewExpression(node) { return node.kind === ts.SyntaxKind.NewExpression; } exports.isNewExpression = isNewExpression; function isNoSubstitutionTemplateLiteral(node) { return node.kind === ts.SyntaxKind.NoSubstitutionTemplateLiteral; } exports.isNoSubstitutionTemplateLiteral = isNoSubstitutionTemplateLiteral; function isNumericliteral(node) { return node.kind === ts.SyntaxKind.NumericLiteral; } exports.isNumericliteral = isNumericliteral; function isObjectBindingPattern(node) { return node.kind === ts.SyntaxKind.ObjectBindingPattern; } exports.isObjectBindingPattern = isObjectBindingPattern; function isObjectLiteralExpression(node) { return node.kind === ts.SyntaxKind.ObjectLiteralExpression; } exports.isObjectLiteralExpression = isObjectLiteralExpression; function isOmittedExpression(node) { return node.kind === ts.SyntaxKind.OmittedExpression; } exports.isOmittedExpression = isOmittedExpression; function isParenthesizedExpression(node) { return node.kind === ts.SyntaxKind.ParenthesizedExpression; } exports.isParenthesizedExpression = isParenthesizedExpression; function isPostfixUnaryExpression(node) { return node.kind === ts.SyntaxKind.PostfixUnaryExpression; } exports.isPostfixUnaryExpression = isPostfixUnaryExpression; function isPrefixUnaryExpression(node) { return node.kind === ts.SyntaxKind.PrefixUnaryExpression; } exports.isPrefixUnaryExpression = isPrefixUnaryExpression; function isPropertyAccessExpression(node) { return node.kind === ts.SyntaxKind.PropertyAccessExpression; } exports.isPropertyAccessExpression = isPropertyAccessExpression; function isPropertyAssignment(node) { return node.kind === ts.SyntaxKind.PropertyAssignment; } exports.isPropertyAssignment = isPropertyAssignment; function isPropertyDeclaration(node) { return node.kind === ts.SyntaxKind.PropertyDeclaration; } exports.isPropertyDeclaration = isPropertyDeclaration; function isQualifiedName(node) { return node.kind === ts.SyntaxKind.QualifiedName; } exports.isQualifiedName = isQualifiedName; function isReturnStatement(node) { return node.kind === ts.SyntaxKind.ReturnStatement; } exports.isReturnStatement = isReturnStatement; function isSetAccessorDeclaration(node) { return node.kind === ts.SyntaxKind.SetAccessor; } exports.isSetAccessorDeclaration = isSetAccessorDeclaration; function isSignatureDeclaration(node) { switch (node.kind) { case ts.SyntaxKind.ConstructSignature: case ts.SyntaxKind.Constructor: case ts.SyntaxKind.CallSignature: case ts.SyntaxKind.CallSignature: case ts.SyntaxKind.MethodSignature: case ts.SyntaxKind.MethodDeclaration: case ts.SyntaxKind.FunctionDeclaration: return true; default: return false; } } exports.isSignatureDeclaration = isSignatureDeclaration; function isSourceFile(node) { return node.kind === ts.SyntaxKind.SourceFile; } exports.isSourceFile = isSourceFile; function isStringLiteral(node) { return node.kind === ts.SyntaxKind.StringLiteral; } exports.isStringLiteral = isStringLiteral; function isSwitchStatement(node) { return node.kind === ts.SyntaxKind.SwitchStatement; } exports.isSwitchStatement = isSwitchStatement; function isTaggedTemplateExpression(node) { return node.kind === ts.SyntaxKind.TaggedTemplateExpression; } exports.isTaggedTemplateExpression = isTaggedTemplateExpression; function isTemplateExpression(node) { return node.kind === ts.SyntaxKind.TemplateExpression; } exports.isTemplateExpression = isTemplateExpression; function isTemplateLiteral(node) { return node.kind === ts.SyntaxKind.TemplateExpression || node.kind === ts.SyntaxKind.NoSubstitutionTemplateLiteral; } exports.isTemplateLiteral = isTemplateLiteral; function isTextualLiteral(node) { return node.kind === ts.SyntaxKind.StringLiteral || node.kind === ts.SyntaxKind.NoSubstitutionTemplateLiteral; } exports.isTextualLiteral = isTextualLiteral; function isTryStatement(node) { return node.kind === ts.SyntaxKind.TryStatement; } exports.isTryStatement = isTryStatement; function isTypeAssertion(node) { return node.kind === ts.SyntaxKind.TypeAssertionExpression; } exports.isTypeAssertion = isTypeAssertion; function isTypeOfExpression(node) { return node.kind === ts.SyntaxKind.TypeOfExpression; } exports.isTypeOfExpression = isTypeOfExpression; function isTypeReferenceNode(node) { return node.kind === ts.SyntaxKind.TypeReference; } exports.isTypeReferenceNode = isTypeReferenceNode; function isVariableDeclaration(node) { return node.kind === ts.SyntaxKind.VariableDeclaration; } exports.isVariableDeclaration = isVariableDeclaration; function isVariableStatement(node) { return node.kind === ts.SyntaxKind.VariableStatement; } exports.isVariableStatement = isVariableStatement; function isVariableDeclarationList(node) { return node.kind === ts.SyntaxKind.VariableDeclarationList; } exports.isVariableDeclarationList = isVariableDeclarationList; function isVoidExpression(node) { return node.kind === ts.SyntaxKind.VoidExpression; } exports.isVoidExpression = isVoidExpression; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZWd1YXJkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsidHlwZWd1YXJkLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxpQ0FBaUM7QUFFakMsd0JBQStCLElBQWE7SUFDeEMsTUFBTSxDQUFDLElBQUksQ0FBQyxJQUFJLEtBQUssRUFBRSxDQUFDLFVBQVUsQ0FBQyxZQUFZLENBQUM7QUFDcEQsQ0FBQztBQUZELHdDQUVDO0FBRUQsK0JBQXNDLElBQWE7SUFDL0MsTUFBTSxDQUFDLElBQUksQ0FBQyxJQUFJLEtBQUssRUFBRSxDQUFDLFVBQVUsQ0FBQyxXQUFXO1FBQzFDLElBQUksQ0FBQyxJQUFJLEtBQUssRUFBRSxDQUFDLFVBQVUsQ0FBQyxXQUFXLENBQUM7QUFDaEQsQ0FBQztBQUhELHNEQUdDO0FBRUQsK0JBQXNDLElBQWE7SUFDL0MsTUFBTSxDQUFDLElBQUksQ0FBQyxJQUFJLEtBQUssRUFBRSxDQUFDLFVBQVUsQ0FBQyxtQkFBbUIsQ0FBQztBQUMzRCxDQUFDO0FBRkQsc0RBRUM7QUFFRCxrQ0FBeUMsSUFBYTtJQUNsRCxNQUFNLENBQUMsSUFBSSxDQUFDLElBQUksS0FBSyxFQUFFLENBQUMsVUFBVSxDQUFDLHNCQUFzQixDQUFDO0FBQzlELENBQUM7QUFGRCw0REFFQztBQUVELHlCQUFnQyxJQUFhO0lBQ3pDLE1BQU0sQ0FBQyxJQUFJLENBQUMsSUFBSSxLQUFLLEV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