Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for eatTagName (0.18 sec)

  1. src/html/template/transition.go

    }
    
    // asciiAlphaNum reports whether c is an ASCII letter or digit.
    func asciiAlphaNum(c byte) bool {
    	return asciiAlpha(c) || '0' <= c && c <= '9'
    }
    
    // eatTagName returns the largest j such that s[i:j] is a tag name and the tag type.
    func eatTagName(s []byte, i int) (int, element) {
    	if i == len(s) || !asciiAlpha(s[i]) {
    		return i, elementNone
    	}
    	j := i + 1
    	for j < len(s) {
    		x := s[j]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 19:54:31 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top