Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for transformer (0.26 sec)

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

                }
        }
    
    private inline fun List<FirAnnotation>.mapIndexedToAnnotationApplication(
        useSiteTargetFilter: AnnotationUseSiteTargetFilter,
        useSiteSession: FirSession,
        classId: ClassId,
        transformer: (index: Int, annotation: FirAnnotation) -> KtAnnotationApplicationWithArgumentsInfo?,
    ): List<KtAnnotationApplicationWithArgumentsInfo> = mapIndexedNotNull { index, annotation ->
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/annotations/KtFe10AnnotationsList.kt

                    return@mapIndexedNotNull null
                }
    
                annotation.toKtAnnotationApplication(analysisContext, index)
            }
        }
    
        private fun <T> mapNotIgnoredAnnotationsWithIndex(transformer: (index: Int, annotation: AnnotationDescriptor) -> T?): List<T> {
            var ignoredAnnotationsCounter = 0
            return fe10Annotations.mapIndexedNotNull { index, annotation ->
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSamResolver.kt

    import org.jetbrains.kotlin.fir.declarations.FirSimpleFunction
    import org.jetbrains.kotlin.fir.resolve.ScopeSession
    import org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirAbstractBodyResolveTransformer
    import org.jetbrains.kotlin.fir.resolve.transformers.body.resolve.FirBodyResolveTransformer
    
    internal class KtFirSamResolver(
        override val analysisSession: KtFirAnalysisSession,
        override val token: KtLifetimeToken,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu May 12 14:15:14 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  4. architecture-standards/0003-avoid-introducing-Groovy-types-to-public-api.md

    Existing Groovy methods will not be removed immediately.
    
    ## Status
    
    ACCEPTED
    
    ## Consequences
    
    * If we would have used `Closure`, we must instead use `Action<T>`, `Spec<T>`, `Callable<T>`, or `Transformer<OUT, IN>`.
    * We need to ensure all APIs that are exposed in the Groovy DSL go through runtime decoration.
    Runtime decoration mixes in methods that use Groovy Closures to maintain consistent behavior in Groovy DSL.
    Plain Text
    - Registered: Wed Feb 14 11:36:15 GMT 2024
    - Last Modified: Wed Jan 31 14:32:10 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  5. architecture/standards/0003-avoid-introducing-Groovy-types-to-public-api.md

    Existing Groovy methods will not be removed immediately.
    
    ## Status
    
    ACCEPTED
    
    ## Consequences
    
    * If we would have used `Closure`, we must instead use `Action<T>`, `Spec<T>`, `Callable<T>`, or `Transformer<OUT, IN>`.
    * We need to ensure all APIs that are exposed in the Groovy DSL go through runtime decoration.
    Runtime decoration mixes in methods that use Groovy Closures to maintain consistent behavior in Groovy DSL.
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sun Mar 10 20:38:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  6. ChangeLog.md

    - [`KT-59342`](https://youtrack.jetbrains.com/issue/KT-59342) K2 IDE. FirLazyResolveContractViolationException: `lazyResolveToPhase(TYPES)` cannot be called from a transformer with a phase TYPES
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Dec 21 17:48:12 GMT 2023
    - 268.7K bytes
    - Viewed (1)
  7. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt

        if (cachesDir.isDirectory) {
            cachesDir.listFiles()
                .filter { it.isDirectory && it.name.startsWith("transforms-") }
                .forEach { transformDir ->
                    logger.lifecycle("Removing transforms directory : $transformDir")
                    delete { delete(transformDir) }
                }
        }
    }
    
    
    private
    val scriptCacheDirNames =
        // TODO Remove gradle-kotlin-dsl* after a while
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 08 12:45:57 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  8. docs/lambda/README.md

    		original_object = r.content.decode('utf-8')
    
    		# Transform all text in the original object to uppercase
    		# You can replace it with your custom code based on your use case
    		transformed_object = original_object.upper()
    
    		# Write object back to S3 Object Lambda
    		# response sends the transformed data
    		# back to MinIO and then to the user
    		resp = make_response(transformed_object, 200)
    		resp.headers['x-amz-request-route'] = request_route
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 04 19:15:28 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt

    import org.gradle.api.artifacts.transform.TransformAction
    import org.gradle.api.artifacts.transform.TransformOutputs
    import org.gradle.api.artifacts.transform.TransformParameters
    import org.gradle.api.file.FileSystemLocation
    import org.gradle.api.provider.Provider
    import org.gradle.api.tasks.Input
    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    import java.io.BufferedOutputStream
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  10. build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts

            }
            /*
             * This transform exists solely to shrink the size of the fastutil jar from 25MB to 1.7MB.
             * The keys to the map parameter are used as the names of the files to which to apply the transform - there is only one entry.
             * It would perhaps be better to do this more selectively instead of applying this transform so broadly and having
             * it just no-op in most cases.
             */
    Plain Text
    - Registered: Wed May 08 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.2K bytes
    - Viewed (0)
Back to top