.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / tsutils / typeguard / 2.8 / node.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/tsutils/typeguard/2.8/node.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/tsutils/typeguard/2.8/node.js
new file mode 100644 (file)
index 0000000..016e395
--- /dev/null
@@ -0,0 +1,714 @@
+"use strict";\r
+Object.defineProperty(exports, "__esModule", { value: true });\r
+exports.isExpressionStatement = exports.isExpression = exports.isExportSpecifier = exports.isExportDeclaration = exports.isExportAssignment = exports.isEnumMember = exports.isEnumDeclaration = exports.isEntityNameExpression = exports.isEntityName = exports.isEmptyStatement = exports.isElementAccessExpression = exports.isDoStatement = exports.isDeleteExpression = exports.isDefaultClause = exports.isDecorator = exports.isDebuggerStatement = exports.isComputedPropertyName = exports.isContinueStatement = exports.isConstructSignatureDeclaration = exports.isConstructorTypeNode = exports.isConstructorDeclaration = exports.isConditionalTypeNode = exports.isConditionalExpression = exports.isCommaListExpression = exports.isClassLikeDeclaration = exports.isClassExpression = exports.isClassDeclaration = exports.isCatchClause = exports.isCaseOrDefaultClause = exports.isCaseClause = exports.isCaseBlock = exports.isCallSignatureDeclaration = exports.isCallLikeExpression = exports.isCallExpression = exports.isBreakStatement = exports.isBreakOrContinueStatement = exports.isBooleanLiteral = exports.isBlockLike = exports.isBlock = exports.isBindingPattern = exports.isBindingElement = exports.isBinaryExpression = exports.isAwaitExpression = exports.isAssertionExpression = exports.isAsExpression = exports.isArrowFunction = exports.isArrayTypeNode = exports.isArrayLiteralExpression = exports.isArrayBindingPattern = exports.isAccessorDeclaration = void 0;\r
+exports.isNamespaceImport = exports.isNamespaceDeclaration = exports.isNamedImports = exports.isNamedExports = exports.isModuleDeclaration = exports.isModuleBlock = exports.isMethodSignature = exports.isMethodDeclaration = exports.isMetaProperty = exports.isMappedTypeNode = exports.isLiteralTypeNode = exports.isLiteralExpression = exports.isLabeledStatement = exports.isJsxText = exports.isJsxSpreadAttribute = exports.isJsxSelfClosingElement = exports.isJsxOpeningLikeElement = exports.isJsxOpeningFragment = exports.isJsxOpeningElement = exports.isJsxFragment = exports.isJsxExpression = exports.isJsxElement = exports.isJsxClosingFragment = exports.isJsxClosingElement = exports.isJsxAttributes = exports.isJsxAttributeLike = exports.isJsxAttribute = exports.isJsDoc = exports.isIterationStatement = exports.isIntersectionTypeNode = exports.isInterfaceDeclaration = exports.isInferTypeNode = exports.isIndexSignatureDeclaration = exports.isIndexedAccessTypeNode = exports.isImportSpecifier = exports.isImportEqualsDeclaration = exports.isImportDeclaration = exports.isImportClause = exports.isIfStatement = exports.isIdentifier = exports.isGetAccessorDeclaration = exports.isFunctionTypeNode = exports.isFunctionExpression = exports.isFunctionDeclaration = exports.isForStatement = exports.isForOfStatement = exports.isForInOrOfStatement = exports.isForInStatement = exports.isExternalModuleReference = exports.isExpressionWithTypeArguments = void 0;\r
+exports.isVariableStatement = exports.isVariableDeclaration = exports.isUnionTypeNode = exports.isTypeQueryNode = exports.isTypeReferenceNode = exports.isTypePredicateNode = exports.isTypeParameterDeclaration = exports.isTypeOperatorNode = exports.isTypeOfExpression = exports.isTypeLiteralNode = exports.isTypeAssertion = exports.isTypeAliasDeclaration = exports.isTupleTypeNode = exports.isTryStatement = exports.isThrowStatement = exports.isTextualLiteral = exports.isTemplateLiteral = exports.isTemplateExpression = exports.isTaggedTemplateExpression = exports.isSyntaxList = exports.isSwitchStatement = exports.isStringLiteral = exports.isSpreadElement = exports.isSpreadAssignment = exports.isSourceFile = exports.isSignatureDeclaration = exports.isShorthandPropertyAssignment = exports.isSetAccessorDeclaration = exports.isReturnStatement = exports.isRegularExpressionLiteral = exports.isQualifiedName = exports.isPropertySignature = exports.isPropertyDeclaration = exports.isPropertyAssignment = exports.isPropertyAccessExpression = exports.isPrefixUnaryExpression = exports.isPostfixUnaryExpression = exports.isParenthesizedTypeNode = exports.isParenthesizedExpression = exports.isParameterDeclaration = exports.isOmittedExpression = exports.isObjectLiteralExpression = exports.isObjectBindingPattern = exports.isNumericOrStringLikeLiteral = exports.isNumericLiteral = exports.isNullLiteral = exports.isNoSubstitutionTemplateLiteral = exports.isNonNullExpression = exports.isNewExpression = exports.isNamespaceExportDeclaration = void 0;\r
+exports.isWithStatement = exports.isWhileStatement = exports.isVoidExpression = exports.isVariableDeclarationList = void 0;\r
+const ts = require("typescript");\r
+function isAccessorDeclaration(node) {\r
+    return node.kind === ts.SyntaxKind.GetAccessor ||\r
+        node.kind === ts.SyntaxKind.SetAccessor;\r
+}\r
+exports.isAccessorDeclaration = isAccessorDeclaration;\r
+function isArrayBindingPattern(node) {\r
+    return node.kind === ts.SyntaxKind.ArrayBindingPattern;\r
+}\r
+exports.isArrayBindingPattern = isArrayBindingPattern;\r
+function isArrayLiteralExpression(node) {\r
+    return node.kind === ts.SyntaxKind.ArrayLiteralExpression;\r
+}\r
+exports.isArrayLiteralExpression = isArrayLiteralExpression;\r
+function isArrayTypeNode(node) {\r
+    return node.kind === ts.SyntaxKind.ArrayType;\r
+}\r
+exports.isArrayTypeNode = isArrayTypeNode;\r
+function isArrowFunction(node) {\r
+    return node.kind === ts.SyntaxKind.ArrowFunction;\r
+}\r
+exports.isArrowFunction = isArrowFunction;\r
+function isAsExpression(node) {\r
+    return node.kind === ts.SyntaxKind.AsExpression;\r
+}\r
+exports.isAsExpression = isAsExpression;\r
+function isAssertionExpression(node) {\r
+    return node.kind === ts.SyntaxKind.AsExpression ||\r
+        node.kind === ts.SyntaxKind.TypeAssertionExpression;\r
+}\r
+exports.isAssertionExpression = isAssertionExpression;\r
+function isAwaitExpression(node) {\r
+    return node.kind === ts.SyntaxKind.AwaitExpression;\r
+}\r
+exports.isAwaitExpression = isAwaitExpression;\r
+function isBinaryExpression(node) {\r
+    return node.kind === ts.SyntaxKind.BinaryExpression;\r
+}\r
+exports.isBinaryExpression = isBinaryExpression;\r
+function isBindingElement(node) {\r
+    return node.kind === ts.SyntaxKind.BindingElement;\r
+}\r
+exports.isBindingElement = isBindingElement;\r
+function isBindingPattern(node) {\r
+    return node.kind === ts.SyntaxKind.ArrayBindingPattern ||\r
+        node.kind === ts.SyntaxKind.ObjectBindingPattern;\r
+}\r
+exports.isBindingPattern = isBindingPattern;\r
+function isBlock(node) {\r
+    return node.kind === ts.SyntaxKind.Block;\r
+}\r
+exports.isBlock = isBlock;\r
+function isBlockLike(node) {\r
+    return node.statements !== undefined;\r
+}\r
+exports.isBlockLike = isBlockLike;\r
+function isBooleanLiteral(node) {\r
+    return node.kind === ts.SyntaxKind.TrueKeyword || node.kind === ts.SyntaxKind.FalseKeyword;\r
+}\r
+exports.isBooleanLiteral = isBooleanLiteral;\r
+function isBreakOrContinueStatement(node) {\r
+    return node.kind === ts.SyntaxKind.BreakStatement ||\r
+        node.kind === ts.SyntaxKind.ContinueStatement;\r
+}\r
+exports.isBreakOrContinueStatement = isBreakOrContinueStatement;\r
+function isBreakStatement(node) {\r
+    return node.kind === ts.SyntaxKind.BreakStatement;\r
+}\r
+exports.isBreakStatement = isBreakStatement;\r
+function isCallExpression(node) {\r
+    return node.kind === ts.SyntaxKind.CallExpression;\r
+}\r
+exports.isCallExpression = isCallExpression;\r
+function isCallLikeExpression(node) {\r
+    switch (node.kind) {\r
+        case ts.SyntaxKind.CallExpression:\r
+        case ts.SyntaxKind.Decorator:\r
+        case ts.SyntaxKind.JsxOpeningElement:\r
+        case ts.SyntaxKind.JsxSelfClosingElement:\r
+        case ts.SyntaxKind.NewExpression:\r
+        case ts.SyntaxKind.TaggedTemplateExpression:\r
+            return true;\r
+        default:\r
+            return false;\r
+    }\r
+}\r
+exports.isCallLikeExpression = isCallLikeExpression;\r
+function isCallSignatureDeclaration(node) {\r
+    return node.kind === ts.SyntaxKind.CallSignature;\r
+}\r
+exports.isCallSignatureDeclaration = isCallSignatureDeclaration;\r
+function isCaseBlock(node) {\r
+    return node.kind === ts.SyntaxKind.CaseBlock;\r
+}\r
+exports.isCaseBlock = isCaseBlock;\r
+function isCaseClause(node) {\r
+    return node.kind === ts.SyntaxKind.CaseClause;\r
+}\r
+exports.isCaseClause = isCaseClause;\r
+function isCaseOrDefaultClause(node) {\r
+    return node.kind === ts.SyntaxKind.CaseClause ||\r
+        node.kind === ts.SyntaxKind.DefaultClause;\r
+}\r
+exports.isCaseOrDefaultClause = isCaseOrDefaultClause;\r
+function isCatchClause(node) {\r
+    return node.kind === ts.SyntaxKind.CatchClause;\r
+}\r
+exports.isCatchClause = isCatchClause;\r
+function isClassDeclaration(node) {\r
+    return node.kind === ts.SyntaxKind.ClassDeclaration;\r
+}\r
+exports.isClassDeclaration = isClassDeclaration;\r
+function isClassExpression(node) {\r
+    return node.kind === ts.SyntaxKind.ClassExpression;\r
+}\r
+exports.isClassExpression = isClassExpression;\r
+function isClassLikeDeclaration(node) {\r
+    return node.kind === ts.SyntaxKind.ClassDeclaration ||\r
+        node.kind === ts.SyntaxKind.ClassExpression;\r
+}\r
+exports.isClassLikeDeclaration = isClassLikeDeclaration;\r
+function isCommaListExpression(node) {\r
+    return node.kind === ts.SyntaxKind.CommaListExpression;\r
+}\r
+exports.isCommaListExpression = isCommaListExpression;\r
+function isConditionalExpression(node) {\r
+    return node.kind === ts.SyntaxKind.ConditionalExpression;\r
+}\r
+exports.isConditionalExpression = isConditionalExpression;\r
+function isConditionalTypeNode(node) {\r
+    return node.kind === ts.SyntaxKind.ConditionalType;\r
+}\r
+exports.isConditionalTypeNode = isConditionalTypeNode;\r
+function isConstructorDeclaration(node) {\r
+    return node.kind === ts.SyntaxKind.Constructor;\r
+}\r
+exports.isConstructorDeclaration = isConstructorDeclaration;\r
+function isConstructorTypeNode(node) {\r
+    return node.kind === ts.SyntaxKind.ConstructorType;\r
+}\r
+exports.isConstructorTypeNode = isConstructorTypeNode;\r
+function isConstructSignatureDeclaration(node) {\r
+    return node.kind === ts.SyntaxKind.ConstructSignature;\r
+}\r
+exports.isConstructSignatureDeclaration = isConstructSignatureDeclaration;\r
+function isContinueStatement(node) {\r
+    return node.kind === ts.SyntaxKind.ContinueStatement;\r
+}\r
+exports.isContinueStatement = isContinueStatement;\r
+function isComputedPropertyName(node) {\r
+    return node.kind === ts.SyntaxKind.ComputedPropertyName;\r
+}\r
+exports.isComputedPropertyName = isComputedPropertyName;\r
+function isDebuggerStatement(node) {\r
+    return node.kind === ts.SyntaxKind.DebuggerStatement;\r
+}\r
+exports.isDebuggerStatement = isDebuggerStatement;\r
+function isDecorator(node) {\r
+    return node.kind === ts.SyntaxKind.Decorator;\r
+}\r
+exports.isDecorator = isDecorator;\r
+function isDefaultClause(node) {\r
+    return node.kind === ts.SyntaxKind.DefaultClause;\r
+}\r
+exports.isDefaultClause = isDefaultClause;\r
+function isDeleteExpression(node) {\r
+    return node.kind === ts.SyntaxKind.DeleteExpression;\r
+}\r
+exports.isDeleteExpression = isDeleteExpression;\r
+function isDoStatement(node) {\r
+    return node.kind === ts.SyntaxKind.DoStatement;\r
+}\r
+exports.isDoStatement = isDoStatement;\r
+function isElementAccessExpression(node) {\r
+    return node.kind === ts.SyntaxKind.ElementAccessExpression;\r
+}\r
+exports.isElementAccessExpression = isElementAccessExpression;\r
+function isEmptyStatement(node) {\r
+    return node.kind === ts.SyntaxKind.EmptyStatement;\r
+}\r
+exports.isEmptyStatement = isEmptyStatement;\r
+function isEntityName(node) {\r
+    return node.kind === ts.SyntaxKind.Identifier || isQualifiedName(node);\r
+}\r
+exports.isEntityName = isEntityName;\r
+function isEntityNameExpression(node) {\r
+    return node.kind === ts.SyntaxKind.Identifier ||\r
+        isPropertyAccessExpression(node) && isEntityNameExpression(node.expression);\r
+}\r
+exports.isEntityNameExpression = isEntityNameExpression;\r
+function isEnumDeclaration(node) {\r
+    return node.kind === ts.SyntaxKind.EnumDeclaration;\r
+}\r
+exports.isEnumDeclaration = isEnumDeclaration;\r
+function isEnumMember(node) {\r
+    return node.kind === ts.SyntaxKind.EnumMember;\r
+}\r
+exports.isEnumMember = isEnumMember;\r
+function isExportAssignment(node) {\r
+    return node.kind === ts.SyntaxKind.ExportAssignment;\r
+}\r
+exports.isExportAssignment = isExportAssignment;\r
+function isExportDeclaration(node) {\r
+    return node.kind === ts.SyntaxKind.ExportDeclaration;\r
+}\r
+exports.isExportDeclaration = isExportDeclaration;\r
+function isExportSpecifier(node) {\r
+    return node.kind === ts.SyntaxKind.ExportSpecifier;\r
+}\r
+exports.isExportSpecifier = isExportSpecifier;\r
+function isExpression(node) {\r
+    switch (node.kind) {\r
+        case ts.SyntaxKind.ArrayLiteralExpression:\r
+        case ts.SyntaxKind.ArrowFunction:\r
+        case ts.SyntaxKind.AsExpression:\r
+        case ts.SyntaxKind.AwaitExpression:\r
+        case ts.SyntaxKind.BinaryExpression:\r
+        case ts.SyntaxKind.CallExpression:\r
+        case ts.SyntaxKind.ClassExpression:\r
+        case ts.SyntaxKind.CommaListExpression:\r
+        case ts.SyntaxKind.ConditionalExpression:\r
+        case ts.SyntaxKind.DeleteExpression:\r
+        case ts.SyntaxKind.ElementAccessExpression:\r
+        case ts.SyntaxKind.FalseKeyword:\r
+        case ts.SyntaxKind.FunctionExpression:\r
+        case ts.SyntaxKind.Identifier:\r
+        case ts.SyntaxKind.JsxElement:\r
+        case ts.SyntaxKind.JsxFragment:\r
+        case ts.SyntaxKind.JsxExpression:\r
+        case ts.SyntaxKind.JsxOpeningElement:\r
+        case ts.SyntaxKind.JsxOpeningFragment:\r
+        case ts.SyntaxKind.JsxSelfClosingElement:\r
+        case ts.SyntaxKind.MetaProperty:\r
+        case ts.SyntaxKind.NewExpression:\r
+        case ts.SyntaxKind.NonNullExpression:\r
+        case ts.SyntaxKind.NoSubstitutionTemplateLiteral:\r
+        case ts.SyntaxKind.NullKeyword:\r
+        case ts.SyntaxKind.NumericLiteral:\r
+        case ts.SyntaxKind.ObjectLiteralExpression:\r
+        case ts.SyntaxKind.OmittedExpression:\r
+        case ts.SyntaxKind.ParenthesizedExpression:\r
+        case ts.SyntaxKind.PostfixUnaryExpression:\r
+        case ts.SyntaxKind.PrefixUnaryExpression:\r
+        case ts.SyntaxKind.PropertyAccessExpression:\r
+        case ts.SyntaxKind.RegularExpressionLiteral:\r
+        case ts.SyntaxKind.SpreadElement:\r
+        case ts.SyntaxKind.StringLiteral:\r
+        case ts.SyntaxKind.SuperKeyword:\r
+        case ts.SyntaxKind.TaggedTemplateExpression:\r
+        case ts.SyntaxKind.TemplateExpression:\r
+        case ts.SyntaxKind.ThisKeyword:\r
+        case ts.SyntaxKind.TrueKeyword:\r
+        case ts.SyntaxKind.TypeAssertionExpression:\r
+        case ts.SyntaxKind.TypeOfExpression:\r
+        case ts.SyntaxKind.VoidExpression:\r
+        case ts.SyntaxKind.YieldExpression:\r
+            return true;\r
+        default:\r
+            return false;\r
+    }\r
+}\r
+exports.isExpression = isExpression;\r
+function isExpressionStatement(node) {\r
+    return node.kind === ts.SyntaxKind.ExpressionStatement;\r
+}\r
+exports.isExpressionStatement = isExpressionStatement;\r
+function isExpressionWithTypeArguments(node) {\r
+    return node.kind === ts.SyntaxKind.ExpressionWithTypeArguments;\r
+}\r
+exports.isExpressionWithTypeArguments = isExpressionWithTypeArguments;\r
+function isExternalModuleReference(node) {\r
+    return node.kind === ts.SyntaxKind.ExternalModuleReference;\r
+}\r
+exports.isExternalModuleReference = isExternalModuleReference;\r
+function isForInStatement(node) {\r
+    return node.kind === ts.SyntaxKind.ForInStatement;\r
+}\r
+exports.isForInStatement = isForInStatement;\r
+function isForInOrOfStatement(node) {\r
+    return node.kind === ts.SyntaxKind.ForOfStatement || node.kind === ts.SyntaxKind.ForInStatement;\r
+}\r
+exports.isForInOrOfStatement = isForInOrOfStatement;\r
+function isForOfStatement(node) {\r
+    return node.kind === ts.SyntaxKind.ForOfStatement;\r
+}\r
+exports.isForOfStatement = isForOfStatement;\r
+function isForStatement(node) {\r
+    return node.kind === ts.SyntaxKind.ForStatement;\r
+}\r
+exports.isForStatement = isForStatement;\r
+function isFunctionDeclaration(node) {\r
+    return node.kind === ts.SyntaxKind.FunctionDeclaration;\r
+}\r
+exports.isFunctionDeclaration = isFunctionDeclaration;\r
+function isFunctionExpression(node) {\r
+    return node.kind === ts.SyntaxKind.FunctionExpression;\r
+}\r
+exports.isFunctionExpression = isFunctionExpression;\r
+function isFunctionTypeNode(node) {\r
+    return node.kind === ts.SyntaxKind.FunctionType;\r
+}\r
+exports.isFunctionTypeNode = isFunctionTypeNode;\r
+function isGetAccessorDeclaration(node) {\r
+    return node.kind === ts.SyntaxKind.GetAccessor;\r
+}\r
+exports.isGetAccessorDeclaration = isGetAccessorDeclaration;\r
+function isIdentifier(node) {\r
+    return node.kind === ts.SyntaxKind.Identifier;\r
+}\r
+exports.isIdentifier = isIdentifier;\r
+function isIfStatement(node) {\r
+    return node.kind === ts.SyntaxKind.IfStatement;\r
+}\r
+exports.isIfStatement = isIfStatement;\r
+function isImportClause(node) {\r
+    return node.kind === ts.SyntaxKind.ImportClause;\r
+}\r
+exports.isImportClause = isImportClause;\r
+function isImportDeclaration(node) {\r
+    return node.kind === ts.SyntaxKind.ImportDeclaration;\r
+}\r
+exports.isImportDeclaration = isImportDeclaration;\r
+function isImportEqualsDeclaration(node) {\r
+    return node.kind === ts.SyntaxKind.ImportEqualsDeclaration;\r
+}\r
+exports.isImportEqualsDeclaration = isImportEqualsDeclaration;\r
+function isImportSpecifier(node) {\r
+    return node.kind === ts.SyntaxKind.ImportSpecifier;\r
+}\r
+exports.isImportSpecifier = isImportSpecifier;\r
+function isIndexedAccessTypeNode(node) {\r
+    return node.kind === ts.SyntaxKind.IndexedAccessType;\r
+}\r
+exports.isIndexedAccessTypeNode = isIndexedAccessTypeNode;\r
+function isIndexSignatureDeclaration(node) {\r
+    return node.kind === ts.SyntaxKind.IndexSignature;\r
+}\r
+exports.isIndexSignatureDeclaration = isIndexSignatureDeclaration;\r
+function isInferTypeNode(node) {\r
+    return node.kind === ts.SyntaxKind.InferType;\r
+}\r
+exports.isInferTypeNode = isInferTypeNode;\r
+function isInterfaceDeclaration(node) {\r
+    return node.kind === ts.SyntaxKind.InterfaceDeclaration;\r
+}\r
+exports.isInterfaceDeclaration = isInterfaceDeclaration;\r
+function isIntersectionTypeNode(node) {\r
+    return node.kind === ts.SyntaxKind.IntersectionType;\r
+}\r
+exports.isIntersectionTypeNode = isIntersectionTypeNode;\r
+function isIterationStatement(node) {\r
+    switch (node.kind) {\r
+        case ts.SyntaxKind.ForStatement:\r
+        case ts.SyntaxKind.ForOfStatement:\r
+        case ts.SyntaxKind.ForInStatement:\r
+        case ts.SyntaxKind.WhileStatement:\r
+        case ts.SyntaxKind.DoStatement:\r
+            return true;\r
+        default:\r
+            return false;\r
+    }\r
+}\r
+exports.isIterationStatement = isIterationStatement;\r
+function isJsDoc(node) {\r
+    return node.kind === ts.SyntaxKind.JSDocComment;\r
+}\r
+exports.isJsDoc = isJsDoc;\r
+function isJsxAttribute(node) {\r
+    return node.kind === ts.SyntaxKind.JsxAttribute;\r
+}\r
+exports.isJsxAttribute = isJsxAttribute;\r
+function isJsxAttributeLike(node) {\r
+    return node.kind === ts.SyntaxKind.JsxAttribute ||\r
+        node.kind === ts.SyntaxKind.JsxSpreadAttribute;\r
+}\r
+exports.isJsxAttributeLike = isJsxAttributeLike;\r
+function isJsxAttributes(node) {\r
+    return node.kind === ts.SyntaxKind.JsxAttributes;\r
+}\r
+exports.isJsxAttributes = isJsxAttributes;\r
+function isJsxClosingElement(node) {\r
+    return node.kind === ts.SyntaxKind.JsxClosingElement;\r
+}\r
+exports.isJsxClosingElement = isJsxClosingElement;\r
+function isJsxClosingFragment(node) {\r
+    return node.kind === ts.SyntaxKind.JsxClosingFragment;\r
+}\r
+exports.isJsxClosingFragment = isJsxClosingFragment;\r
+function isJsxElement(node) {\r
+    return node.kind === ts.SyntaxKind.JsxElement;\r
+}\r
+exports.isJsxElement = isJsxElement;\r
+function isJsxExpression(node) {\r
+    return node.kind === ts.SyntaxKind.JsxExpression;\r
+}\r
+exports.isJsxExpression = isJsxExpression;\r
+function isJsxFragment(node) {\r
+    return node.kind === ts.SyntaxKind.JsxFragment;\r
+}\r
+exports.isJsxFragment = isJsxFragment;\r
+function isJsxOpeningElement(node) {\r
+    return node.kind === ts.SyntaxKind.JsxOpeningElement;\r
+}\r
+exports.isJsxOpeningElement = isJsxOpeningElement;\r
+function isJsxOpeningFragment(node) {\r
+    return node.kind === ts.SyntaxKind.JsxOpeningFragment;\r
+}\r
+exports.isJsxOpeningFragment = isJsxOpeningFragment;\r
+function isJsxOpeningLikeElement(node) {\r
+    return node.kind === ts.SyntaxKind.JsxOpeningElement ||\r
+        node.kind === ts.SyntaxKind.JsxSelfClosingElement;\r
+}\r
+exports.isJsxOpeningLikeElement = isJsxOpeningLikeElement;\r
+function isJsxSelfClosingElement(node) {\r
+    return node.kind === ts.SyntaxKind.JsxSelfClosingElement;\r
+}\r
+exports.isJsxSelfClosingElement = isJsxSelfClosingElement;\r
+function isJsxSpreadAttribute(node) {\r
+    return node.kind === ts.SyntaxKind.JsxSpreadAttribute;\r
+}\r
+exports.isJsxSpreadAttribute = isJsxSpreadAttribute;\r
+function isJsxText(node) {\r
+    return node.kind === ts.SyntaxKind.JsxText;\r
+}\r
+exports.isJsxText = isJsxText;\r
+function isLabeledStatement(node) {\r
+    return node.kind === ts.SyntaxKind.LabeledStatement;\r
+}\r
+exports.isLabeledStatement = isLabeledStatement;\r
+function isLiteralExpression(node) {\r
+    return node.kind >= ts.SyntaxKind.FirstLiteralToken &&\r
+        node.kind <= ts.SyntaxKind.LastLiteralToken;\r
+}\r
+exports.isLiteralExpression = isLiteralExpression;\r
+function isLiteralTypeNode(node) {\r
+    return node.kind === ts.SyntaxKind.LiteralType;\r
+}\r
+exports.isLiteralTypeNode = isLiteralTypeNode;\r
+function isMappedTypeNode(node) {\r
+    return node.kind === ts.SyntaxKind.MappedType;\r
+}\r
+exports.isMappedTypeNode = isMappedTypeNode;\r
+function isMetaProperty(node) {\r
+    return node.kind === ts.SyntaxKind.MetaProperty;\r
+}\r
+exports.isMetaProperty = isMetaProperty;\r
+function isMethodDeclaration(node) {\r
+    return node.kind === ts.SyntaxKind.MethodDeclaration;\r
+}\r
+exports.isMethodDeclaration = isMethodDeclaration;\r
+function isMethodSignature(node) {\r
+    return node.kind === ts.SyntaxKind.MethodSignature;\r
+}\r
+exports.isMethodSignature = isMethodSignature;\r
+function isModuleBlock(node) {\r
+    return node.kind === ts.SyntaxKind.ModuleBlock;\r
+}\r
+exports.isModuleBlock = isModuleBlock;\r
+function isModuleDeclaration(node) {\r
+    return node.kind === ts.SyntaxKind.ModuleDeclaration;\r
+}\r
+exports.isModuleDeclaration = isModuleDeclaration;\r
+function isNamedExports(node) {\r
+    return node.kind === ts.SyntaxKind.NamedExports;\r
+}\r
+exports.isNamedExports = isNamedExports;\r
+function isNamedImports(node) {\r
+    return node.kind === ts.SyntaxKind.NamedImports;\r
+}\r
+exports.isNamedImports = isNamedImports;\r
+function isNamespaceDeclaration(node) {\r
+    return isModuleDeclaration(node) &&\r
+        node.name.kind === ts.SyntaxKind.Identifier &&\r
+        node.body !== undefined &&\r
+        (node.body.kind === ts.SyntaxKind.ModuleBlock ||\r
+            isNamespaceDeclaration(node.body));\r
+}\r
+exports.isNamespaceDeclaration = isNamespaceDeclaration;\r
+function isNamespaceImport(node) {\r
+    return node.kind === ts.SyntaxKind.NamespaceImport;\r
+}\r
+exports.isNamespaceImport = isNamespaceImport;\r
+function isNamespaceExportDeclaration(node) {\r
+    return node.kind === ts.SyntaxKind.NamespaceExportDeclaration;\r
+}\r
+exports.isNamespaceExportDeclaration = isNamespaceExportDeclaration;\r
+function isNewExpression(node) {\r
+    return node.kind === ts.SyntaxKind.NewExpression;\r
+}\r
+exports.isNewExpression = isNewExpression;\r
+function isNonNullExpression(node) {\r
+    return node.kind === ts.SyntaxKind.NonNullExpression;\r
+}\r
+exports.isNonNullExpression = isNonNullExpression;\r
+function isNoSubstitutionTemplateLiteral(node) {\r
+    return node.kind === ts.SyntaxKind.NoSubstitutionTemplateLiteral;\r
+}\r
+exports.isNoSubstitutionTemplateLiteral = isNoSubstitutionTemplateLiteral;\r
+function isNullLiteral(node) {\r
+    return node.kind === ts.SyntaxKind.NullKeyword;\r
+}\r
+exports.isNullLiteral = isNullLiteral;\r
+function isNumericLiteral(node) {\r
+    return node.kind === ts.SyntaxKind.NumericLiteral;\r
+}\r
+exports.isNumericLiteral = isNumericLiteral;\r
+function isNumericOrStringLikeLiteral(node) {\r
+    switch (node.kind) {\r
+        case ts.SyntaxKind.StringLiteral:\r
+        case ts.SyntaxKind.NumericLiteral:\r
+        case ts.SyntaxKind.NoSubstitutionTemplateLiteral:\r
+            return true;\r
+        default:\r
+            return false;\r
+    }\r
+}\r
+exports.isNumericOrStringLikeLiteral = isNumericOrStringLikeLiteral;\r
+function isObjectBindingPattern(node) {\r
+    return node.kind === ts.SyntaxKind.ObjectBindingPattern;\r
+}\r
+exports.isObjectBindingPattern = isObjectBindingPattern;\r
+function isObjectLiteralExpression(node) {\r
+    return node.kind === ts.SyntaxKind.ObjectLiteralExpression;\r
+}\r
+exports.isObjectLiteralExpression = isObjectLiteralExpression;\r
+function isOmittedExpression(node) {\r
+    return node.kind === ts.SyntaxKind.OmittedExpression;\r
+}\r
+exports.isOmittedExpression = isOmittedExpression;\r
+function isParameterDeclaration(node) {\r
+    return node.kind === ts.SyntaxKind.Parameter;\r
+}\r
+exports.isParameterDeclaration = isParameterDeclaration;\r
+function isParenthesizedExpression(node) {\r
+    return node.kind === ts.SyntaxKind.ParenthesizedExpression;\r
+}\r
+exports.isParenthesizedExpression = isParenthesizedExpression;\r
+function isParenthesizedTypeNode(node) {\r
+    return node.kind === ts.SyntaxKind.ParenthesizedType;\r
+}\r
+exports.isParenthesizedTypeNode = isParenthesizedTypeNode;\r
+function isPostfixUnaryExpression(node) {\r
+    return node.kind === ts.SyntaxKind.PostfixUnaryExpression;\r
+}\r
+exports.isPostfixUnaryExpression = isPostfixUnaryExpression;\r
+function isPrefixUnaryExpression(node) {\r
+    return node.kind === ts.SyntaxKind.PrefixUnaryExpression;\r
+}\r
+exports.isPrefixUnaryExpression = isPrefixUnaryExpression;\r
+function isPropertyAccessExpression(node) {\r
+    return node.kind === ts.SyntaxKind.PropertyAccessExpression;\r
+}\r
+exports.isPropertyAccessExpression = isPropertyAccessExpression;\r
+function isPropertyAssignment(node) {\r
+    return node.kind === ts.SyntaxKind.PropertyAssignment;\r
+}\r
+exports.isPropertyAssignment = isPropertyAssignment;\r
+function isPropertyDeclaration(node) {\r
+    return node.kind === ts.SyntaxKind.PropertyDeclaration;\r
+}\r
+exports.isPropertyDeclaration = isPropertyDeclaration;\r
+function isPropertySignature(node) {\r
+    return node.kind === ts.SyntaxKind.PropertySignature;\r
+}\r
+exports.isPropertySignature = isPropertySignature;\r
+function isQualifiedName(node) {\r
+    return node.kind === ts.SyntaxKind.QualifiedName;\r
+}\r
+exports.isQualifiedName = isQualifiedName;\r
+function isRegularExpressionLiteral(node) {\r
+    return node.kind === ts.SyntaxKind.RegularExpressionLiteral;\r
+}\r
+exports.isRegularExpressionLiteral = isRegularExpressionLiteral;\r
+function isReturnStatement(node) {\r
+    return node.kind === ts.SyntaxKind.ReturnStatement;\r
+}\r
+exports.isReturnStatement = isReturnStatement;\r
+function isSetAccessorDeclaration(node) {\r
+    return node.kind === ts.SyntaxKind.SetAccessor;\r
+}\r
+exports.isSetAccessorDeclaration = isSetAccessorDeclaration;\r
+function isShorthandPropertyAssignment(node) {\r
+    return node.kind === ts.SyntaxKind.ShorthandPropertyAssignment;\r
+}\r
+exports.isShorthandPropertyAssignment = isShorthandPropertyAssignment;\r
+function isSignatureDeclaration(node) {\r
+    return node.parameters !== undefined;\r
+}\r
+exports.isSignatureDeclaration = isSignatureDeclaration;\r
+function isSourceFile(node) {\r
+    return node.kind === ts.SyntaxKind.SourceFile;\r
+}\r
+exports.isSourceFile = isSourceFile;\r
+function isSpreadAssignment(node) {\r
+    return node.kind === ts.SyntaxKind.SpreadAssignment;\r
+}\r
+exports.isSpreadAssignment = isSpreadAssignment;\r
+function isSpreadElement(node) {\r
+    return node.kind === ts.SyntaxKind.SpreadElement;\r
+}\r
+exports.isSpreadElement = isSpreadElement;\r
+function isStringLiteral(node) {\r
+    return node.kind === ts.SyntaxKind.StringLiteral;\r
+}\r
+exports.isStringLiteral = isStringLiteral;\r
+function isSwitchStatement(node) {\r
+    return node.kind === ts.SyntaxKind.SwitchStatement;\r
+}\r
+exports.isSwitchStatement = isSwitchStatement;\r
+function isSyntaxList(node) {\r
+    return node.kind === ts.SyntaxKind.SyntaxList;\r
+}\r
+exports.isSyntaxList = isSyntaxList;\r
+function isTaggedTemplateExpression(node) {\r
+    return node.kind === ts.SyntaxKind.TaggedTemplateExpression;\r
+}\r
+exports.isTaggedTemplateExpression = isTaggedTemplateExpression;\r
+function isTemplateExpression(node) {\r
+    return node.kind === ts.SyntaxKind.TemplateExpression;\r
+}\r
+exports.isTemplateExpression = isTemplateExpression;\r
+function isTemplateLiteral(node) {\r
+    return node.kind === ts.SyntaxKind.TemplateExpression ||\r
+        node.kind === ts.SyntaxKind.NoSubstitutionTemplateLiteral;\r
+}\r
+exports.isTemplateLiteral = isTemplateLiteral;\r
+function isTextualLiteral(node) {\r
+    return node.kind === ts.SyntaxKind.StringLiteral ||\r
+        node.kind === ts.SyntaxKind.NoSubstitutionTemplateLiteral;\r
+}\r
+exports.isTextualLiteral = isTextualLiteral;\r
+function isThrowStatement(node) {\r
+    return node.kind === ts.SyntaxKind.ThrowStatement;\r
+}\r
+exports.isThrowStatement = isThrowStatement;\r
+function isTryStatement(node) {\r
+    return node.kind === ts.SyntaxKind.TryStatement;\r
+}\r
+exports.isTryStatement = isTryStatement;\r
+function isTupleTypeNode(node) {\r
+    return node.kind === ts.SyntaxKind.TupleType;\r
+}\r
+exports.isTupleTypeNode = isTupleTypeNode;\r
+function isTypeAliasDeclaration(node) {\r
+    return node.kind === ts.SyntaxKind.TypeAliasDeclaration;\r
+}\r
+exports.isTypeAliasDeclaration = isTypeAliasDeclaration;\r
+function isTypeAssertion(node) {\r
+    return node.kind === ts.SyntaxKind.TypeAssertionExpression;\r
+}\r
+exports.isTypeAssertion = isTypeAssertion;\r
+function isTypeLiteralNode(node) {\r
+    return node.kind === ts.SyntaxKind.TypeLiteral;\r
+}\r
+exports.isTypeLiteralNode = isTypeLiteralNode;\r
+function isTypeOfExpression(node) {\r
+    return node.kind === ts.SyntaxKind.TypeOfExpression;\r
+}\r
+exports.isTypeOfExpression = isTypeOfExpression;\r
+function isTypeOperatorNode(node) {\r
+    return node.kind === ts.SyntaxKind.TypeOperator;\r
+}\r
+exports.isTypeOperatorNode = isTypeOperatorNode;\r
+function isTypeParameterDeclaration(node) {\r
+    return node.kind === ts.SyntaxKind.TypeParameter;\r
+}\r
+exports.isTypeParameterDeclaration = isTypeParameterDeclaration;\r
+function isTypePredicateNode(node) {\r
+    return node.kind === ts.SyntaxKind.TypePredicate;\r
+}\r
+exports.isTypePredicateNode = isTypePredicateNode;\r
+function isTypeReferenceNode(node) {\r
+    return node.kind === ts.SyntaxKind.TypeReference;\r
+}\r
+exports.isTypeReferenceNode = isTypeReferenceNode;\r
+function isTypeQueryNode(node) {\r
+    return node.kind === ts.SyntaxKind.TypeQuery;\r
+}\r
+exports.isTypeQueryNode = isTypeQueryNode;\r
+function isUnionTypeNode(node) {\r
+    return node.kind === ts.SyntaxKind.UnionType;\r
+}\r
+exports.isUnionTypeNode = isUnionTypeNode;\r
+function isVariableDeclaration(node) {\r
+    return node.kind === ts.SyntaxKind.VariableDeclaration;\r
+}\r
+exports.isVariableDeclaration = isVariableDeclaration;\r
+function isVariableStatement(node) {\r
+    return node.kind === ts.SyntaxKind.VariableStatement;\r
+}\r
+exports.isVariableStatement = isVariableStatement;\r
+function isVariableDeclarationList(node) {\r
+    return node.kind === ts.SyntaxKind.VariableDeclarationList;\r
+}\r
+exports.isVariableDeclarationList = isVariableDeclarationList;\r
+function isVoidExpression(node) {\r
+    return node.kind === ts.SyntaxKind.VoidExpression;\r
+}\r
+exports.isVoidExpression = isVoidExpression;\r
+function isWhileStatement(node) {\r
+    return node.kind === ts.SyntaxKind.WhileStatement;\r
+}\r
+exports.isWhileStatement = isWhileStatement;\r
+function isWithStatement(node) {\r
+    return node.kind === ts.SyntaxKind.WithStatement;\r
+}\r
+exports.isWithStatement = isWithStatement;\r
+//# sourceMappingURL=node.js.map
\ No newline at end of file