Home
last modified time | relevance | path

Searched refs:isSourceFile (Results 1 – 25 of 44) sorted by relevance

12

/third_party/vk-gl-cts/scripts/src_util/
Dcheck_license.py71 def isSourceFile (file): function
80 if isTextFile(file) and isSourceFile(file):
/third_party/vk-gl-cts/scripts/
Dgen_android_mk.py74 def isSourceFile (filename): function
105 if isSourceFile(portablePath):
/third_party/jsframework/mock-generate/src/generate/
DgenerateInterfaceDeclaration.ts30 …(rootName: string, interfaceEntity: InterfaceEntity, sourceFile: SourceFile, isSourceFile: boolean,
35 if (interfaceEntity.exportModifiers.length > 0 || isSourceFile) {
/third_party/typescript/src/services/
DcallHierarchy.ts47 return isSourceFile(node)
65 return isSourceFile(node)
79 if (isSourceFile(node)) return node;
97 if (isSourceFile(node)) {
327 if (isSourceFile(declaration) || isModuleDeclaration(declaration)) {
Dclassifier2020.ts196 …return (!isSourceFile(decl.parent.parent.parent) || isCatchClause(decl.parent)) && decl.getSourceF…
199 return !isSourceFile(decl.parent) && decl.getSourceFile() === sourceFile;
Drename.ts63 const moduleSourceFile = find(moduleSymbol.declarations, isSourceFile);
DsmartSelection.ts130 if (isSourceFile(node)) {
DgetEditsForFileRename.ts188 const oldFileName = find(importedModuleSymbol.declarations, isSourceFile)!.fileName;
DfindAllReferences.ts626 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…
DimportTracker.ts590 else if (isSourceFile(decl)) { // json module
Dcompletions.ts1620 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/
Dutilities.ts393 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/
Dtransform.ts379 return visitNode(sourceFile, rootTransform, isSourceFile);
505 return visitNode(sourceFile, rootTransform, isSourceFile);
575 return sourceFile => visitNode(sourceFile, visitor, isSourceFile);
/third_party/typescript/src/services/codefixes/
DfixImplicitThis.ts28 …if (!isSourceFile(getThisContainer(fn, /*includeArrowFunctions*/ false))) { // 'this' is defined o…
DfixAddMissingMember.ts154 const moduleSourceFile = find(symbol.declarations, isSourceFile);
/third_party/typescript/src/services/refactors/
DconvertExport.ts64 …if (!exportNode || (!isSourceFile(exportNode.parent) && !(isModuleBlock(exportNode.parent) && isAm…
68 …const exportingModuleSymbol = isSourceFile(exportNode.parent) ? exportNode.parent.symbol : exportN…
DmoveToNewFile.ts579 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");
DextractSymbol.ts512 … 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/
DesnextAnd2015.ts125 if (isSourceFile(node)) {
/third_party/typescript/src/compiler/transformers/
Ddeclarations.ts645 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)) {
Djsx.ts263 if (originalFile && isSourceFile(originalFile)) {
/third_party/typescript/src/compiler/
Dtransformer.ts247 … return node && (!isSourceFile(node) || !node.isDeclarationFile) ? transformation(node) : node;
Demitter.ts452 …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)) {
DmoduleSpecifiers.ts413 …opNamespace.parent) && isAmbientModule(topNamespace.parent.parent) && isSourceFile(topNamespace.pa…
Dbinder.ts114 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