Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for parenthesize (0.31 sec)

  1. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    		c.To.goString(indent+2, "To: "))
    }
    
    func (c *Cast) prec() precedence {
    	return precCast
    }
    
    // The parenthesize function prints the string for val, wrapped in
    // parentheses if necessary.
    func parenthesize(ps *printState, val AST) {
    	paren := false
    	switch v := val.(type) {
    	case *Name, *InitializerList:
    	case *FunctionParam:
    		if ps.llvmStyle {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/parser.go

    			// *(T)
    			p.syntaxError("cannot parenthesize embedded type")
    			p.next()
    			typ = p.qualifiedName(nil)
    			p.got(_Rparen) // no need to complain if missing
    		} else {
    			// *T
    			typ = p.qualifiedName(nil)
    		}
    		tag := p.oliteral()
    		p.addField(styp, pos, nil, newIndirect(pos, typ), tag)
    
    	case _Lparen:
    		p.syntaxError("cannot parenthesize embedded type")
    		p.next()
    		var typ Expr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  3. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/parenthesis.kt

    Anna Kozlova <******@****.***> 1717492092 +0200
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 14:04:46 UTC 2024
    - 127 bytes
    - Viewed (0)
  4. analysis/analysis-api/testData/components/dataFlowInfoProvider/exitPointSnapshot/controlFlow/parenthesis.txt

    Anna Kozlova <******@****.***> 1717492092 +0200
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 14:04:46 UTC 2024
    - 342 bytes
    - Viewed (0)
  5. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/typeInfoProvider/AbstractIsDenotableTest.kt

                            // ```
                            // smart cast is available for `(@Denotable("...") a)` and not for `a` or `@Denotable("...") a`.
                            val ktType = if (parent != null && deparenthesize(parent.receiverExpression) == deparenthesize(base)) {
                                parent.receiverExpression.getKaType()
                            } else {
                                expression.getKaType()
                            }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/GrammarToTree.kt

                PREFIX_EXPRESSION -> tree.unsupported(node, UnsupportedLanguageFeature.PrefixExpression)
                OPERATION_REFERENCE -> tree.unsupported(node, UnsupportedLanguageFeature.UnsupportedOperator)
                PARENTHESIZED -> parenthesized(tree, node)
                LAMBDA_EXPRESSION -> tree.unsupported(node, UnsupportedLanguageFeature.FunctionDeclaration)
                THIS_EXPRESSION -> Element(This(tree.sourceData(node)))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/components/KaAbstractResolver.kt

            val safeQualifiedExpression = parentOfType<KtSafeQualifiedExpression>() ?: return false
            return KtPsiUtil.deparenthesize(safeQualifiedExpression.receiverExpression) == KtPsiUtil.deparenthesize(this)
        }
    
        protected fun canBeResolvedAsCall(ktElement: KtElement): Boolean = when (ktElement) {
            is KtBinaryExpression -> ktElement.operationToken !in nonCallBinaryOperator
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/LightTreeUtil.kt

    import org.jetbrains.kotlin.KtNodeTypes.FUNCTION_LITERAL
    import org.jetbrains.kotlin.KtNodeTypes.LAMBDA_ARGUMENT
    import org.jetbrains.kotlin.KtNodeTypes.LAMBDA_EXPRESSION
    import org.jetbrains.kotlin.KtNodeTypes.PARENTHESIZED
    import org.jetbrains.kotlin.KtNodeTypes.SCRIPT
    import org.jetbrains.kotlin.com.intellij.lang.LighterASTNode
    import org.jetbrains.kotlin.com.intellij.lang.impl.PsiBuilderImpl
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:09 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KaFirResolver.kt

            if (this !is KtExpression) return null
            val calleeExpression = deparenthesize(this) ?: return null
            if (calleeExpression is KtCallExpression) return null
            val callExpression = parentOfType<KtCallExpression>() ?: return null
            if (deparenthesize(callExpression.calleeExpression) != calleeExpression) return null
            return callExpression
        }
    
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 73K bytes
    - Viewed (0)
  10. src/strconv/atoc.go

    // component. If the second N is unsigned, a + sign is required between the two components
    // as indicated by the ±. If the second N is NaN, only a + sign is accepted.
    // The form may be parenthesized and cannot contain any spaces.
    // The resulting complex number consists of the two components converted by ParseFloat.
    //
    // The errors that ParseComplex returns have concrete type [*NumError]
    // and include err.Num = s.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 05 00:24:26 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top