Determine what PHP symbol follows the docblock at the cursor position. This looks at the content after the docblock's closing `*/` (or after the current line if the docblock is still open) to identify the next meaningful PHP token.
(content: &str, position: Position)
| 396 | /// the current line if the docblock is still open) to identify the next |
| 397 | /// meaningful PHP token. |
| 398 | pub fn detect_context(content: &str, position: Position) -> DocblockContext { |
| 399 | let remaining = get_text_after_docblock(content, position); |
| 400 | classify_from_tokens(&remaining) |
| 401 | } |
| 402 | |
| 403 | /// Extract information about the PHP symbol following the docblock. |
| 404 | /// |
no test coverage detected