File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
src/codegen/sdk/core/detached_symbols Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -244,17 +244,14 @@ def predecessor(self) -> FunctionCall[Parent] | None:
244
244
245
245
@property
246
246
@reader
247
- def successor (self ) -> FunctionCall [Parent ] | Name | None :
247
+ def successor (self ) -> FunctionCall [Parent ] | None :
248
248
"""Returns the next function call in a function call chain.
249
249
250
250
Returns the next function call in a function call chain. This method is useful for traversing function call chains
251
251
to analyze or modify sequences of chained function calls.
252
252
253
- Args:
254
- None
255
-
256
253
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
258
255
or if the successor is not a function call.
259
256
"""
260
257
# this will avoid parent function calls in tree-sitter that are NOT part of the chained calls
You can’t perform that action at this time.
0 commit comments