Searched refs:isSourceFile (Results 1 – 25 of 44) sorted by relevance
12
/third_party/vk-gl-cts/scripts/src_util/ |
D | check_license.py | 71 def isSourceFile (file): function 80 if isTextFile(file) and isSourceFile(file):
|
/third_party/vk-gl-cts/scripts/ |
D | gen_android_mk.py | 74 def isSourceFile (filename): function 105 if isSourceFile(portablePath):
|
/third_party/jsframework/mock-generate/src/generate/ |
D | generateInterfaceDeclaration.ts | 30 …(rootName: string, interfaceEntity: InterfaceEntity, sourceFile: SourceFile, isSourceFile: boolean, 35 if (interfaceEntity.exportModifiers.length > 0 || isSourceFile) {
|
/third_party/typescript/src/services/ |
D | callHierarchy.ts | 47 return isSourceFile(node) 65 return isSourceFile(node) 79 if (isSourceFile(node)) return node; 97 if (isSourceFile(node)) { 327 if (isSourceFile(declaration) || isModuleDeclaration(declaration)) {
|
D | classifier2020.ts | 196 …return (!isSourceFile(decl.parent.parent.parent) || isCatchClause(decl.parent)) && decl.getSourceF… 199 return !isSourceFile(decl.parent) && decl.getSourceFile() === sourceFile;
|
D | rename.ts | 63 const moduleSourceFile = find(moduleSymbol.declarations, isSourceFile);
|
D | smartSelection.ts | 130 if (isSourceFile(node)) {
|
D | getEditsForFileRename.ts | 188 const oldFileName = find(importedModuleSymbol.declarations, isSourceFile)!.fileName;
|
D | findAllReferences.ts | 626 if (isSourceFile(node)) { 734 …mbol.flags & SymbolFlags.Module) && symbol.declarations && find(symbol.declarations, isSourceFile); 942 …(scope, scope.getSourceFile(), search, state, /*addReferencesHere*/ !(isSourceFile(scope) && !cont… 1019 …const decl = symbol.declarations && find(symbol.declarations, d => !isSourceFile(d) && !isModuleDe… 1953 …return getPossibleSymbolReferenceNodes(sourceFile, "this", isSourceFile(searchSpaceNode) ? sourceF…
|
D | importTracker.ts | 590 else if (isSourceFile(decl)) { // json module
|
D | completions.ts | 1620 if (!isSourceFile(location)) { 2168 … const localsContainer = findAncestor(namedExports, or(isSourceFile, isModuleDeclaration))!; 2897 …const cls = tryCast(lastOrUndefined(cast(location.parent, isSourceFile).statements), isObjectTypeD…
|
/third_party/typescript/src/compiler/factory/ |
D | utilities.ts | 393 const parseNode = getOriginalNode(node, isSourceFile); 399 const parseNode = getOriginalNode(sourceFile, isSourceFile); 431 const parseNode = getOriginalNode(sourceFile, isSourceFile); 481 const parseNode = getOriginalNode(node, isSourceFile);
|
/third_party/typescript/src/testRunner/unittests/ |
D | transform.ts | 379 return visitNode(sourceFile, rootTransform, isSourceFile); 505 return visitNode(sourceFile, rootTransform, isSourceFile); 575 return sourceFile => visitNode(sourceFile, visitor, isSourceFile);
|
/third_party/typescript/src/services/codefixes/ |
D | fixImplicitThis.ts | 28 …if (!isSourceFile(getThisContainer(fn, /*includeArrowFunctions*/ false))) { // 'this' is defined o…
|
D | fixAddMissingMember.ts | 154 const moduleSourceFile = find(symbol.declarations, isSourceFile);
|
/third_party/typescript/src/services/refactors/ |
D | convertExport.ts | 64 …if (!exportNode || (!isSourceFile(exportNode.parent) && !(isModuleBlock(exportNode.parent) && isAm… 68 …const exportingModuleSymbol = isSourceFile(exportNode.parent) ? exportNode.parent.symbol : exportN…
|
D | moveToNewFile.ts | 579 return isSourceFile(decl.parent.parent.parent) && 682 …NonVariableTopLevelDeclaration(node) && isSourceFile(node.parent) || isVariableDeclaration(node) &… 690 Debug.assert(isSourceFile(node.parent), "Node parent should be a SourceFile");
|
D | extractSymbol.ts | 512 … if (isSourceFile(node.parent) && node.parent.externalModuleIndicator === undefined) { 623 …return isFunctionLikeDeclaration(node) || isSourceFile(node) || isModuleBlock(node) || isClassLike… 1427 else if (isModuleBlock(scope) || isSourceFile(scope)) {
|
/third_party/typescript/src/compiler/transformers/module/ |
D | esnextAnd2015.ts | 125 if (isSourceFile(node)) {
|
/third_party/typescript/src/compiler/transformers/ |
D | declarations.ts | 645 return isSourceFile(node) 794 …needsDeclare = i.parent && isSourceFile(i.parent) && !(isExternalModule(i.parent) && isBundledEmit… 815 …if (isSourceFile(statement.parent) && (isArray(result) ? some(result, isExternalModuleIndicator) :… 1109 if (isSourceFile(input.parent)) { 1126 if (isSourceFile(input.parent)) {
|
D | jsx.ts | 263 if (originalFile && isSourceFile(originalFile)) {
|
/third_party/typescript/src/compiler/ |
D | transformer.ts | 247 … return node && (!isSourceFile(node) || !node.isDeclarationFile) ? transformation(node) : node;
|
D | emitter.ts | 452 …const sourceFiles = isSourceFile(sourceFileOrBundle) ? [sourceFileOrBundle] : sourceFileOrBundle.s… 455 …dle = outFile(compilerOptions) ? [factory.createBundle(filesForEmit, !isSourceFile(sourceFileOrBun… 949 Debug.assert(isSourceFile(node), "Expected a SourceFile node."); 1290 if (hint === EmitHint.SourceFile) return emitSourceFile(cast(node, isSourceFile)); 1774 …const sourceFile = isSourceFile(currentNode) ? currentNode : isUnparsedSource(currentNode) ? undef… 1776 …const shouldBundle = (isSourceFile(currentNode) || isUnparsedSource(currentNode)) && !isOwnFileEmi… 3891 if (isSourceFile(sourceFileOrBundle)) { 3934 if (isSourceFile(sourceFileOrBundle) || isUnparsedSource(sourceFileOrBundle)) {
|
D | moduleSpecifiers.ts | 413 …opNamespace.parent) && isAmbientModule(topNamespace.parent.parent) && isSourceFile(topNamespace.pa…
|
D | binder.ts | 114 if (isBlock(p) || isModuleBlock(p) || isSourceFile(p)) { 1980 const body = isSourceFile(node) ? node : tryCast(node.body, isModuleBlock); 2820 …const diag = !isSourceFile(node.parent) ? Diagnostics.Global_module_exports_may_only_appear_at_top… 3553 …if (isSourceFile(container) && container.jsGlobalAugmentations && container.jsGlobalAugmentations.…
|
12