text/template/parse.item.val (field)
26 uses
text/template/parse (current package)
lex.go#L18: val string // The value of this item.
lex.go#L27: return i.val
lex.go#L29: return fmt.Sprintf("<%s>", i.val)
lex.go#L30: case len(i.val) > 10:
lex.go#L31: return fmt.Sprintf("%.10q...", i.val)
lex.go#L33: return fmt.Sprintf("%q", i.val)
parse.go#L195: if strings.HasSuffix(token.val, " action") {
parse.go#L326: t.Name, err = strconv.Unquote(name.val)
parse.go#L362: return t.newText(token.pos, token.val)
parse.go#L368: return t.newComment(token.pos, token.val)
parse.go#L426: pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
parse.go#L427: t.vars = append(t.vars, v.val)
parse.go#L428: case next.typ == itemChar && next.val == ",":
parse.go#L430: pipe.Decl = append(pipe.Decl, t.newVariable(v.pos, v.val))
parse.go#L431: t.vars = append(t.vars, v.val)
parse.go#L605: s, err := strconv.Unquote(token.val)
parse.go#L659: chain.Add(t.next().val)
parse.go#L692: if !t.hasFunction(token.val) {
parse.go#L693: t.errorf("function %q not defined", token.val)
parse.go#L695: return NewIdentifier(token.val).SetTree(t).SetPos(token.pos)
parse.go#L701: return t.useVar(token.pos, token.val)
parse.go#L703: return t.newField(token.pos, token.val)
parse.go#L705: return t.newBool(token.pos, token.val == "true")
parse.go#L707: number, err := t.newNumber(token.pos, token.val, token.typ)
parse.go#L715: s, err := strconv.Unquote(token.val)
parse.go#L719: return t.newString(token.pos, token.val, s)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |