1 | "use strict";
|
2 |
|
3 |
|
4 | Object.defineProperty(exports, "__esModule", { value: true });
|
5 | exports.isNoSubstitutionTemplateLiteral = exports.isTemplateExpression = exports.isTaggedTemplateExpression = exports.isExportAssignment = exports.isVariableDeclaration = exports.isIdentifier = exports.isCallExpression = exports.isPropertyAccessExpression = void 0;
|
6 | const ts = require("typescript");
|
7 |
|
8 |
|
9 |
|
10 |
|
11 | function isPropertyAccessExpression(node) {
|
12 | return node.kind === ts.SyntaxKind.PropertyAccessExpression;
|
13 | }
|
14 | exports.isPropertyAccessExpression = isPropertyAccessExpression;
|
15 |
|
16 |
|
17 |
|
18 |
|
19 | function isCallExpression(node) {
|
20 | return node.kind === ts.SyntaxKind.CallExpression;
|
21 | }
|
22 | exports.isCallExpression = isCallExpression;
|
23 |
|
24 |
|
25 |
|
26 |
|
27 | function isIdentifier(node) {
|
28 | return node.kind === ts.SyntaxKind.Identifier;
|
29 | }
|
30 | exports.isIdentifier = isIdentifier;
|
31 |
|
32 |
|
33 |
|
34 |
|
35 | function isVariableDeclaration(node) {
|
36 | return node.kind === ts.SyntaxKind.VariableDeclaration;
|
37 | }
|
38 | exports.isVariableDeclaration = isVariableDeclaration;
|
39 |
|
40 |
|
41 |
|
42 |
|
43 | function isExportAssignment(node) {
|
44 | return node.kind === ts.SyntaxKind.ExportAssignment;
|
45 | }
|
46 | exports.isExportAssignment = isExportAssignment;
|
47 |
|
48 |
|
49 |
|
50 |
|
51 | function isTaggedTemplateExpression(node) {
|
52 | return node.kind === ts.SyntaxKind.TaggedTemplateExpression;
|
53 | }
|
54 | exports.isTaggedTemplateExpression = isTaggedTemplateExpression;
|
55 |
|
56 |
|
57 |
|
58 |
|
59 | function isTemplateExpression(node) {
|
60 | return node.kind === ts.SyntaxKind.TemplateExpression;
|
61 | }
|
62 | exports.isTemplateExpression = isTemplateExpression;
|
63 |
|
64 |
|
65 |
|
66 |
|
67 | function isNoSubstitutionTemplateLiteral(node) {
|
68 | return node.kind === ts.SyntaxKind.NoSubstitutionTemplateLiteral;
|
69 | }
|
70 | exports.isNoSubstitutionTemplateLiteral = isNoSubstitutionTemplateLiteral;
|