InLitString returns true if position is in a string literal.
(pos lexer.Pos)
| 434 | |
| 435 | // InLitString returns true if position is in a string literal. |
| 436 | func (ls *Lines) InLitString(pos lexer.Pos) bool { |
| 437 | ls.Lock() |
| 438 | defer ls.Unlock() |
| 439 | return ls.inLitString(pos) |
| 440 | } |
| 441 | |
| 442 | // InTokenCode returns true if position is in a Keyword, |
| 443 | // Name, Operator, or Punctuation. |
no test coverage detected