Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 109 for Expression (0.3 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

                type.isULong -> KtConstantValue.KtUnsignedLongConstantValue((value as Number).toLong().toULong(), expression)
                type.isString -> KtConstantValue.KtStringConstantValue(value.toString(), expression)
                type.isFloat -> KtConstantValue.KtFloatConstantValue((value as Number).toFloat(), expression)
                type.isDouble -> KtConstantValue.KtDoubleConstantValue((value as Number).toDouble(), expression)
                else -> null
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

        private fun getExpressionTypeByIfOrBooleanCondition(expression: PsiElement): KtType? = when {
            expression.isWhileLoopCondition() || expression.isIfCondition() -> with(analysisSession) { builtinTypes.BOOLEAN }
            else -> null
        }
    
        private fun getExpectedTypeByVariableAssignment(expression: PsiElement): KtType? {
            // Given: `x = expression`
            // Expected type of `expression` is type of `x`
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 18:13:17 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            // call entry and if so we resolve the constructor callee expression.
            val userType = expression.parent as? KtUserType ?: return expression
            val typeReference = userType.parent as? KtTypeReference ?: return expression
            val constructorCalleeExpression = typeReference.parent as? KtConstructorCalleeExpression ?: 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)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

            patchIfNeeded(expression.symbol) { expression.symbol = it }
            patchIfNeeded(expression.getter) { expression.getter = it }
            patchIfNeeded(expression.setter) { expression.setter = it }
            super.visitPropertyReference(expression)
        }
    
        override fun visitFunctionReference(expression: IrFunctionReference) {
            patchIfNeeded(expression.symbol) { expression.symbol = it }
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 32.2K bytes
    - Viewed (1)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

            public Object getValue(String expression) {
                Object value = valueSource.getValue(expression);
    
                if (value != null && expression.startsWith(bannedPrefix)) {
                    String msg = "The expression ${" + expression + "} is deprecated.";
                    if (newPrefix != null && !newPrefix.isEmpty()) {
                        msg += " Please use ${" + newPrefix + expression.substring(bannedPrefix.length()) + "} instead.";
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

      // 	  "import", "let", "loop", "package", "namespace", "return".
      // Examples:
      //   - Expression accessing a property named "namespace": {"Expression": "object.__namespace__ > 0"}
      //   - Expression accessing a property named "x-prop": {"Expression": "object.x__dash__prop > 0"}
      //   - Expression accessing a property named "redact__d": {"Expression": "object.redact__underscores__d > 0"}
      //
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                        filters.add(new HighestVersionFilter(num));
                    } else if ("l".equals(expression)) {
                        filters.add(new LowestVersionFilter());
                    } else if (expression.startsWith("l(") && expression.endsWith(")")) {
                        int num = Integer.parseInt(expression.substring(2, expression.length() - 1));
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Preconditions.java

      private interface Impossible {}
    
      /**
       * Ensures the truth of an expression involving one or more parameters to the calling method.
       *
       * @param expression a boolean expression
       * @throws IllegalArgumentException if {@code expression} is false
       */
      public static void checkArgument(boolean expression) {
        if (!expression) {
          throw new IllegalArgumentException();
        }
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseExpectedKeyword: {
    		Code:           "ParseExpectedKeyword",
    		Description:    "Did not find the expected keyword in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseExpectedTokenType: {
    		Code:           "ParseExpectedTokenType",
    		Description:    "Did not find the expected token in the SQL expression.",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  10. clause/where_test.go

    				Exprs: []clause.Expression{clause.Or(clause.Neq{Column: "name", Value: "jinzhu"}), clause.Eq{Column: clause.PrimaryColumn, Value: "1"}, clause.Gt{Column: "age", Value: 18}},
    			}},
    			"SELECT * FROM `users` WHERE `users`.`id` = ? OR `name` <> ? AND `age` > ?",
    			[]interface{}{"1", "jinzhu", 18},
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Where{
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 6.2K bytes
    - Viewed (0)
Back to top