github.com/boyter/gocodewalker@v1.3.2/go-gitignore/rune.go (about) 1 // SPDX-License-Identifier: MIT 2 3 package gitignore 4 5 const ( 6 // define the sentinel runes of the lexer 7 _EOF = rune(0) 8 _CR = rune('\r') 9 _NEWLINE = rune('\n') 10 _COMMENT = rune('#') 11 _SEPARATOR = rune('/') 12 _ESCAPE = rune('\\') 13 _SPACE = rune(' ') 14 _TAB = rune('\t') 15 _NEGATION = rune('!') 16 _WILDCARD = rune('*') 17 )