Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for thisItem (0.06 sec)

  1. src/text/template/parse/lex.go

    		l.pos -= Pos(w)
    		// Correct newline count.
    		if r == '\n' {
    			l.line--
    		}
    	}
    }
    
    // thisItem returns the item at the current input point with the specified type
    // and advances the input.
    func (l *lexer) thisItem(t itemType) item {
    	i := item{t, l.start, l.input[l.start:l.pos], l.startLine}
    	l.start = l.pos
    	l.startLine = l.line
    	return i
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 04 22:36:12 UTC 2022
    - 18.1K bytes
    - Viewed (0)
Back to top