Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for secondary (0.2 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            //
            // For the example:
            //
            // class A {
            //   constructor()
            // }
            // class B: <caret>A()
            //
            // We want to resolve to the secondary constructor in A. Therefore, we check that the caret is at a supertype
            // call entry and if so we resolve the constructor callee expression.
            val userType = expression.parent as? KtUserType ?: return expression
    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)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                    false
    
                // no child expressions of primary constructors.
                is KtPrimaryConstructor ->
                    false // error?
                // no children of secondary constructs are used.
                is KtSecondaryConstructor ->
                    false
    
                // KtClass, KtObjectDeclaration, KtTypeAlias has no expression children
                is KtClassLikeDeclaration ->
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Feb 12 20:38:23 GMT 2024
    - 17.6K bytes
    - Viewed (0)
Back to top