Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for methodName (0.52 sec)

  1. doc/go1.17_spec.html

    </p>
    
    <pre class="ebnf">
    InterfaceType      = "interface" "{" { ( MethodSpec | InterfaceTypeName ) ";" } "}" .
    MethodSpec         = MethodName Signature .
    MethodName         = identifier .
    InterfaceTypeName  = TypeName .
    </pre>
    
    <p>
    An interface type may specify methods <i>explicitly</i> through method specifications,
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. doc/go_spec.html

    </p>
    
    <pre class="ebnf">
    InterfaceType  = "interface" "{" { InterfaceElem ";" } "}" .
    InterfaceElem  = MethodElem | TypeElem .
    MethodElem     = MethodName Signature .
    MethodName     = identifier .
    TypeElem       = TypeTerm { "|" TypeTerm } .
    TypeTerm       = Type | UnderlyingType .
    UnderlyingType = "~" Type .
    </pre>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  3. src/cmd/api/main_test.go

    	}
    
    	// emit methods with value receiver
    	var methodNames map[string]bool
    	vset := types.NewMethodSet(typ)
    	for i, n := 0, vset.Len(); i < n; i++ {
    		m := vset.At(i)
    		if m.Obj().Exported() {
    			w.emitMethod(m)
    			if methodNames == nil {
    				methodNames = make(map[string]bool)
    			}
    			methodNames[m.Obj().Name()] = true
    		}
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top