- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for Hare (0.16 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt
// Type parameters, return types and other annotations are all contained in KtUserType, // and are never considered used as expressions is KtUserType -> false // Only top-level named declarations have KtFile/KtScript Parents, and are never considered used is KtFile -> false is KtScript ->
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Feb 12 20:38:23 GMT 2024 - 17.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt
append("(") if (method.containingClass?.isEnum == true && method.isConstructor) { // Enum constructors are represented without name/ordinal in light classes, which seems fine because they don't have name/ordinal // in Java sources as well, even though the parameters are there in the bytecode. Since metadata stores JVM signatures, we're // adding the name/ordinal parameters manually.
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Mar 26 09:19:07 GMT 2024 - 10K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt
} else null } } val unavailableLocalTypes = localTypes.filterNot { it.isLocalButAvailableAtPosition(session, useSitePosition) } // Need to approximate if there are local types that are not available in this scope return localTypes.isNotEmpty() && unavailableLocalTypes.isNotEmpty() } // Mimic FirDeclaration.visibilityForApproximation
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 12 13:29:57 GMT 2024 - 18.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtFirAnalysisSessionProvider.kt
import org.jetbrains.kotlin.psi.KtElement import java.util.concurrent.ConcurrentMap import kotlin.reflect.KClass /** * [KtFirAnalysisSessionProvider] keeps [KtFirAnalysisSession]s in a cache, which are actively invalidated with their associated underlying * [LLFirSession][org.jetbrains.kotlin.analysis.low.level.api.fir.sessions.LLFirSession]s. */
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 18 10:43:08 GMT 2024 - 5.1K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt
candidates.flatMap { candidate -> // The current BindingContext does not have the diagnostics for each individual candidate, only for the resolved call. // If there are multiple candidates, we can get each one's diagnostics by reporting it to a new BindingTrace. val candidateTrace = DelegatingBindingTrace(this, "Trace for candidate", withParentDiagnostics = false)
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Mon Apr 29 12:48:54 GMT 2024 - 34.8K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt
import org.jetbrains.kotlin.types.ConstantValueKind /** * An evaluator that transform numeric operation, such as div, into compile-time constant iff involved operands, such as explicit receiver * and the argument, are compile-time constant as well. */ internal object FirCompileTimeConstantEvaluator { // TODO: Handle boolean operators, class reference, array, annotation values, etc. fun evaluate( fir: FirElement?,
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Mar 20 14:53:27 GMT 2024 - 16.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt
* * In such case, [FirQualifiedAccessExpression] representing the call references * the original `Base.bar` callable symbol instead of `MyObject.bar`, because there are * no separate symbol for that case. * * Java statics present a similar case - they can be imported not only from the declaring class, * but also from any subclass.
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Apr 19 11:06:47 GMT 2024 - 24.2K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt
override val token: KtLifetimeToken, ) : KtExpressionTypeProvider(), KtFirAnalysisSessionComponent { override fun getKtExpressionType(expression: KtExpression): KtType? { // There are various cases where we have no corresponding fir due to invalid code // Some examples: // ``` // when { // true, false -> {} // } // ```
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Mar 26 18:13:17 GMT 2024 - 24.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtFirAnalysisSession.kt
buildSet { // Add an empty scope to the shadowed set to give GlobalSearchScope.union something // to work with if there are no extension tools. // If there are extension tools, any empty scopes, whether from shadowedSearchScope // on the extension tools or from this add() call, will be ignored. add(GlobalSearchScope.EMPTY_SCOPE)
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 18 10:43:08 GMT 2024 - 9.4K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt
typeProjection.type.hasReferenceOtherThan(allowedTypeParameterDescriptors) } } } /** * Use-site substitution override are tracked through [CallableDescriptor.getOriginal]. Note that overridden symbols are accessed through * [CallableDescriptor.getOverriddenDescriptors] instead, which is separate from [CallableDescriptor.getOriginal]. */ @Suppress("UNCHECKED_CAST")
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 07:15:56 GMT 2024 - 33.2K bytes - Viewed (0)