Lookup AST path and return line range.
First tries exact match. If not found, iterates through all paths and returns the first match using suffix string matching.
| ast_path |
AST path to lookup (e.g., "Namespace-Class-Method") |
| start_line |
Output parameter for starting line number (1-indexed, -1 if not found) |
| end_line |
Output parameter for ending line number (1-indexed, -1 if not found) |
| include_comments |
Include preceding comments when available |
|
true if found, false if not found |