IsIdentMiddle returns true if the character is valid inside an identifier.
(ch int)
| 101 | |
| 102 | // IsIdentMiddle returns true if the character is valid inside an identifier. |
| 103 | func IsIdentMiddle(ch int) bool { |
| 104 | return IsIdentStart(ch) || IsDigit(ch) || ch == '$' |
| 105 | } |
no test coverage detected
searching dependent graphs…