- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 30 for access (0.15 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt
script.declarations.forEach { it.accept(this) } } override fun visitElement(element: FirElement) { element.acceptChildren(this) } override fun visitErrorTypeRef(errorTypeRef: FirErrorTypeRef) { visitResolvedTypeRef(errorTypeRef) errorTypeRef.partiallyResolvedTypeRef?.accept(this) }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 18:51:33 GMT 2024 - 69.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt
// When the source of an `FirResolvedQualifier` is a KtDotQualifiedExpression, we need to manually break up the qualified access and // resolve individual parts of it because in FIR, the entire qualified access is one element. if (referencedClass.isLocal) { // TODO: handle local classes after KT-47135 is fixed return referencedSymbolsByFir
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Apr 15 10:59:01 GMT 2024 - 37.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSamResolver.kt
) { private val scopeSession = analysisSession.getScopeSessionFor(firSession) // TODO: This transformer is not intended for actual transformations and // created here only to simplify access to SAM resolver in body resolve components private val stubBodyResolveTransformer = object : FirBodyResolveTransformer( session = firSession, phase = FirResolvePhase.BODY_RESOLVE,
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt
// and the only FIR that we have for that PSI is an implicit invoke call, that means that // `Foo.Bar` is definitely not a property access - otherwise it would have had its own FIR. // So, it does not make sense to try to resolve such parts of qualifiers as KtCall if ((psi as? KtExpression)?.getPossiblyQualifiedCallExpression() == null) {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 18:05:58 GMT 2024 - 70.8K bytes - Viewed (1) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/ValidityAwareCachedValue.kt
import org.jetbrains.kotlin.analysis.api.lifetime.assertIsValidAndAccessible import kotlin.properties.ReadOnlyProperty import kotlin.reflect.KProperty /** * Lazy value that guaranties safe publication and checks validity on every access */ internal class ValidityAwareCachedValue<T>( private val token: KtLifetimeToken, init: () -> T ) : ReadOnlyProperty<Any, T> { private val lazyValue = lazy(LazyThreadSafetyMode.PUBLICATION, init)
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Mon Aug 15 09:04:58 GMT 2022 - 1.1K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt
} add(FirErrors.CANNOT_WEAKEN_ACCESS_PRIVILEGE) { firDiagnostic -> CannotWeakenAccessPrivilegeImpl( firDiagnostic.a, firSymbolBuilder.callableBuilder.buildCallableSymbol(firDiagnostic.b), firDiagnostic.c, firDiagnostic as KtPsiDiagnostic, token, ) } add(FirErrors.CANNOT_WEAKEN_ACCESS_PRIVILEGE_WARNING) { firDiagnostic ->
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Apr 24 09:49:26 GMT 2024 - 208.3K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/contracts/firContractUtils.kt
callsEffect.valueParameterReference.accept(), callsEffect.kind ) override fun visitLogicalBinaryOperationContractExpression( binaryLogicExpression: ConeBinaryLogicExpression, data: Unit ): KtContractBinaryLogicExpression = KtContractBinaryLogicExpression( binaryLogicExpression.left.accept(), binaryLogicExpression.right.accept(), when (binaryLogicExpression.kind) {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Jul 26 14:29:20 GMT 2023 - 7K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/InlineFunctionAnalyzer.kt
nextInlineFunctions.add(declaration) } } val propertyAccessor = InlineDelegatedPropertyAccessorsAnalyzer(analysisContext, collector) element.accept(object : KtTreeVisitorVoid() { override fun visitExpression(expression: KtExpression) { super.visitExpression(expression) val bindingContext = analysisContext.analyze(expression)
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Aug 29 23:55:31 GMT 2023 - 5.1K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CompileTimeConstantProvider.kt
if (mode == KtConstantEvaluationMode.CONSTANT_EXPRESSION_EVALUATION) { // TODO: how to _not_ evaluate expressions with a compilation error, e.g., uninitialized property access if (constant?.usesNonConstValAsConstant == true) return null } return constant?.toConstantValue(TypeUtils.NO_EXPECTED_TYPE)?.toKtConstantValue() }
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Tue Mar 28 08:17:37 GMT 2023 - 2.6K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt
import org.jetbrains.kotlin.types.error.ErrorUtils internal val MemberDescriptor.ktSymbolKind: KtSymbolKind get() { return when (this) { is PropertyAccessorDescriptor -> KtSymbolKind.ACCESSOR is SamConstructorDescriptor -> KtSymbolKind.SAM_CONSTRUCTOR else -> when (containingDeclaration) { is PackageFragmentDescriptor -> KtSymbolKind.TOP_LEVEL
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)