- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 37 for parenthesize (0.17 sec)
-
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/typeInfoProvider/AbstractIsDenotableTest.kt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 4.8K bytes - Viewed (0) -
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) -
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) -
src/internal/types/testdata/fixedbugs/issue48008.go
case chan T /* ERROR "cannot use generic type" */ : case T /* ERROR "cannot use generic type" */ , *T /* ERROR "cannot use generic type" */ : } } // Make sure a parenthesized nil is ok. func _(x interface{}) { switch x.(type) { case ((nil)), int: } } // Make sure we look for the predeclared nil. func _(x interface{}) { type nil int switch x.(type) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 1.4K bytes - Viewed (0) -
src/internal/types/testdata/check/decls2/decls2b.go
type T7 struct {} func (T7) m1() {} func ((T7)) m2() {} func ((*T7)) m3() {} func (x *(T7),) m4() {} func (x (*(T7)),) m5() {} func (x ((*((T7)))),) m6() {} // Check that methods with parenthesized receiver are actually present (issue #23130). var ( _ = T7.m1 _ = T7.m2 _ = (*T7).m3 _ = (*T7).m4 _ = (*T7).m5 _ = (*T7).m6
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 1.9K bytes - Viewed (0) -
src/go/types/errorcalls_test.go
case '(', '[', '{': stack = append(stack, byte(ch)) continue case ')': open = '(' case ']': open = '[' case '}': open = '{' default: continue } // closing parenthesis/bracket must have matching opening top := len(stack) - 1 if top < 0 || stack[top] != open { return false } stack = stack[:top] } return len(stack) == 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 15 21:57:36 UTC 2023 - 2.2K bytes - Viewed (0) -
src/cmd/asm/internal/lex/slice.go
func (s *Slice) Line() int { return s.line } func (s *Slice) Col() int { // TODO: Col is only called when defining a macro and all it cares about is increasing // position to discover whether there is a blank before the parenthesis. // We only get here if defining a macro inside a macro. // This imperfect implementation means we cannot tell the difference between // #define A #define B(x) x // and // #define A #define B (x) x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 29 22:49:50 UTC 2023 - 1.6K bytes - Viewed (0) -
src/regexp/syntax/simplify_test.go
// The empty string must be preserved inside parens in order // to make submatches work right, so these tests are less // interesting than they might otherwise be. String inserts // explicit (?:) in place of non-parenthesized empty strings, // to make them easier to spot for other parsers. {`(a|b|c|)`, `([a-c]|(?:))`}, {`(a|b|)`, `([ab]|(?:))`}, {`(|)`, `()`}, {`a()`, `a()`}, {`(()|())`, `(()|())`}, {`(a|)`, `(a|(?:))`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 16 16:02:30 UTC 2023 - 4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/errorcalls_test.go
case '(', '[', '{': stack = append(stack, byte(ch)) continue case ')': open = '(' case ']': open = '[' case '}': open = '{' default: continue } // closing parenthesis/bracket must have matching opening top := len(stack) - 1 if top < 0 || stack[top] != open { return false } stack = stack[:top] } return len(stack) == 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Dec 15 21:57:36 UTC 2023 - 2.2K bytes - Viewed (0) -
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)