- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 43 for Chen (0.06 sec)
-
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/testUtils.kt
@OptIn(KaAnalysisApiInternals::class) internal fun KaSession.stringRepresentation(any: Any?): String = with(any) { fun KaType.render() = toString().replace('/', '.') return when (this) { null -> "null" is KaFunctionLikeSymbol -> buildString { append( when (this@with) { is KaFunctionSymbol -> callableId ?: name is KaSamConstructorSymbol -> callableId ?: name
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 16:16:39 UTC 2024 - 15.3K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt
// Parentheses are ignored for this analysis. is KtParenthesizedExpression -> doesParentUseChild(parent.parent, parent) // When expressions use the subject expression _unless_ the first branch in the // when is an `else`. is KtWhenExpression -> parent.subjectExpression == child && parent.entries.firstOrNull()?.isElse == false
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 16:16:39 UTC 2024 - 17.6K bytes - Viewed (0) -
analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/diagnosticProvider/FirIdeNormalAnalysisSourceModuleCollectDiagnosticsTestGenerated.java
@TestMetadata("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when") @TestDataPath("$PROJECT_ROOT") public class When { @Test public void testAllFilesPresentInWhen() { KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/when"), Pattern.compile("^(.+)\\.kt$"), null, true); } @Test
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon Apr 29 19:19:13 UTC 2024 - 16.1K 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: KaSymbolKind get() { return when (this) { is PropertyAccessorDescriptor -> KaSymbolKind.ACCESSOR is SamConstructorDescriptor -> KaSymbolKind.SAM_CONSTRUCTOR else -> when (containingDeclaration) { is PackageFragmentDescriptor -> KaSymbolKind.TOP_LEVEL
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 33.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt
// getSymbol(ClassId) returns a symbol from the original file, so here we avoid using it return getContainingDeclarationByPsi(symbol) } } when (symbol) { is KaLocalVariableSymbol, is KaAnonymousFunctionSymbol, is KaAnonymousObjectSymbol, is KaDestructuringDeclarationSymbol -> {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 09:59:11 UTC 2024 - 13.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt
return DefaultExpressionInfo(defaultStatement, defaultConeType.toKtType()) } private fun computeOrdinaryDefaultType(defaultStatement: KtExpression, firDefaultStatement: FirElement): ConeKotlinType? { when (firDefaultStatement) { !is FirExpression, is FirJump<*>, is FirThrowExpression, is FirUnitExpression, is FirErrorExpression -> {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 14:04:46 UTC 2024 - 22.9K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtTypeProvider.kt
* * Note that for flexible types, both direct super types of the upper and lower bounds are returned. If that's not desirable, please * first call [KaFlexibleType.upperBound] or [KaFlexibleType.lowerBound] and then call this method. * * @param shouldApproximate whether to approximate non-denotable types. For example, super type of `List<out String>` is
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 11.4K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/KtSymbolProvider.kt
import org.jetbrains.kotlin.name.Name import org.jetbrains.kotlin.psi.* public abstract class KaSymbolProvider : KaSessionComponent() { public open fun getSymbol(psi: KtDeclaration): KaDeclarationSymbol = when (psi) { is KtParameter -> getParameterSymbol(psi) is KtNamedFunction -> getFunctionLikeSymbol(psi) is KtConstructor<*> -> getConstructorSymbol(psi) is KtTypeParameter -> getTypeParameterSymbol(psi)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu May 23 17:29:30 UTC 2024 - 10.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Jun 07 10:25:23 UTC 2024 - 16.4K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt
file: KtFile, configuration: CompilerConfiguration, target: KaCompilerTarget, allowedErrorFilter: (KaDiagnostic) -> Boolean ): KaCompilationResult { val classBuilderFactory = when (target) { is KaCompilerTarget.Jvm -> target.classBuilderFactory } val syntaxErrors = SyntaxErrorReportingVisitor(analysisSession.useSiteSession) { it.asKtDiagnostic() }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 08:42:45 UTC 2024 - 29.4K bytes - Viewed (0)