Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,077 for declarartion (0.3 sec)

  1. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestVerificationFailureHandlingIntegrationTest.groovy

                }
            '''
        }
    
        /**
         * Helper method to setup a custom task wired to the test in two ways:
         * <ol>
         *     <li>A direct dependency via dependsOn declarartion</li>
         *     <li>Via Test#binaryResultsDirectory output wired to customTask#customInput</li>
         * </ol>
         *
         * This intentional redundancy is to test automatic exclusion of direct dependsOn relationships.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  2. src/go/printer/testdata/declarations.input

    // bother setting up test-ASTs manually)
    import (
    	`fmt`
    	"math"
    )
    
    // at least one empty line between declarations of different kind
    import _ "io"
    var _ int
    
    // at least one empty line between declarations of the same kind
    // if there is associated documentation (was issue 2570)
    type T1 struct{}
    // T2 comment
    type T2 struct {
    } // should be a two-line struct
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 13 22:24:31 UTC 2021
    - 16.5K bytes
    - Viewed (0)
  3. src/go/printer/testdata/declarations.golden

    // bother setting up test-ASTs manually)
    import (
    	"fmt"
    	"math"
    )
    
    // at least one empty line between declarations of different kind
    import _ "io"
    
    var _ int
    
    // at least one empty line between declarations of the same kind
    // if there is associated documentation (was issue 2570)
    type T1 struct{}
    
    // T2 comment
    type T2 struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 13 22:24:31 UTC 2021
    - 16.2K bytes
    - Viewed (0)
  4. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinForwardDeclarationProviderFactory.kt

        /**
         * Create a Kotlin/Native declaration provider for [ktModule].
         *
         * Generally, only Kotlin/Native KLIB libraries can declare forward declarations.
         * For other types of [KtModule]s the provider normally shouldn't be created.
         *
         * @return a declaration provider for [ktModule] or `null` if the module cannot contain forward declarations
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinDeclarationProviderFactory.kt

        }
    }
    
    /**
     * While the main declaration provider created via [createDeclarationProvider] is scope-based, there are other declaration providers which
     * are not, such as file-based declaration providers. Not all declarations provided by such declaration providers can be provided by the
     * main declaration provider, even if the correct scope is provided (such as a file-based scope). For example, the main declaration provider
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinFileBasedDeclarationProvider.kt

            if (kotlinFile.packageFqName != packageFqName) {
                return emptyList()
            }
    
            return buildList {
                for (declaration in topLevelDeclarations) {
                    if (declaration is T && declaration.nameAsName == name) {
                        add(declaration)
                    }
                }
            }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/scopes/KtFe10FileScope.kt

            val context = analysisContext.analyze(ktFile)
    
            sequence {
                for (declaration in ktFile.declarations) {
                    if (declaration is KtCallableDeclaration) {
                        val descriptor = context[BindingContext.DECLARATION_TO_DESCRIPTOR, declaration] as? CallableDescriptor ?: continue
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/qualifiers/UsualClassTypeQualifierBuilder.kt

        private fun collectDesignationPathForLocal(declaration: FirClassLikeDeclaration): List<FirClassLikeDeclaration> {
            checkWithAttachment(
                declaration.isLocal,
                message = { "${declaration::class} is not local" }
            ) {
                withFirEntry("firDeclaration", declaration)
            }
            return when (declaration) {
                is FirAnonymousObject -> listOf(declaration)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/pointers/FirCallableSignature.kt

        private val returnType: String,
    ) {
        fun hasTheSameSignature(declaration: FirCallableSymbol<*>): Boolean = hasTheSameSignature(declaration.fir)
    
        fun hasTheSameSignature(declaration: FirCallableDeclaration): Boolean {
            if ((receiverType == null) != (declaration.receiverParameter == null)) return false
            if (contextReceiverTypes.size != declaration.contextReceivers.size) return false
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:06 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/symbolDeclarationRenderer/AbstractRendererTest.kt

                    }
                }
            }
    
            val actual = executeOnPooledThreadInReadAction {
                buildString {
                    mainFile.declarations.forEach { declaration ->
                        analyseForTest(declaration) {
                            append(declaration.getSymbol().render(renderer))
                            appendLine()
                            appendLine()
                        }
                    }
                }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top