Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for files (0.1 sec)

  1. analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/impl/KtStandaloneProjectStructureProvider.kt

        }
    
        override val allSourceFiles: List<PsiFileSystemItem> by lazy {
            buildList {
                val files = allKtModules.mapNotNull { (it as? KtSourceModuleImpl)?.sourceRoots }.flatten()
                addAll(files)
                addAll(findJvmRootsForJavaFiles(files.filterIsInstance<PsiJavaFile>()))
            }
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Apr 10 16:23:23 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/psiTypeProvider/AbstractAnalysisApiKtTypeByPsiTypeProviderTest.kt

        var psiDeclaration: PsiElement? = null
        var useSitePosition: PsiElement? = null
    
        testServices.ktTestModuleStructure.mainModules.forEach { ktTestModule ->
            val psiFiles = ktTestModule.files
            for (psiFile in psiFiles) {
                val targetOffset = testServices.expressionMarkerProvider.getCaretPositionOrNull(psiFile)
                if (targetOffset != null) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/InlineFunctionAnalyzer.kt

                        analyze(inlineFunction)
                    }
                }
                analyzedElements.addAll(nextInlineFunctions)
            }
        }
    
        /**
         * Returns the list of files that contain all reached inline functions.
         */
        fun allFiles(): List<KtFile> = analyzedElements.mapTo(mutableSetOf()) { it.containingKtFile }.toList()
    
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. analysis/analysis-api-standalone/src/org/jetbrains/kotlin/analysis/project/structure/impl/KtModuleUtils.kt

                }
    
                override fun visitFile(file: Path, attrs: BasicFileAttributes): FileVisitResult {
                    if (!Files.isRegularFile(file) || !Files.isReadable(file))
                        return FileVisitResult.CONTINUE
                    if (file.hasSuitableExtensionToAnalyse()) {
                        result.add(file)
                    }
                    return FileVisitResult.CONTINUE
                }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/packages/KotlinStandalonePackageProvider.kt

    class KotlinStandalonePackageProvider(
        project: Project,
        internal val scope: GlobalSearchScope,
        files: Collection<KtFile>
    ) : KotlinPackageProviderBase(project, scope) {
        private val kotlinPackageToSubPackages: Map<FqName, Set<Name>> = run {
            val filesInScope = files.filter { scope.contains(it.virtualFile) }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  6. analysis/analysis-api-standalone/analysis-api-fir-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/declarations/KotlinStandaloneFirDirectInheritorsProvider.kt

                return emptyList()
            }
    
            // The index provides candidates from an original module, not dangling files. If we resolve the supertypes of a candidate in the
            // context of its session, we will resolve to FIR classes from non-dangling, original modules. If `ktClass` is inside a dangling
            // file, the FIR class for `ktClass` will come from the dangling module. So we'd compare the original FIR class for the supertype
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/modification/KotlinGlobalSourceOutOfBlockModificationListener.kt

         *
         * The source code of all source [KtModule]s in the project should be considered modified when this event is received. This includes
         * source files being moved or removed. Thus, all caches related to source code and source files should be invalidated.
         *
         * Library modules (including library sources) do not need to be considered modified, so any caches related to library modules and their
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtCompilerFacility.kt

    public interface KaCompiledFile {
        /**
         * Path of the compiled file relative to the root of the output directory.
         */
        public val path: String
    
        /**
         * Source files that were compiled to produce this file.
         */
        public val sourceFiles: List<File>
    
        /**
         * Content of the compiled file.
         */
        public val content: ByteArray
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/scopeProvider/AbstractPackageScopeTest.kt

        override fun getAllowedContainingFiles(mainFile: KtFile, testServices: TestServices): Set<KtFile> {
            // Package scope tests may collect symbols from multiple files, so we need to allow all main test files.
            return testServices.ktTestModuleStructure.allMainKtFiles.toSet()
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. .space/CODEOWNERS

    /wasm/ "Kotlin Wasm"
    
    # Generated files (no review required)
    *Generated.java "Kotlin" "Kotlin IDE Analysis Core"
    
    # Singular files
    /.gitattributes "Kotlin Build Infrastructure"
    /ChangeLog.md "Kotlin Release"
    /CODE_OF_CONDUCT.md "Kotlin Build Infrastructure"
    /ReadMe.md "Kotlin Build Infrastructure"
    /SECURITY.md "Kotlin Build Infrastructure"
    
    # Build files
    **.gradle.kts "Kotlin Build Infrastructure"
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:55:49 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top