Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetIsRuntimeHelper (0.16 sec)

  1. src/cmd/compile/internal/syntax/type.go

    func (f *exprFlags) SetAddressable()     { *f |= 32 }
    func (f *exprFlags) SetAssignable()      { *f |= 64 }
    func (f *exprFlags) SetHasOk()           { *f |= 128 }
    func (f *exprFlags) SetIsRuntimeHelper() { *f |= 256 }
    
    // a typeAndValue contains the results of typechecking an expression.
    // It is embedded in expression nodes.
    type typeAndValue struct {
    	tv TypeAndValue
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/rangefunc/rewrite.go

    func runtimeSym(info *types2.Info, name string) *syntax.Name {
    	obj := runtimePkg.Scope().Lookup(name)
    	n := syntax.NewName(nopos, "runtime."+name)
    	tv := syntax.TypeAndValue{Type: obj.Type()}
    	tv.SetIsValue()
    	tv.SetIsRuntimeHelper()
    	n.SetTypeInfo(tv)
    	info.Uses[n] = obj
    	return n
    }
    
    // setPos walks the top structure of x that has no position assigned
    // and assigns it all to have position pos.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
Back to top