Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for evalCommand (0.2 sec)

  1. src/text/template/exec.go

    func (s *state) evalPipeline(dot reflect.Value, pipe *parse.PipeNode) (value reflect.Value) {
    	if pipe == nil {
    		return
    	}
    	s.at(pipe)
    	value = missingVal
    	for _, cmd := range pipe.Cmds {
    		value = s.evalCommand(dot, cmd, value) // previous value is this one's final arg.
    		// If the object has type interface{}, dig down one level to the thing inside.
    		if value.Kind() == reflect.Interface && value.Type().NumMethod() == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:22:24 UTC 2024
    - 32K bytes
    - Viewed (0)
Back to top