Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for TextRange (0.18 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

    private inline fun <reified T : KtElement> KtFile.findSmallestElementOfTypeContainingSelection(selection: TextRange): T? =
        findElementAt(selection.startOffset)
            ?.parentsOfType<T>(withSelf = true)
            ?.firstOrNull { selection in it.textRange }
    
    /**
     * How a symbol is imported. The order of the enum entry represents the priority of imports. If a symbol is available from multiple kinds of
    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)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtAbstractFirDiagnostic.kt

     * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
     */
    
    package org.jetbrains.kotlin.analysis.api.fir.diagnostics
    
    import com.intellij.openapi.util.TextRange
    import com.intellij.psi.PsiElement
    import org.jetbrains.kotlin.analysis.api.lifetime.KtLifetimeOwner
    import org.jetbrains.kotlin.analysis.api.diagnostics.KtDiagnosticWithPsi
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue May 23 19:24:02 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ReferenceShortener.kt

     * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
     */
    
    package org.jetbrains.kotlin.analysis.api.descriptors.components
    
    import com.intellij.openapi.util.TextRange
    import com.intellij.psi.SmartPointerManager
    import com.intellij.psi.SmartPsiElementPointer
    import org.jetbrains.kotlin.analysis.api.components.*
    import org.jetbrains.kotlin.analysis.api.descriptors.KtFe10AnalysisSession
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Nov 20 20:18:18 GMT 2023
    - 2.4K bytes
    - Viewed (0)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10DiagnosticProvider.kt

     * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
     */
    
    package org.jetbrains.kotlin.analysis.api.descriptors.components
    
    import com.intellij.openapi.util.TextRange
    import com.intellij.psi.PsiElement
    import org.jetbrains.kotlin.analysis.api.components.KtDiagnosticCheckerFilter
    import org.jetbrains.kotlin.analysis.api.components.KtDiagnosticProvider
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Wed Jun 22 07:31:36 GMT 2022
    - 3.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/TreeRangeSet.java

              }
              Range<C> nextRange = completeRangeItr.next();
              if (restriction.lowerBound.compareTo(nextRange.upperBound) >= 0) {
                return endOfData();
              }
              nextRange = nextRange.intersection(restriction);
              if (lowerBoundWindow.contains(nextRange.lowerBound)) {
                return Maps.immutableEntry(nextRange.lowerBound, nextRange);
              } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 32.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableRangeSet.java

            while (peekingItr.hasNext()) {
              Range<C> nextRange = peekingItr.peek();
              if (range.isConnected(nextRange)) {
                checkArgument(
                    range.intersection(nextRange).isEmpty(),
                    "Overlapping ranges not permitted but found %s overlapping %s",
                    range,
                    nextRange);
                range = range.span(peekingItr.next());
              } else {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

            while (peekingItr.hasNext()) {
              Range<C> nextRange = peekingItr.peek();
              if (range.isConnected(nextRange)) {
                checkArgument(
                    range.intersection(nextRange).isEmpty(),
                    "Overlapping ranges not permitted but found %s overlapping %s",
                    range,
                    nextRange);
                range = range.span(peekingItr.next());
              } else {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
Back to top