- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for stringBody (0.13 sec)
-
src/text/template/parse/node.go
return nn } // StringNode holds a string constant. The value has been "unquoted". type StringNode struct { NodeType Pos tr *Tree Quoted string // The original text of the string, with quotes. Text string // The string, after quote processing. } func (t *Tree) newString(pos Pos, orig, text string) *StringNode {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 24.2K bytes - Viewed (0) -
src/text/template/exec.go
return reflect.ValueOf(word.True) case *parse.DotNode: return dot case *parse.NilNode: s.errorf("nil is not a command") case *parse.NumberNode: return s.idealConstant(word) case *parse.StringNode: return reflect.ValueOf(word.Text) } s.errorf("can't evaluate command %q", firstWord) panic("not reached") } // idealConstant is called to return the value of a number in a context where
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:22:24 UTC 2024 - 32K bytes - Viewed (0) -
src/reflect/value.go
} dst.mustBeExported() sk := src.kind() var stringCopy bool if sk != Array && sk != Slice { stringCopy = sk == String && dst.typ().Elem().Kind() == abi.Uint8 if !stringCopy { panic(&ValueError{"reflect.Copy", sk}) } } src.mustBeExported() de := dst.typ().Elem() if !stringCopy { se := src.typ().Elem() typesMustMatch("reflect.Copy", toType(de), toType(se))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"Pos", Type, 1}, {"RangeNode", Type, 0}, {"RangeNode.BranchNode", Field, 0}, {"SkipFuncCheck", Const, 17}, {"StringNode", Type, 0}, {"StringNode.NodeType", Field, 0}, {"StringNode.Pos", Field, 1}, {"StringNode.Quoted", Field, 0}, {"StringNode.Text", Field, 0}, {"TemplateNode", Type, 0}, {"TemplateNode.Line", Field, 0}, {"TemplateNode.Name", Field, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)