UNPKG

14 kBTypeScriptView Raw
1import * as ts from 'typescript';
2export declare function isAccessorDeclaration(node: ts.Node): node is ts.AccessorDeclaration;
3export declare function isArrayBindingPattern(node: ts.Node): node is ts.ArrayBindingPattern;
4export declare function isArrayLiteralExpression(node: ts.Node): node is ts.ArrayLiteralExpression;
5export declare function isArrayTypeNode(node: ts.Node): node is ts.ArrayTypeNode;
6export declare function isArrowFunction(node: ts.Node): node is ts.ArrowFunction;
7export declare function isAsExpression(node: ts.Node): node is ts.AsExpression;
8export declare function isAssertionExpression(node: ts.Node): node is ts.AssertionExpression;
9export declare function isAwaitExpression(node: ts.Node): node is ts.AwaitExpression;
10export declare function isBinaryExpression(node: ts.Node): node is ts.BinaryExpression;
11export declare function isBindingElement(node: ts.Node): node is ts.BindingElement;
12export declare function isBindingPattern(node: ts.Node): node is ts.BindingPattern;
13export declare function isBlock(node: ts.Node): node is ts.Block;
14export declare function isBlockLike(node: ts.Node): node is ts.BlockLike;
15export declare function isBooleanLiteral(node: ts.Node): node is ts.BooleanLiteral;
16export declare function isBreakOrContinueStatement(node: ts.Node): node is ts.BreakOrContinueStatement;
17export declare function isBreakStatement(node: ts.Node): node is ts.BreakStatement;
18export declare function isCallExpression(node: ts.Node): node is ts.CallExpression;
19export declare function isCallLikeExpression(node: ts.Node): node is ts.CallLikeExpression;
20export declare function isCallSignatureDeclaration(node: ts.Node): node is ts.CallSignatureDeclaration;
21export declare function isCaseBlock(node: ts.Node): node is ts.CaseBlock;
22export declare function isCaseClause(node: ts.Node): node is ts.CaseClause;
23export declare function isCaseOrDefaultClause(node: ts.Node): node is ts.CaseOrDefaultClause;
24export declare function isCatchClause(node: ts.Node): node is ts.CatchClause;
25export declare function isClassDeclaration(node: ts.Node): node is ts.ClassDeclaration;
26export declare function isClassExpression(node: ts.Node): node is ts.ClassExpression;
27export declare function isClassLikeDeclaration(node: ts.Node): node is ts.ClassLikeDeclaration;
28export declare function isCommaListExpression(node: ts.Node): node is ts.CommaListExpression;
29export declare function isConditionalExpression(node: ts.Node): node is ts.ConditionalExpression;
30export declare function isConditionalTypeNode(node: ts.Node): node is ts.ConditionalTypeNode;
31export declare function isConstructorDeclaration(node: ts.Node): node is ts.ConstructorDeclaration;
32export declare function isConstructorTypeNode(node: ts.Node): node is ts.ConstructorTypeNode;
33export declare function isConstructSignatureDeclaration(node: ts.Node): node is ts.ConstructSignatureDeclaration;
34export declare function isContinueStatement(node: ts.Node): node is ts.ContinueStatement;
35export declare function isComputedPropertyName(node: ts.Node): node is ts.ComputedPropertyName;
36export declare function isDebuggerStatement(node: ts.Node): node is ts.DebuggerStatement;
37export declare function isDecorator(node: ts.Node): node is ts.Decorator;
38export declare function isDefaultClause(node: ts.Node): node is ts.DefaultClause;
39export declare function isDeleteExpression(node: ts.Node): node is ts.DeleteExpression;
40export declare function isDoStatement(node: ts.Node): node is ts.DoStatement;
41export declare function isElementAccessExpression(node: ts.Node): node is ts.ElementAccessExpression;
42export declare function isEmptyStatement(node: ts.Node): node is ts.EmptyStatement;
43export declare function isEntityName(node: ts.Node): node is ts.EntityName;
44export declare function isEntityNameExpression(node: ts.Node): node is ts.EntityNameExpression;
45export declare function isEnumDeclaration(node: ts.Node): node is ts.EnumDeclaration;
46export declare function isEnumMember(node: ts.Node): node is ts.EnumMember;
47export declare function isExportAssignment(node: ts.Node): node is ts.ExportAssignment;
48export declare function isExportDeclaration(node: ts.Node): node is ts.ExportDeclaration;
49export declare function isExportSpecifier(node: ts.Node): node is ts.ExportSpecifier;
50export declare function isExpression(node: ts.Node): node is ts.Expression;
51export declare function isExpressionStatement(node: ts.Node): node is ts.ExpressionStatement;
52export declare function isExpressionWithTypeArguments(node: ts.Node): node is ts.ExpressionWithTypeArguments;
53export declare function isExternalModuleReference(node: ts.Node): node is ts.ExternalModuleReference;
54export declare function isForInStatement(node: ts.Node): node is ts.ForInStatement;
55export declare function isForInOrOfStatement(node: ts.Node): node is ts.ForInOrOfStatement;
56export declare function isForOfStatement(node: ts.Node): node is ts.ForOfStatement;
57export declare function isForStatement(node: ts.Node): node is ts.ForStatement;
58export declare function isFunctionDeclaration(node: ts.Node): node is ts.FunctionDeclaration;
59export declare function isFunctionExpression(node: ts.Node): node is ts.FunctionExpression;
60export declare function isFunctionTypeNode(node: ts.Node): node is ts.FunctionTypeNode;
61export declare function isGetAccessorDeclaration(node: ts.Node): node is ts.GetAccessorDeclaration;
62export declare function isIdentifier(node: ts.Node): node is ts.Identifier;
63export declare function isIfStatement(node: ts.Node): node is ts.IfStatement;
64export declare function isImportClause(node: ts.Node): node is ts.ImportClause;
65export declare function isImportDeclaration(node: ts.Node): node is ts.ImportDeclaration;
66export declare function isImportEqualsDeclaration(node: ts.Node): node is ts.ImportEqualsDeclaration;
67export declare function isImportSpecifier(node: ts.Node): node is ts.ImportSpecifier;
68export declare function isIndexedAccessTypeNode(node: ts.Node): node is ts.IndexedAccessTypeNode;
69export declare function isIndexSignatureDeclaration(node: ts.Node): node is ts.IndexSignatureDeclaration;
70export declare function isInferTypeNode(node: ts.Node): node is ts.InferTypeNode;
71export declare function isInterfaceDeclaration(node: ts.Node): node is ts.InterfaceDeclaration;
72export declare function isIntersectionTypeNode(node: ts.Node): node is ts.IntersectionTypeNode;
73export declare function isIterationStatement(node: ts.Node): node is ts.IterationStatement;
74export declare function isJsDoc(node: ts.Node): node is ts.JSDoc;
75export declare function isJsxAttribute(node: ts.Node): node is ts.JsxAttribute;
76export declare function isJsxAttributeLike(node: ts.Node): node is ts.JsxAttributeLike;
77export declare function isJsxAttributes(node: ts.Node): node is ts.JsxAttributes;
78export declare function isJsxClosingElement(node: ts.Node): node is ts.JsxClosingElement;
79export declare function isJsxClosingFragment(node: ts.Node): node is ts.JsxClosingFragment;
80export declare function isJsxElement(node: ts.Node): node is ts.JsxElement;
81export declare function isJsxExpression(node: ts.Node): node is ts.JsxExpression;
82export declare function isJsxFragment(node: ts.Node): node is ts.JsxFragment;
83export declare function isJsxOpeningElement(node: ts.Node): node is ts.JsxOpeningElement;
84export declare function isJsxOpeningFragment(node: ts.Node): node is ts.JsxOpeningFragment;
85export declare function isJsxOpeningLikeElement(node: ts.Node): node is ts.JsxOpeningLikeElement;
86export declare function isJsxSelfClosingElement(node: ts.Node): node is ts.JsxSelfClosingElement;
87export declare function isJsxSpreadAttribute(node: ts.Node): node is ts.JsxSpreadAttribute;
88export declare function isJsxText(node: ts.Node): node is ts.JsxText;
89export declare function isLabeledStatement(node: ts.Node): node is ts.LabeledStatement;
90export declare function isLiteralExpression(node: ts.Node): node is ts.LiteralExpression;
91export declare function isLiteralTypeNode(node: ts.Node): node is ts.LiteralTypeNode;
92export declare function isMappedTypeNode(node: ts.Node): node is ts.MappedTypeNode;
93export declare function isMetaProperty(node: ts.Node): node is ts.MetaProperty;
94export declare function isMethodDeclaration(node: ts.Node): node is ts.MethodDeclaration;
95export declare function isMethodSignature(node: ts.Node): node is ts.MethodSignature;
96export declare function isModuleBlock(node: ts.Node): node is ts.ModuleBlock;
97export declare function isModuleDeclaration(node: ts.Node): node is ts.ModuleDeclaration;
98export declare function isNamedExports(node: ts.Node): node is ts.NamedExports;
99export declare function isNamedImports(node: ts.Node): node is ts.NamedImports;
100export declare function isNamespaceDeclaration(node: ts.Node): node is ts.NamespaceDeclaration;
101export declare function isNamespaceImport(node: ts.Node): node is ts.NamespaceImport;
102export declare function isNamespaceExportDeclaration(node: ts.Node): node is ts.NamespaceExportDeclaration;
103export declare function isNewExpression(node: ts.Node): node is ts.NewExpression;
104export declare function isNonNullExpression(node: ts.Node): node is ts.NonNullExpression;
105export declare function isNoSubstitutionTemplateLiteral(node: ts.Node): node is ts.NoSubstitutionTemplateLiteral;
106export declare function isNullLiteral(node: ts.Node): node is ts.NullLiteral;
107export declare function isNumericLiteral(node: ts.Node): node is ts.NumericLiteral;
108export declare function isNumericOrStringLikeLiteral(node: ts.Node): node is ts.NumericLiteral | ts.StringLiteral | ts.NoSubstitutionTemplateLiteral;
109export declare function isObjectBindingPattern(node: ts.Node): node is ts.ObjectBindingPattern;
110export declare function isObjectLiteralExpression(node: ts.Node): node is ts.ObjectLiteralExpression;
111export declare function isOmittedExpression(node: ts.Node): node is ts.OmittedExpression;
112export declare function isParameterDeclaration(node: ts.Node): node is ts.ParameterDeclaration;
113export declare function isParenthesizedExpression(node: ts.Node): node is ts.ParenthesizedExpression;
114export declare function isParenthesizedTypeNode(node: ts.Node): node is ts.ParenthesizedTypeNode;
115export declare function isPostfixUnaryExpression(node: ts.Node): node is ts.PostfixUnaryExpression;
116export declare function isPrefixUnaryExpression(node: ts.Node): node is ts.PrefixUnaryExpression;
117export declare function isPropertyAccessExpression(node: ts.Node): node is ts.PropertyAccessExpression;
118export declare function isPropertyAssignment(node: ts.Node): node is ts.PropertyAssignment;
119export declare function isPropertyDeclaration(node: ts.Node): node is ts.PropertyDeclaration;
120export declare function isPropertySignature(node: ts.Node): node is ts.PropertySignature;
121export declare function isQualifiedName(node: ts.Node): node is ts.QualifiedName;
122export declare function isRegularExpressionLiteral(node: ts.Node): node is ts.RegularExpressionLiteral;
123export declare function isReturnStatement(node: ts.Node): node is ts.ReturnStatement;
124export declare function isSetAccessorDeclaration(node: ts.Node): node is ts.SetAccessorDeclaration;
125export declare function isShorthandPropertyAssignment(node: ts.Node): node is ts.ShorthandPropertyAssignment;
126export declare function isSignatureDeclaration(node: ts.Node): node is ts.SignatureDeclaration;
127export declare function isSourceFile(node: ts.Node): node is ts.SourceFile;
128export declare function isSpreadAssignment(node: ts.Node): node is ts.SpreadAssignment;
129export declare function isSpreadElement(node: ts.Node): node is ts.SpreadElement;
130export declare function isStringLiteral(node: ts.Node): node is ts.StringLiteral;
131export declare function isSwitchStatement(node: ts.Node): node is ts.SwitchStatement;
132export declare function isSyntaxList(node: ts.Node): node is ts.SyntaxList;
133export declare function isTaggedTemplateExpression(node: ts.Node): node is ts.TaggedTemplateExpression;
134export declare function isTemplateExpression(node: ts.Node): node is ts.TemplateExpression;
135export declare function isTemplateLiteral(node: ts.Node): node is ts.TemplateLiteral;
136export declare function isTextualLiteral(node: ts.Node): node is ts.StringLiteral | ts.NoSubstitutionTemplateLiteral;
137export declare function isThrowStatement(node: ts.Node): node is ts.ThrowStatement;
138export declare function isTryStatement(node: ts.Node): node is ts.TryStatement;
139export declare function isTupleTypeNode(node: ts.Node): node is ts.TupleTypeNode;
140export declare function isTypeAliasDeclaration(node: ts.Node): node is ts.TypeAliasDeclaration;
141export declare function isTypeAssertion(node: ts.Node): node is ts.TypeAssertion;
142export declare function isTypeLiteralNode(node: ts.Node): node is ts.TypeLiteralNode;
143export declare function isTypeOfExpression(node: ts.Node): node is ts.TypeOfExpression;
144export declare function isTypeOperatorNode(node: ts.Node): node is ts.TypeOperatorNode;
145export declare function isTypeParameterDeclaration(node: ts.Node): node is ts.TypeParameterDeclaration;
146export declare function isTypePredicateNode(node: ts.Node): node is ts.TypePredicateNode;
147export declare function isTypeReferenceNode(node: ts.Node): node is ts.TypeReferenceNode;
148export declare function isTypeQueryNode(node: ts.Node): node is ts.TypeQueryNode;
149export declare function isUnionTypeNode(node: ts.Node): node is ts.UnionTypeNode;
150export declare function isVariableDeclaration(node: ts.Node): node is ts.VariableDeclaration;
151export declare function isVariableStatement(node: ts.Node): node is ts.VariableStatement;
152export declare function isVariableDeclarationList(node: ts.Node): node is ts.VariableDeclarationList;
153export declare function isVoidExpression(node: ts.Node): node is ts.VoidExpression;
154export declare function isWhileStatement(node: ts.Node): node is ts.WhileStatement;
155export declare function isWithStatement(node: ts.Node): node is ts.WithStatement;