Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for accept (0.57 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

                simpleFunction.returnTypeRef.accept(this)
            }
    
            override fun visitProperty(property: FirProperty) {
                property.typeParameters.forEach { it.accept(this) }
    
                property.receiverParameter?.accept(this)
                property.returnTypeRef.accept(this)
            }
    
            override fun visitReceiverParameter(receiverParameter: FirReceiverParameter) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:43 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  2. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/compilerFacility/AbstractCompilerFacilityTest.kt

                .sortedBy { it.path }
                .map { outputFile ->
                    val classReader = ClassReader(outputFile.content)
                    ClassNode(Opcodes.API_VERSION).also { classReader.accept(it, ClassReader.SKIP_CODE) }
                }
    
            val allClasses = classes.associateBy { Type.getObjectType(it.name) }
    
            return classes.joinToString("\n\n") { node ->
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

            val firStatements = computeStatements(statements)
    
            val collector = FirElementCollector()
            firStatements.forEach { it.accept(collector) }
    
            val firValuedReturnExpressions = collector.firReturnExpressions.filter { !it.result.resolvedType.isUnit }
    
            val defaultStatement = statements.last()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 14:04:46 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt

                    resolvedTypeRef.delegatedTypeRef?.accept(this)
                    super.visitTypeRef(resolvedTypeRef)
                }
    
                override fun visitErrorTypeRef(errorTypeRef: FirErrorTypeRef) {
                    processTypeRef(errorTypeRef)
                    processErrorTypeRef(errorTypeRef)
    
                    errorTypeRef.delegatedTypeRef?.accept(this)
                    super.visitErrorTypeRef(errorTypeRef)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

            function: FirSimpleFunction,
            other: FirLiteralExpression
        ): FirLiteralExpression? {
            if (value == null || other.value == null) return null
            // NB: some utils accept very general types, and due to the way operation map works, we should up-cast rhs type.
            val rightType = when {
                function.symbol.callableId.isStringEquals -> CompileTimeType.ANY
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

             * If a private property has no getter/setter (the typical situation for simple private properties without explicitly defined
             * getter/setter) then this method is not used at all. Instead
             * [org.jetbrains.kotlin.backend.jvm.lower.ReflectiveAccessLowering.visitGetField] (or visitSetField) generates the access without
             * asking.
             */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 08:42:45 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  7. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeInfoProvider.kt

         * mean one can assign `null` to a variable of this type because it may be unknown if this type can accept `null`. For example, a public value
         * of type `T:Any?` can potentially be null. But one can not assign `null` to such a variable because the instantiated type may not be
         * nullable.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  8. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/declarations/KotlinStandaloneDeclarationProvider.kt

                    .map { collectStubsFromBinaryRoot(it, binaryClassCache) }
                    .forEach { processCollectedStubs(it) }
            }
    
            sourceKtFiles.forEach { file ->
                file.accept(recorder)
            }
        }
    
        private fun indexStub(stub: StubElement<*>) {
            when (stub) {
                is KotlinClassStubImpl -> {
                    indexClassOrObject(stub.psi)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolution/KaCall.kt

    import org.jetbrains.kotlin.psi.KtExpression
    
    /**
     * A call to a function, a simple/compound access to a property, or a simple/compound access through `get` and `set` convention.
     */
    public sealed class KaCall : KaLifetimeOwner
    
    /**
     * A call to a function, or a simple/compound access to a property.
     */
    public sealed class KaCallableMemberCall<S : KaCallableSymbol, C : KaCallableSignature<S>> : KaCall() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/project/structure/StandaloneProjectFactory.kt

                }
            }
        }
    
        private fun registerProjectServices(project: MockProject) {
            // TODO: rewrite KtResolveExtensionProviderForTest to avoid KtResolveExtensionProvider access before initialized project
            @Suppress("UnstableApiUsage")
            CoreApplicationEnvironment.registerExtensionPoint(
                project.extensionArea,
                KaResolveExtensionProvider.EP_NAME.name,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 22:09:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
Back to top