Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewBuiltin (0.08 sec)

  1. src/cmd/compile/internal/types2/object.go

    }
    
    // A Builtin represents a built-in function.
    // Builtins don't have a valid type.
    type Builtin struct {
    	object
    	id builtinId
    }
    
    func newBuiltin(id builtinId) *Builtin {
    	return &Builtin{object{name: predeclaredFuncs[id].name, typ: Typ[Invalid], color_: black}, id}
    }
    
    // Nil represents the predeclared value nil.
    type Nil struct {
    	object
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  2. src/go/types/object.go

    }
    
    // A Builtin represents a built-in function.
    // Builtins don't have a valid type.
    type Builtin struct {
    	object
    	id builtinId
    }
    
    func newBuiltin(id builtinId) *Builtin {
    	return &Builtin{object{name: predeclaredFuncs[id].name, typ: Typ[Invalid], color_: black}, id}
    }
    
    // Nil represents the predeclared value nil.
    type Nil struct {
    	object
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 20.1K bytes
    - Viewed (0)
Back to top