Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for openScope (0.13 sec)

  1. src/go/parser/resolver.go

    			if n.Init != nil {
    				r.openScope(n.Tag.Pos())
    				defer r.closeScope()
    			}
    			ast.Walk(r, n.Tag)
    		}
    		if n.Body != nil {
    			r.walkStmts(n.Body.List)
    		}
    
    	case *ast.TypeSwitchStmt:
    		if n.Init != nil {
    			r.openScope(n.Pos())
    			defer r.closeScope()
    			ast.Walk(r, n.Init)
    		}
    		r.openScope(n.Assign.Pos())
    		defer r.closeScope()
    		ast.Walk(r, n.Assign)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/BiProvider.java

            return String.format("and(%s, %s)", left, right);
        }
    
        @Override
        public boolean calculatePresence(ValueConsumer consumer) {
            try (EvaluationContext.ScopeContext ignored = openScope()) {
                if (!left.calculatePresence(consumer) || !right.calculatePresence(consumer)) {
                    return false;
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/OrElseProvider.java

        @Override
        public ValueProducer getProducer() {
            try (EvaluationContext.ScopeContext context = openScope()) {
                return new OrElseValueProducer(context, left, right);
            }
        }
    
        @Override
        public boolean calculatePresence(ValueConsumer consumer) {
            try (EvaluationContext.ScopeContext ignored = openScope()) {
                return left.calculatePresence(consumer) || right.calculatePresence(consumer);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:42 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/FlatMapProvider.java

            try (EvaluationContext.ScopeContext context = openScope()) {
                return backingProvider(context, consumer).calculatePresence(consumer);
            }
        }
    
        @Override
        protected Value<? extends S> calculateOwnValue(ValueConsumer consumer) {
            try (EvaluationContext.ScopeContext context = openScope()) {
                Value<? extends T> value = provider.calculateValue(consumer);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractProperty.java

            try (EvaluationContext.ScopeContext context = openScope()) {
                beforeReadNoProducer(context, consumer);
                return doCalculateValue(context, consumer);
            }
        }
    
        @Override
        protected Value<? extends T> calculateOwnValue(ValueConsumer consumer) {
            try (EvaluationContext.ScopeContext context = openScope()) {
                beforeRead(context, consumer);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:54 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/OrElseFixedValueProvider.java

        public ValueProducer getProducer() {
            try (EvaluationContext.ScopeContext context = openScope()) {
                return new OrElseValueProducer(context, provider);
            }
        }
    
        @Override
        public ExecutionTimeValue<? extends T> calculateExecutionTimeValue() {
            try (EvaluationContext.ScopeContext ignored = openScope()) {
                ExecutionTimeValue<? extends T> value = provider.calculateExecutionTimeValue();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:42 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/FilteringProvider.java

        @Override
        public ValueProducer getProducer() {
            try (EvaluationContext.ScopeContext ignored = openScope()) {
                return provider.getProducer();
            }
        }
    
        @Override
        public ExecutionTimeValue<? extends T> calculateExecutionTimeValue() {
            try (EvaluationContext.ScopeContext context = openScope()) {
                ExecutionTimeValue<? extends T> value = provider.calculateExecutionTimeValue();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/TransformBackedProvider.java

        @Override
        public ValueProducer getProducer() {
            try (EvaluationContext.ScopeContext ignored = openScope()) {
                return provider.getProducer();
            }
        }
    
        @Override
        public ExecutionTimeValue<? extends OUT> calculateExecutionTimeValue() {
            try (EvaluationContext.ScopeContext context = openScope()) {
                ExecutionTimeValue<? extends IN> value = provider.calculateExecutionTimeValue();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/MappingProvider.java

            try (EvaluationContext.ScopeContext ignored = openScope()) {
                return provider.calculatePresence(consumer);
            }
        }
    
        @Override
        public ExecutionTimeValue<? extends OUT> calculateExecutionTimeValue() {
            try (EvaluationContext.ScopeContext context = openScope()) {
                ExecutionTimeValue<? extends IN> value = provider.calculateExecutionTimeValue();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. src/go/types/stmt.go

    			}
    		default:
    			check.errorf(s, InvalidSyntaxTree, "branch statement: %s", s.Tok)
    		}
    
    	case *ast.BlockStmt:
    		check.openScope(s, "block")
    		defer check.closeScope()
    
    		check.stmtList(inner, s.List)
    
    	case *ast.IfStmt:
    		check.openScope(s, "if")
    		defer check.closeScope()
    
    		check.simpleStmt(s.Init)
    		var x operand
    		check.expr(nil, &x, s.Cond)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
Back to top