Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for IsMethod (0.28 sec)

  1. src/cmd/compile/internal/typecheck/subr.go

    		var f *types.Field
    		path, _ := dotpath(sl.field.Sym, t, &f, false)
    		if path == nil {
    			continue
    		}
    
    		// dotpath may have dug out arbitrary fields, we only want methods.
    		if !f.IsMethod() {
    			continue
    		}
    
    		// add it to the base type method list
    		f = f.Copy()
    		f.Embedded = 1 // needs a trampoline
    		for _, d := range path {
    			if d.field.Type.IsPtr() {
    				f.Embedded = 2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 19:45:58 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/expr.go

    		} else {
    			base.Errorf("unknown field '%v' in struct literal of type %v", sym, typ)
    		}
    		return nil
    	}
    
    	var f *types.Field
    	p, _ := dotpath(sym, typ, &f, true)
    	if p == nil || f.IsMethod() {
    		base.Errorf("unknown field '%v' in struct literal of type %v", sym, typ)
    		return nil
    	}
    
    	// dotpath returns the parent embedded types in reverse order.
    	var ep []string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

    import java.util.Collections;
    import java.util.Comparator;
    import java.util.Iterator;
    import java.util.List;
    import java.util.RandomAccess;
    import java.util.stream.Collector;
    import jsinterop.annotations.JsMethod;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * GWT emulated version of {@link com.google.common.collect.ImmutableList}. TODO(cpovirk): more doc
     *
     * @author Hayward Chan
     */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 11K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDefinitionIntegrationTest.groovy

                    assert 'value' == it.property
                }
                [withDescription, asMethod].each {
                    assert 'value' == it.description
                }
                task all(dependsOn: ["withDescription", "asMethod", "asStatement", "dynamic", "asExpression", "postConfigure"])
                class TestTask extends DefaultTask { @Input String property }
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 14:43:53 UTC 2024
    - 21.6K bytes
    - Viewed (0)
Back to top