• Home
  • Raw
  • Download

Lines Matching full:function

18 export function getSymbol(node: ts.Node): ts.Symbol;
19 export function tsStringToString(str: ts.__String): string;
20 export function getTextOfIdentifierOrLiteral(node: ts.Node): string;
21 export function isJsFile(file: ts.SourceFile): boolean;
22 export function createEmptyNodeArray<T extends ts.Node>(): ts.NodeArray<T>;
23 export function getFlowNode(stmt: ts.Statement): ts.Node;
24 export function bindSourceFile(sourceFile: ts.SourceFile, options: ts.CompilerOptions);
25 export function createDiagnosticForNode(node: ts.Node, message: ts.DiagnosticMessage, ...args: (str…
26 export function createCompilerDiagnostic(message: ts.DiagnosticMessage, ...args: (string | number |…
27 export function createFileDiagnostic(file: ts.SourceFile, start: number, length: number, message: t…
28 export function isEffectiveStrictModeSourceFile(node: ts.SourceFile, compilerOptions: ts.CompilerOp…
29 export function getErrorSpanForNode(sourceFile: ts.SourceFile, node: ts.Node): ts.TextSpan;
30 export function getSpanOfTokenAtPosition(sourceFile: ts.SourceFile, pos: number): ts.TextSpan;
31 export function getContainingClass(node: ts.Node): ts.ClassLikeDeclaration | undefined;
32 export function declarationNameToString(name: ts.DeclarationName | ts.QualifiedName | undefined);
33 export function getContainingFunction(node: ts.Node): ts.SignatureDeclaration | undefined;
34 export function isPrologueDirective(node: ts.Node): node is ts.PrologueDirective;
35 export function getSourceTextOfNodeFromSourceFile(sourceFile: ts.SourceFile, node: ts.Node, include…
36 export function isAssignmentTarget(node: ts.Node): boolean;
37 export function getSourceFileOfNode(node: ts.Node): ts.SourceFile;
38 export function isIterationStatement(node: ts.Node, lookInLabeledStatements: boolean): node is ts.I…
39 export function getTextOfNode(node: ts.Node, includeTrivia = false): string;
40 export function nodePosToString(node: ts.Node): string;
41 export function getContainingFunctionDeclaration(node: ts.Node): ts.FunctionLikeDeclaration | undef…
42 export function tokenToString(t: ts.SyntaxKind): string | undefined;
43 export function getNewTargetContainer(node: ts.Node): ts.Node | undefined;
44 export function isVarConst(node: ts.VariableDeclaration | ts.VariableDeclarationList): boolean;
45 export function isLet(node: ts.Node): boolean;
46 export function nodeCanBeDecorated(node: ts.Node, parent?: ts.Node, grandparent?: ts.Node): boolean;
47 export function getAllAccessorDeclarations(declarations: readonly ts.Declaration[], accessor: ts.Ac…
48 export function nodeIsPresent(node: ts.Node | undefined): boolean;
49 export function modifierToFlag(token: ts.SyntaxKind): ts.ModifierFlags;
50 export function hasSyntacticModifier(node: ts.Node, flags: ts.ModifierFlags): boolean;
51 export function isAmbientModule(node: ts.Node): node is ts.AmbientModuleDeclaration;
52 export function isKeyword(token: ts.SyntaxKind): boolean;
53 export function getThisContainer(node: ts.Node, includeArrowFunctions: boolean): ts.Node;
54 export function getEnclosingBlockScopeContainer(node: ts.Node): ts.Node;
55 export function findAncestor(node: ts.Node | undefined, callback: (element: ts.Node) => boolean | "…
56 export function isBlockScope(node: ts.Node, parentNode: ts.Node): boolean;
57 export function isIdentifierName(node: ts.Identifier): boolean;
58 export function declarationNameToString(name: ts.DeclarationName | ts.QualifiedName | undefined): s…
59 export function isInTopLevelContext(node: ts.Node);
60 export function isExternalOrCommonJsModule(file: ts.SourceFile): boolean;
61 export function skipParentheses(node: ts.Node): ts.Node;
62 export function getImmediatelyInvokedFunctionExpression(func: ts.Node): ts.CallExpression | undefin…
63 export function hasQuestionToken(node: ts.Node);
64 export function getPropertyNameForPropertyNameNode(name: ts.PropertyName): ts.__String | undefined;
65 export function isFunctionBlock(node: ts.Node): boolean;
66 export function isFunctionLike(node: ts.Node): boolean;
67 export function getSuperContainer(node: ts.Node, stopOnFunctions: boolean): ts.Node;
68 export function getClassExtendsHeritageElement(node: ts.ClassLikeDeclaration | ts.InterfaceDeclarat…
69 export function hasStaticModifier(node: ts.Node): boolean;
70 export function skipOuterExpressions(node: ts.Node, kinds?: ts.OuterExpressionKinds): ts.Node;
71 export function isSuperCall(n: ts.Node);
72 export function isThisProperty(node: ts.Node): boolean;
73 export function isThisIdentifier(node: ts.Node | undefined): boolean;
74 export function isSuperProperty(node: ts.Node);
75 export function setParent<T extends ts.Node>(child: T | undefined, parent: T["parent"] | undefined)…