Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for _EOF (0.09 sec)

  1. src/cmd/vendor/golang.org/x/mod/modfile/read.go

    type tokenKind int
    
    const (
    	_EOF tokenKind = -(iota + 1)
    	_EOLCOMMENT
    	_IDENT
    	_STRING
    	_COMMENT
    
    	// newlines and punctuation tokens are allowed as ASCII codes.
    )
    
    func (k tokenKind) isComment() bool {
    	return k == _COMMENT || k == _EOLCOMMENT
    }
    
    // isEOL returns whether a token terminates a line.
    func (k tokenKind) isEOL() bool {
    	return k == _EOF || k == _EOLCOMMENT || k == '\n'
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top