const text/template/parse.itemVariable
9 uses
text/template/parse (current package)
lex.go#L61: itemVariable // variable starting with '$', such as '$' or '$1' or '$hello'
lex.go#L488: l.emit(itemVariable)
lex.go#L491: return lexFieldOrVariable(l, itemVariable)
lex.go#L498: if typ == itemVariable {
lex.go#L499: l.emit(itemVariable)
parse.go#L414: if v := t.peekNonSpace(); v.typ == itemVariable {
parse.go#L434: case itemVariable, itemRightDelim, itemRightParen:
parse.go#L455: itemNumber, itemNil, itemRawString, itemString, itemVariable, itemLeftParen:
parse.go#L700: case itemVariable:
![]() |
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. |