Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for substitutor (0.18 sec)

  1. doc/go1.17_spec.html

    </pre>
    
    <p>
    Within a parenthesized <code>const</code> declaration list the
    expression list may be omitted from any but the first ConstSpec.
    Such an empty list is equivalent to the textual substitution of the
    first preceding non-empty expression list and its type if any.
    Omitting the list of expressions is therefore equivalent to
    repeating the previous list.  The number of identifiers must be equal
    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. src/cmd/asm/internal/lex/input.go

    	for _, tok := range macro.tokens {
    		if tok.ScanToken != scanner.Ident {
    			tokens = append(tokens, tok)
    			continue
    		}
    		substitution := actuals[tok.text]
    		if substitution == nil {
    			tokens = append(tokens, tok)
    			continue
    		}
    		tokens = append(tokens, substitution...)
    	}
    	in.Push(NewSlice(in.Base(), in.Line(), tokens))
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/gcc.go

    		if r.Name.Kind == "func" {
    			switch r.Context {
    			case ctxCall, ctxCall2:
    				functions[r.Name.Go] = true
    			}
    		}
    
    		expr := p.rewriteName(f, r, false)
    
    		if *godefs {
    			// Substitute definition for mangled type name.
    			if r.Name.Type != nil && r.Name.Kind == "type" {
    				expr = r.Name.Type.Go
    			}
    			if id, ok := expr.(*ast.Ident); ok {
    				if t := typedef[id.Name]; t != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  4. doc/go_spec.html

    Instantiation proceeds in two steps:
    </p>
    
    <ol>
    <li>
    Each type argument is substituted for its corresponding type parameter in the generic
    declaration.
    This substitution happens across the entire function or type declaration,
    including the type parameter list itself and any types in that list.
    </li>
    
    <li>
    After substitution, each type argument must <a href="#Satisfying_a_type_constraint">satisfy</a>
    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)
  5. src/cmd/asm/internal/lex/lex.go

    type Token struct {
    	ScanToken
    	text string
    }
    
    // Make returns a Token with the given rune (ScanToken) and text representation.
    func Make(token ScanToken, text string) Token {
    	// Substitute the substitutes for . and /.
    	text = strings.ReplaceAll(text, "\u00B7", ".")
    	text = strings.ReplaceAll(text, "\u2215", "/")
    	return Token{ScanToken: token, text: text}
    }
    
    func (l Token) String() string {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Viewed (0)
Back to top