Skip to content

Commit 63f673b

Browse files
committed
fixing successor type-typo
1 parent b81e537 commit 63f673b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/codegen/sdk/core/detached_symbols/function_call.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -244,17 +244,14 @@ def predecessor(self) -> FunctionCall[Parent] | None:
244244

245245
@property
246246
@reader
247-
def successor(self) -> FunctionCall[Parent] | Name | None:
247+
def successor(self) -> FunctionCall[Parent] | None:
248248
"""Returns the next function call in a function call chain.
249249
250250
Returns the next function call in a function call chain. This method is useful for traversing function call chains
251251
to analyze or modify sequences of chained function calls.
252252
253-
Args:
254-
None
255-
256253
Returns:
257-
FunctionCall[Parent] | Name | None: The next function call in the chain, or None if there is no successor
254+
FunctionCall[Parent] | None: The next function call in the chain, or None if there is no successor
258255
or if the successor is not a function call.
259256
"""
260257
# this will avoid parent function calls in tree-sitter that are NOT part of the chained calls

0 commit comments

Comments
 (0)