- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for numberNode (0.41 sec)
-
src/text/template/parse/node.go
if n.IsUint { n.Uint64 = uint64(n.Float64) } } } func (n *NumberNode) String() string { return n.Text } func (n *NumberNode) writeTo(sb *strings.Builder) { sb.WriteString(n.String()) } func (n *NumberNode) tree() *Tree { return n.tr } func (n *NumberNode) Copy() Node { nn := new(NumberNode) *nn = *n // Easy, fast, correct. return nn }
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
s.at(n) if n, ok := n.(*parse.NumberNode); ok && n.IsInt { value := reflect.New(typ).Elem() value.SetInt(n.Int64) return value } s.errorf("expected integer; found %s", n) panic("not reached") } func (s *state) evalUnsignedInteger(typ reflect.Type, n parse.Node) reflect.Value { s.at(n) if n, ok := n.(*parse.NumberNode); ok && n.IsUint { value := reflect.New(typ).Elem()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:22:24 UTC 2024 - 32K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"NodeWith", Const, 0}, {"NumberNode", Type, 0}, {"NumberNode.Complex128", Field, 0}, {"NumberNode.Float64", Field, 0}, {"NumberNode.Int64", Field, 0}, {"NumberNode.IsComplex", Field, 0}, {"NumberNode.IsFloat", Field, 0}, {"NumberNode.IsInt", Field, 0}, {"NumberNode.IsUint", Field, 0}, {"NumberNode.NodeType", Field, 0}, {"NumberNode.Pos", Field, 1},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
src/internal/trace/traceviewer/static/trace_viewer_full.html
return emitError('Leading zero not followed by .');continue;case NUMBER_DIGIT:if('0123456789'.indexOf(c)!==-1)numberNode+=c;else if(c==='.'){if(numberNode.indexOf('.')!==-1) return emitError('Invalid number has two dots');numberNode+=c;}else if(c==='e'||c==='E'){if(numberNode.indexOf('e')!==-1||numberNode.indexOf('E')!==-1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 20:45:06 UTC 2023 - 2.5M bytes - Viewed (1) -
api/go1.txt
pkg text/template/parse, type NumberNode struct pkg text/template/parse, type NumberNode struct, Complex128 complex128 pkg text/template/parse, type NumberNode struct, Float64 float64 pkg text/template/parse, type NumberNode struct, Int64 int64 pkg text/template/parse, type NumberNode struct, IsComplex bool pkg text/template/parse, type NumberNode struct, IsFloat bool
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0) -
api/go1.1.txt
pkg text/template/parse, method (IfNode) Position() Pos pkg text/template/parse, method (ListNode) Position() Pos pkg text/template/parse, method (NilNode) Position() Pos pkg text/template/parse, method (NumberNode) Position() Pos pkg text/template/parse, method (PipeNode) Position() Pos pkg text/template/parse, method (Pos) Position() Pos pkg text/template/parse, method (RangeNode) Position() Pos
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0)