Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for substitutetype (0.16 sec)

  1. src/cmd/link/internal/ld/dwarf.go

    }
    
    // Search children (assumed to have TAG_member) for the one named
    // field and set its AT_type to dwtype
    func (d *dwctxt) substitutetype(structdie *dwarf.DWDie, field string, dwtype loader.Sym) {
    	child := findchild(structdie, field)
    	if child == nil {
    		Exitf("dwarf substitutetype: %s does not have member %s",
    			getattr(structdie, dwarf.DW_AT_name).Data, field)
    		return
    	}
    
    	a := getattr(child, dwarf.DW_AT_type)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

            require(type is KaFirType)
            val coneType = type.coneType
            val substitutor = EnhancedForWarningConeSubstitutor(typeContext)
            val enhancedConeType = substitutor.substituteType(coneType)
    
            return enhancedConeType?.asKtType()
        }
    
        override fun buildSelfClassType(symbol: KaNamedClassOrObjectSymbol): KaType {
            require(symbol is KaFirNamedClassOrObjectSymbol)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 10:25:23 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

    private class AnonymousTypesSubstitutor(
        private val session: FirSession,
    ) : AbstractConeSubstitutor(session.typeContext) {
        override fun substituteType(type: ConeKotlinType): ConeKotlinType? {
            if (type !is ConeClassLikeType) return null
    
            val hasStableName = type.classId?.isLocal == true
            if (!hasStableName) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

            val setTargetParameterType = fir.argumentsToSubstitutedValueParameters()?.values?.lastOrNull()?.substitutedType ?: return null
            return setTargetParameterType.asKtType()
        }
    
        private data class SubstitutedValueParameter(val parameter: FirValueParameter, val substitutedType: ConeKotlinType)
    
        private fun FirCall.argumentsToSubstitutedValueParameters(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 24.4K bytes
    - Viewed (0)
Back to top