type text/template/parse.item
18 uses
text/template/parse (current package)
lex.go#L15: type item struct {
lex.go#L22: func (i item) String() string {
lex.go#L118: items chan item // channel of scanned items
lex.go#L157: l.items <- item{t, l.start, l.input[l.start:l.pos], l.startLine}
lex.go#L188: l.items <- item{itemError, l.start, fmt.Sprintf(format, args...), l.startLine}
lex.go#L194: func (l *lexer) nextItem() item {
lex.go#L219: items: make(chan item),
parse.go#L29: token [3]item // three-token lookahead for parser.
parse.go#L70: func (t *Tree) next() item {
parse.go#L86: func (t *Tree) backup2(t1 item) {
parse.go#L93: func (t *Tree) backup3(t2, t1 item) { // Reverse order: we're pushing back.
parse.go#L100: func (t *Tree) peek() item {
parse.go#L110: func (t *Tree) nextNonSpace() (token item) {
parse.go#L121: func (t *Tree) peekNonSpace() item {
parse.go#L172: func (t *Tree) expect(expected itemType, context string) item {
parse.go#L181: func (t *Tree) expectOneOf(expected1, expected2 itemType, context string) item {
parse.go#L190: func (t *Tree) unexpected(token item, context string) {
parse.go#L602: func (t *Tree) parseTemplateName(token item, context string) (name string) {
 |
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. |