isKeyChar returns true if c is allowed in subsequent characters of Keys.
(c byte)
| 327 | |
| 328 | // isKeyChar returns true if c is allowed in subsequent characters of Keys. |
| 329 | func isKeyChar(c byte) bool { |
| 330 | return isLCAlpha(c) || isDigit(c) || c == '_' || c == '-' |
| 331 | } |
| 332 | |
| 333 | // isTokenChar returns true if c is allowed in subsequent characters of Tokens. |
| 334 | func isTokenChar(c byte) bool { |
no test coverage detected