Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 170 for substituted (0.18 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/signatures/KtFe10VariableLikeSignature.kt

        override fun substitute(substitutor: KaSubstitutor): KaVariableLikeSignature<S> = withValidityAssertion {
            KaFe10VariableLikeSignature(
                symbol,
                substitutor.substitute(returnType),
                receiverType?.let { substitutor.substitute(it) },
            )
        }
    
        override fun equals(other: Any?): Boolean {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/signatures/KtFirFunctionLikeSignature.kt

        }
    
        override fun substitute(substitutor: KaSubstitutor): KaFirFunctionLikeSignature<S> = withValidityAssertion {
            if (substitutor is KaSubstitutor.Empty) return@withValidityAssertion this
            require(substitutor is AbstractKaFirSubstitutor<*>)
    
            KaFirFunctionLikeSubstitutorBasedSignature(token, firSymbol, firSymbolBuilder, substitutor.substitutor)
        }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/substututorFactory/AbstractSubstitutorBuilderTest.kt

                val signatureAfterSubstitution = symbol.substitute(substitutor)
                prettyPrint {
                    appendLine("${KtDeclaration::class.simpleName}: ${declaration::class.simpleName}")
    
                    appendLine("Symbol:")
                    appendLine(symbol.render(KaDeclarationRendererForDebug.WITH_QUALIFIED_NAMES))
    
                    appendLine()
    
                    appendLine("Substitutor:")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/signatureSubstitution/AbstractAnalysisApiSymbolSubstitutionTest.kt

            val actual = analyseForTest(declaration) {
                val symbol = declaration.getSymbol() as KaCallableSymbol
    
                val substitutor = SubstitutionParser.parseSubstitutor(analysisSession, mainFile, declaration)
    
                val signature = symbol.substitute(substitutor)
                prettyPrint {
                    appendLine("${KtDeclaration::class.simpleName}: ${declaration::class.simpleName}")
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/signatureSubstitution/AbstractAnalysisApiSignatureSubstitutionTest.kt

                val symbol = declaration.getSymbol() as KaCallableSymbol
    
                val substitutor = SubstitutionParser.parseSubstitutor(analysisSession, mainFile, declaration)
    
                val signatureBeforeSubstitution = symbol.asSignature()
                val signatureAfterSubstitution = signatureBeforeSubstitution.substitute(substitutor)
                prettyPrint {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. subprojects/composite-builds/src/main/java/org/gradle/composite/internal/CompositeBuildDependencySubstitutions.java

            if (providingProjects.isEmpty()) {
                LOGGER.debug("Found no composite build substitute for module '{}'.", candidateId);
                return null;
            }
            if (providingProjects.size() == 1) {
                ProjectComponentIdentifier match = providingProjects.iterator().next();
                LOGGER.info("Found project '{}' as substitute for module '{}'.", match, candidateId);
                return match;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 23 10:37:35 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/gen_quantized_function_library.py

                                     'namespace in the generated file')
    
    flags.mark_flags_as_required(['output_file', 'src'])
    
    
    def _substitute_for_loop_template(module: str) -> str:
      """Substitutes the for loop templates in the given module."""
      compiled_regex = re.compile(
          r'^\s*for\s(.*?)\sin\s(\[.*?\])\s\{(.*?)\}\s//\send\sfor\n',
          re.MULTILINE | re.DOTALL)
      while True:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 20 01:38:06 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  8. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/signatures/KtVariableLikeSignature.kt

                val nameCanBeDeclaredInAnnotation = symbol.psi == null
    
                runIf(nameCanBeDeclaredInAnnotation) { getValueFromParameterNameAnnotation() } ?: symbol.name
            }
    
        abstract override fun substitute(substitutor: KaSubstitutor): KaVariableLikeSignature<S>
    
        private fun getValueFromParameterNameAnnotation(): Name? {
            val resultingAnnotation = findParameterNameAnnotation() ?: return null
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/lex/lex.go

    type Token struct {
    	ScanToken
    	text string
    }
    
    // Make returns a Token with the given rune (ScanToken) and text representation.
    func Make(token ScanToken, text string) Token {
    	// Substitute the substitutes for . and /.
    	text = strings.ReplaceAll(text, "\u00B7", ".")
    	text = strings.ReplaceAll(text, "\u2215", "/")
    	return Token{ScanToken: token, text: text}
    }
    
    func (l Token) String() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirSubstitutor.kt

    }
    
    internal class KaFirGenericSubstitutor(
        substitutor: ConeSubstitutor,
        builder: KaSymbolByFirBuilder,
    ) : AbstractKaFirSubstitutor<ConeSubstitutor>(substitutor, builder)
    
    @OptIn(KaAnalysisApiInternals::class)
    internal class KaFirMapBackedSubstitutor(
        substitutor: ConeSubstitutorByMap,
        builder: KaSymbolByFirBuilder,
    ) : AbstractKaFirSubstitutor<ConeSubstitutorByMap>(substitutor, builder,), KaMapBackedSubstitutor {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top