| 51 | |
| 52 | @dataclass |
| 53 | class NodeInfo: |
| 54 | kind: str # File, Class, Function, Type, Test |
| 55 | name: str |
| 56 | file_path: str |
| 57 | line_start: int |
| 58 | line_end: int |
| 59 | language: str = "" |
| 60 | parent_name: Optional[str] = None # enclosing class/module |
| 61 | params: Optional[str] = None |
| 62 | return_type: Optional[str] = None |
| 63 | modifiers: Optional[str] = None |
| 64 | is_test: bool = False |
| 65 | extra: dict = field(default_factory=dict) |
| 66 | |
| 67 | |
| 68 | @dataclass |
no outgoing calls