type text/template/parse.lexer
34 uses
text/template/parse (current package)
lex.go#L106: type stateFn func(*lexer) stateFn
lex.go#L109: type lexer struct {
lex.go#L125: func (l *lexer) next() rune {
lex.go#L140: func (l *lexer) peek() rune {
lex.go#L147: func (l *lexer) backup() {
lex.go#L156: func (l *lexer) emit(t itemType) {
lex.go#L163: func (l *lexer) ignore() {
lex.go#L170: func (l *lexer) accept(valid string) bool {
lex.go#L179: func (l *lexer) acceptRun(valid string) {
lex.go#L187: func (l *lexer) errorf(format string, args ...interface{}) stateFn {
lex.go#L194: func (l *lexer) nextItem() item {
lex.go#L200: func (l *lexer) drain() {
lex.go#L206: func lex(name, input, left, right string, emitComment bool) *lexer {
lex.go#L213: l := &lexer{
lex.go#L228: func (l *lexer) run() {
lex.go#L245: func lexText(l *lexer) stateFn {
lex.go#L279: func (l *lexer) atRightDelim() (delim, trimSpaces bool) {
lex.go#L295: func lexLeftDelim(l *lexer) stateFn {
lex.go#L315: func lexComment(l *lexer) stateFn {
lex.go#L341: func lexRightDelim(l *lexer) stateFn {
lex.go#L357: func lexInsideAction(l *lexer) stateFn {
lex.go#L426: func lexSpace(l *lexer) stateFn {
lex.go#L450: func lexIdentifier(l *lexer) stateFn {
lex.go#L480: func lexField(l *lexer) stateFn {
lex.go#L486: func lexVariable(l *lexer) stateFn {
lex.go#L496: func lexFieldOrVariable(l *lexer, typ itemType) stateFn {
lex.go#L524: func (l *lexer) atTerminator() bool {
lex.go#L544: func lexChar(l *lexer) stateFn {
lex.go#L567: func lexNumber(l *lexer) stateFn {
lex.go#L583: func (l *lexer) scanNumber() bool {
lex.go#L621: func lexQuote(l *lexer) stateFn {
lex.go#L641: func lexRawQuote(l *lexer) stateFn {
parse.go#L28: lex *lexer
parse.go#L220: func (t *Tree) startParse(funcs []map[string]interface{}, lex *lexer, treeSet map[string]*Tree) {
![]() |
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. |