(c byte)
| 638 | } |
| 639 | |
| 640 | func isNameByte(c byte) bool { |
| 641 | // We allow all non-ASCII bytes as names. |
| 642 | return c >= utf8.RuneSelf || |
| 643 | 'A' <= c && c <= 'Z' || |
| 644 | 'a' <= c && c <= 'z' || |
| 645 | '0' <= c && c <= '9' || |
| 646 | c == '_' || c == ':' || c == '.' || c == '-' |
| 647 | } |
| 648 | |
| 649 | // skipSpaces skips whitespace characters. |
| 650 | func (d *Decoder) skipSpaces() bool { |
nothing calls this directly
no outgoing calls
no test coverage detected