diff --git a/docs/api-reference/core/Argument.mdx b/docs/api-reference/core/Argument.mdx
index 8a293a313..a6bedf024 100644
--- a/docs/api-reference/core/Argument.mdx
+++ b/docs/api-reference/core/Argument.mdx
@@ -45,7 +45,7 @@ import {Attribute} from '/snippets/Attribute.mdx';
### function_calls
-list[ FunctionCall ]> } description="Returns a list of function calls present in the value of this argument." />
+list[ FunctionCall ]> } description="Returns a list of function calls present in the value of this argument." />
### index
@@ -71,19 +71,19 @@ import {Attribute} from '/snippets/Attribute.mdx';
### parent_class
-Class | None> } description="Find the class this node is contained in" />
+Class | None> } description="Find the class this node is contained in" />
### parent_function
-Function | None> } description="Find the function this node is contained in" />
+Function | None> } description="Find the function this node is contained in" />
### parent_statement
-Statement | None> } description="Find the statement this node is contained in" />
+Statement | None> } description="Find the statement this node is contained in" />
### resolved_value
-Expression | list[ Expression ]> } description="Returns the resolved type of an Expression." />
+Expression | list[ Expression ]> } description="Returns the resolved type of an Expression." />
### source
@@ -100,11 +100,11 @@ import {Attribute} from '/snippets/Attribute.mdx';
### value
-Expression | None> } description="Gets the value node of the object." />
+Expression | None> } description="Gets the value node of the object." />
### variable_usages
-list[ Editable ]> } description="Returns Editables for all TreeSitter node instances of variable usages within this node's" />
+list[ Editable ]> } description="Returns Editables for all TreeSitter node instances of variable usages within this node's" />
## Methods
@@ -131,7 +131,7 @@ Find all ancestors of the node of the given type. Does not return itself
-list[ Editable ]> } description=""/>
+list[ Editable ]> } description=""/>
### edit
@@ -189,7 +189,7 @@ Find and return matching nodes or substrings within an Editable instance.
-list[ Editable ]> } description="A list of Editable instances that match the search criteria."/>
+list[ Editable ]> } description="A list of Editable instances that match the search criteria."/>
### find_string_literals
@@ -212,7 +212,7 @@ Returns a list of string literals within this node's source that match any of th
-list[ Editable ]> } description="A list of Editable objects representing the matching string literals."/>
+list[ Editable ]> } description="A list of Editable objects representing the matching string literals."/>
### flag
@@ -220,7 +220,7 @@ Adds a visual flag comment to the end of this Editable's source text.
-CodeFlag[ Argument ]> } description=""/>
+CodeFlag[ Argument ]> } description=""/>
### get_name
@@ -228,7 +228,7 @@ Returns the name node of the object.
-Name | ChainedAttribute | None> } description="The name node of the object. Can be a Name node for simple names, a ChainedAttribute for names with namespaces (e.g., a.b), or None if the object has no name."/>
+Name | ChainedAttribute | None> } description="The name node of the object. Can be a Name node for simple names, a ChainedAttribute for names with namespaces (e.g., a.b), or None if the object has no name."/>
### get_variable_usages
@@ -251,7 +251,7 @@ Returns Editables for all TreeSitter nodes corresponding to instances of variabl
-list[ Editable ]> } description="List of Editable objects representing variable usage nodes matching the given name."/>
+list[ Editable ]> } description="List of Editable objects representing variable usage nodes matching the given name."/>
### insert_after
@@ -349,7 +349,7 @@ Find the first ancestor of the node of the given type. Does not return itself
-Editable | None> } description=""/>
+Editable | None> } description=""/>
### reduce_condition
@@ -473,7 +473,7 @@ Returns a list of all regex match of `regex_pattern`, similar to python's re.sea
-list[ Editable ]> } description="A list of Editable objects corresponding to the matches found."/>
+list[ Editable ]> } description="A list of Editable objects corresponding to the matches found."/>
### set_name
diff --git a/docs/api-reference/core/Assignment.mdx b/docs/api-reference/core/Assignment.mdx
index bbf165d26..2efe22c8c 100644
--- a/docs/api-reference/core/Assignment.mdx
+++ b/docs/api-reference/core/Assignment.mdx
@@ -31,11 +31,11 @@ import {Attribute} from '/snippets/Attribute.mdx';
### comment
-CommentGroup | None> } description="Returns the comment group associated with the symbol, if any." />
+CommentGroup | None> } description="Returns the comment group associated with the symbol, if any." />
### dependencies
-list[Union[ Symbol , Import ]]> } description="Returns a list of symbols that this symbol depends on." />
+list[Union[ Symbol , Import ]]> } description="Returns a list of symbols that this symbol depends on." />
### extended
@@ -43,7 +43,7 @@ import {Attribute} from '/snippets/Attribute.mdx';
### extended_nodes
-list[ Editable ]> } description="Returns a list of Editable nodes associated with this symbol, including extended symbols." />
+list[ Editable ]> } description="Returns a list of Editable nodes associated with this symbol, including extended symbols." />
### extended_source
@@ -68,7 +68,7 @@ import {Attribute} from '/snippets/Attribute.mdx';
### function_calls
-list[ FunctionCall ]> } description="Returns a list of all function calls contained within this expression." />
+list[ FunctionCall ]> } description="Returns a list of all function calls contained within this expression." />
### index
@@ -76,7 +76,7 @@ import {Attribute} from '/snippets/Attribute.mdx';
### inline_comment
-CommentGroup | None> } description="Returns the inline comment group associated with the symbol, if any." />
+CommentGroup | None> } description="Returns the inline comment group associated with the symbol, if any." />
### is_local_variable
@@ -102,19 +102,19 @@ import {Attribute} from '/snippets/Attribute.mdx';
### parent_class
-Class | None> } description="Find the class this node is contained in" />
+Class | None> } description="Find the class this node is contained in" />
### parent_function
-Function | None> } description="Find the function this node is contained in" />
+Function | None> } description="Find the function this node is contained in" />
### parent_statement
-Statement | None> } description="Find the statement this node is contained in" />
+Statement | None> } description="Find the statement this node is contained in" />
### resolved_value
-Expression | list[ Expression ]> } description="Returns the resolved type of an Expression." />
+Expression | list[ Expression ]> } description="Returns the resolved type of an Expression." />
### source
@@ -132,15 +132,15 @@ import {Attribute} from '/snippets/Attribute.mdx';
### type
-Type | TypePlaceholder [ PyParameter ]> } description="The type annotation associated with this node" />
+Type | TypePlaceholder [ PyParameter ]> } description="The type annotation associated with this node" />
### value
-Expression | None> } description="Gets the value node of the object." />
+Expression | None> } description="Gets the value node of the object." />
### variable_usages
-list[ Editable ]> } description="Returns Editables for all TreeSitter node instances of variable usages within this node's" />
+list[ Editable ]> } description="Returns Editables for all TreeSitter node instances of variable usages within this node's" />
## Methods
@@ -162,12 +162,29 @@ Adds a comment to the symbol.
None } description=""/>
+### add_keyword
+Insert a keyword in the appropriate place before this symbol if it doesn't already exist.
+
+
+
+str }
+ description="The keyword to be inserted. Must be a valid keyword in the language context."
+ defaultValue=""
+/>
+
+
+
+None } description=""/>
+
+
### ancestors
Find all ancestors of the node of the given type. Does not return itself
-list[ Editable ]> } description=""/>
+list[ Editable ]> } description=""/>
### edit
@@ -225,7 +242,7 @@ Find and return matching nodes or substrings within an Editable instance.
-list[ Editable ]> } description="A list of Editable instances that match the search criteria."/>
+list[ Editable ]> } description="A list of Editable instances that match the search criteria."/>
### find_string_literals
@@ -248,7 +265,7 @@ Returns a list of string literals within this node's source that match any of th
-list[ Editable ]> } description="A list of Editable objects representing the matching string literals."/>
+list[ Editable ]> } description="A list of Editable objects representing the matching string literals."/>
### flag
@@ -256,7 +273,7 @@ Adds a visual flag comment to the end of this Editable's source text.
-CodeFlag[ Assignment ]> } description=""/>
+CodeFlag[ Assignment ]> } description=""/>
### get_name
@@ -264,7 +281,7 @@ Returns the name node of the object.
-Name | ChainedAttribute | None> } description="The name node of the object. Can be a Name node for simple names, a ChainedAttribute for names with namespaces (e.g., a.b), or None if the object has no name."/>
+Name | ChainedAttribute | None> } description="The name node of the object. Can be a Name node for simple names, a ChainedAttribute for names with namespaces (e.g., a.b), or None if the object has no name."/>
### get_variable_usages
@@ -287,7 +304,7 @@ Returns Editables for all TreeSitter nodes corresponding to instances of variabl
-list[ Editable ]> } description="List of Editable objects representing variable usage nodes matching the given name."/>
+list[ Editable ]> } description="List of Editable objects representing variable usage nodes matching the given name."/>
### insert_after
@@ -391,7 +408,7 @@ Retrieves all usages of the assigned variable within its code block scope.
-list[ Editable [ Statement ]]> } description="A sorted list of statement nodes where the variable is used."/>
+list[ Editable [ Statement ]]> } description="A sorted list of statement nodes where the variable is used."/>
### move_to_file
@@ -428,7 +445,7 @@ Find the first ancestor of the node of the given type. Does not return itself
-Editable | None> } description=""/>
+Editable | None> } description=""/>
### reduce_condition
@@ -477,6 +494,29 @@ Deletes this Node and its related extended nodes (e.g. decorators, comments).
None } description=""/>
+### rename
+Renames a symbol and updates all its references in the codebase.
+
+
+
+str }
+ description="The new name for the symbol."
+ defaultValue=""
+/>
+int }
+ description="Priority of the edit operation. Defaults to 0."
+ defaultValue="0"
+/>
+
+
+
+tuple[NodeId, NodeId] } description="A tuple containing the file node ID and the new node ID of the renamed symbol."/>
+
+
### replace
Search and replace occurrences of text within this node's source and its extended nodes.
@@ -544,7 +584,7 @@ Returns a list of all regex match of `regex_pattern`, similar to python's re.sea
-list[ Editable ]> } description="A list of Editable objects corresponding to the matches found."/>
+list[ Editable ]> } description="A list of Editable objects corresponding to the matches found."/>
### set_comment
@@ -634,36 +674,36 @@ Sets the value of an assignment expression.
### symbol_usages
Returns a list of symbols that use or import the exportable object.
-
+
UsageType | None> }
+ type={ <>UsageType | None> }
description="The types of usages to search for. Defaults to any."
defaultValue="None"
/>
-list[ Import | Symbol | Export ]> } description="A list of symbols that use or import the exportable object."/>
+list[ Import | Symbol | Export ]> } description="A list of symbols that use or import the exportable object."/>
### usages
Returns a list of usages of the exportable object.
-
+
UsageType | None> }
+ type={ <>UsageType | None> }
description="Specifies which types of usages to include in the results. Default is any usages."
defaultValue="None"
/>
-list[ Usage ]> } description="A sorted list of Usage objects representing where this exportable is used, ordered by source location in reverse."/>
+list[ Usage ]> } description="A sorted list of Usage objects representing where this exportable is used, ordered by source location in reverse."/>
diff --git a/docs/api-reference/core/AssignmentStatement.mdx b/docs/api-reference/core/AssignmentStatement.mdx
index 90aeb8483..00fc852e1 100644
--- a/docs/api-reference/core/AssignmentStatement.mdx
+++ b/docs/api-reference/core/AssignmentStatement.mdx
@@ -25,7 +25,7 @@ import {Attribute} from '/snippets/Attribute.mdx';
### assignments
-list[ Assignment ]> } description="
+list[ Assignment ]> } description="
" />
### extended
@@ -51,7 +51,7 @@ import {Attribute} from '/snippets/Attribute.mdx';
### function_calls
-list[ FunctionCall ]> } description="Returns a list of all function calls contained within this expression." />
+list[ FunctionCall ]> } description="Returns a list of all function calls contained within this expression." />
### index
@@ -59,16 +59,16 @@ import {Attribute} from '/snippets/Attribute.mdx';
### left
-Expression [ Assignment ]> } description="
+Expression [ Assignment ]> } description="
" />
### nested_code_blocks
-list[ Editable ]> } description="Returns all nested code blocks within the statement." />
+list[ Editable ]> } description="Returns all nested code blocks within the statement." />
### nested_statements
-list[ MultiLineCollection [ Statement [ AssignmentStatement ], Editable ]]> } description="Returns a list of statement collections within nested code blocks." />
+list[ MultiLineCollection [ Statement [ AssignmentStatement ], Editable ]]> } description="Returns a list of statement collections within nested code blocks." />
### node_type
@@ -82,23 +82,23 @@ import {Attribute} from '/snippets/Attribute.mdx';
### parent_class
-Class | None> } description="Find the class this node is contained in" />
+Class | None> } description="Find the class this node is contained in" />
### parent_function
-Function | None> } description="Find the function this node is contained in" />
+Function | None> } description="Find the function this node is contained in" />
### parent_statement
-Statement | None> } description="Find the statement this node is contained in" />
+Statement | None> } description="Find the statement this node is contained in" />
### resolved_value
-Expression | list[ Expression ]> } description="Returns the resolved type of an Expression." />
+Expression | list[ Expression ]> } description="Returns the resolved type of an Expression." />
### right
-Expression [ Assignment ] | None> } description="
+Expression [ Assignment ] | None> } description="
" />
### source
@@ -117,11 +117,11 @@ import {Attribute} from '/snippets/Attribute.mdx';
### value
-Expression | None> } description="Gets the value node of the object." />
+Expression | None> } description="Gets the value node of the object." />
### variable_usages
-list[ Editable ]> } description="Returns Editables for all TreeSitter node instances of variable usages within this node's" />
+list[ Editable ]> } description="Returns Editables for all TreeSitter node instances of variable usages within this node's" />
## Methods
@@ -131,7 +131,7 @@ Find all ancestors of the node of the given type. Does not return itself
-list[ Editable ]> } description=""/>
+list[ Editable ]> } description=""/>
### edit
@@ -189,7 +189,7 @@ Find and return matching nodes or substrings within an Editable instance.
-list[ Editable ]> } description="A list of Editable instances that match the search criteria."/>
+list[ Editable ]> } description="A list of Editable instances that match the search criteria."/>
### find_string_literals
@@ -212,7 +212,7 @@ Returns a list of string literals within this node's source that match any of th
-list[ Editable ]> } description="A list of Editable objects representing the matching string literals."/>
+list[ Editable ]> } description="A list of Editable objects representing the matching string literals."/>
### flag
@@ -220,7 +220,7 @@ Adds a visual flag comment to the end of this Editable's source text.
-CodeFlag[ AssignmentStatement ]> } description=""/>
+CodeFlag[ AssignmentStatement ]> } description=""/>
### get_variable_usages
@@ -243,7 +243,7 @@ Returns Editables for all TreeSitter nodes corresponding to instances of variabl
-list[ Editable ]> } description="List of Editable objects representing variable usage nodes matching the given name."/>
+list[ Editable ]> } description="List of Editable objects representing variable usage nodes matching the given name."/>
### insert_after
@@ -341,7 +341,7 @@ Find the first ancestor of the node of the given type. Does not return itself
-Editable | None> } description=""/>
+Editable | None> } description=""/>
### reduce_condition
@@ -448,7 +448,7 @@ Returns a list of all regex match of `regex_pattern`, similar to python's re.sea
-list[ Editable ]> } description="A list of Editable objects corresponding to the matches found."/>
+list[ Editable ]> } description="A list of Editable objects corresponding to the matches found."/>
### set_value
diff --git a/docs/api-reference/core/Attribute.mdx b/docs/api-reference/core/Attribute.mdx
index ceedc28d9..7343bf2a9 100644
--- a/docs/api-reference/core/Attribute.mdx
+++ b/docs/api-reference/core/Attribute.mdx
@@ -25,12 +25,12 @@ import {Attribute} from '/snippets/Attribute.mdx';
### assignments
-list[ Assignment ]> } description="
+list[ Assignment ]> } description="
" />
### dependencies
-list[Union[ Symbol , Import ]]> } description="Returns a list of symbols that this symbol depends on." />
+list[Union[ Symbol , Import ]]> } description="Returns a list of symbols that this symbol depends on." />
### extended
@@ -59,7 +59,7 @@ import {Attribute} from '/snippets/Attribute.mdx';
### function_calls
-list[ FunctionCall ]> } description="Returns a list of all function calls contained within this expression." />
+list[ FunctionCall ]> } description="Returns a list of all function calls contained within this expression." />
### index
@@ -75,7 +75,7 @@ import {Attribute} from '/snippets/Attribute.mdx';
### left
-Expression [ Assignment ]> } description="
+Expression [ Assignment ]> } description="
" />
### name
@@ -84,11 +84,11 @@ import {Attribute} from '/snippets/Attribute.mdx';
### nested_code_blocks
-list[ Editable ]> } description="Returns all nested code blocks within the statement." />
+list[ Editable ]> } description="Returns all nested code blocks within the statement." />
### nested_statements
-list[ MultiLineCollection [ Statement [ Attribute ], Editable ]]> } description="Returns a list of statement collections within nested code blocks." />
+list[ MultiLineCollection [ Statement [ Attribute ], Editable ]]> } description="Returns a list of statement collections within nested code blocks." />
### node_type
@@ -102,23 +102,23 @@ import {Attribute} from '/snippets/Attribute.mdx';
### parent_class
-Class | None> } description="Find the class this node is contained in" />
+Class | None> } description="Find the class this node is contained in" />
### parent_function
-Function | None> } description="Find the function this node is contained in" />
+Function | None> } description="Find the function this node is contained in" />
### parent_statement
-Statement | None> } description="Find the statement this node is contained in" />
+Statement | None> } description="Find the statement this node is contained in" />
### resolved_value
-Expression | list[ Expression ]> } description="Returns the resolved type of an Expression." />
+Expression | list[ Expression ]> } description="Returns the resolved type of an Expression." />
### right
-Expression [ Assignment ] | None> } description="
+Expression [ Assignment ] | None> } description="
" />
### source
@@ -137,11 +137,11 @@ import {Attribute} from '/snippets/Attribute.mdx';
### value
-Expression | None> } description="Gets the value node of the object." />
+Expression | None> } description="Gets the value node of the object." />
### variable_usages
-list[ Editable ]> } description="Returns Editables for all TreeSitter node instances of variable usages within this node's" />
+list[ Editable ]> } description="Returns Editables for all TreeSitter node instances of variable usages within this node's" />
## Methods
@@ -151,7 +151,7 @@ Find all ancestors of the node of the given type. Does not return itself
-list[ Editable ]> } description=""/>
+list[ Editable ]> } description=""/>
### edit
@@ -209,7 +209,7 @@ Find and return matching nodes or substrings within an Editable instance.
-list[ Editable ]> } description="A list of Editable instances that match the search criteria."/>
+list[ Editable ]> } description="A list of Editable instances that match the search criteria."/>
### find_string_literals
@@ -232,7 +232,7 @@ Returns a list of string literals within this node's source that match any of th
-list[ Editable ]> } description="A list of Editable objects representing the matching string literals."/>
+list[ Editable ]> } description="A list of Editable objects representing the matching string literals."/>
### flag
@@ -240,7 +240,7 @@ Adds a visual flag comment to the end of this Editable's source text.
-CodeFlag[ Attribute ]> } description=""/>
+CodeFlag[ Attribute ]> } description=""/>
### get_name
@@ -248,7 +248,7 @@ Returns the name node of the object.
-Name | ChainedAttribute | None> } description="The name node of the object. Can be a Name node for simple names, a ChainedAttribute for names with namespaces (e.g., a.b), or None if the object has no name."/>
+Name | ChainedAttribute | None> } description="The name node of the object. Can be a Name node for simple names, a ChainedAttribute for names with namespaces (e.g., a.b), or None if the object has no name."/>
### get_variable_usages
@@ -271,7 +271,7 @@ Returns Editables for all TreeSitter nodes corresponding to instances of variabl
-list[ Editable ]> } description="List of Editable objects representing variable usage nodes matching the given name."/>
+list[ Editable ]> } description="List of Editable objects representing variable usage nodes matching the given name."/>
### insert_after
@@ -369,7 +369,7 @@ Find the first ancestor of the node of the given type. Does not return itself
-Editable | None> } description=""/>
+Editable | None> } description=""/>
### reduce_condition
@@ -409,6 +409,29 @@ Deletes this Node and its related extended nodes (e.g. decorators, comments).
None } description=""/>
+### rename
+Renames a symbol and updates all its references in the codebase.
+
+
+
+str }
+ description="The new name for the symbol."
+ defaultValue=""
+/>
+int }
+ description="Priority of the edit operation. Defaults to 0."
+ defaultValue="0"
+/>
+
+
+
+tuple[NodeId, NodeId] } description="A tuple containing the file node ID and the new node ID of the renamed symbol."/>
+
+
### replace
Search and replace occurrences of text within this node's source and its extended nodes.
@@ -476,7 +499,7 @@ Returns a list of all regex match of `regex_pattern`, similar to python's re.sea
-list[ Editable ]> } description="A list of Editable objects corresponding to the matches found."/>
+list[ Editable ]> } description="A list of Editable objects corresponding to the matches found."/>
### set_name
@@ -515,36 +538,36 @@ Sets the value of a node's assignment.
### symbol_usages
Returns a list of symbols that use or import the exportable object.
-
+
UsageType | None> }
+ type={ <>UsageType | None> }
description="The types of usages to search for. Defaults to any."
defaultValue="None"
/>
-list[ Import | Symbol | Export ]> } description="A list of symbols that use or import the exportable object."/>
+list[ Import | Symbol | Export ]> } description="A list of symbols that use or import the exportable object."/>
### usages
Returns a list of usages of the exportable object.
-
+
UsageType | None> }
+ type={ <>UsageType | None> }
description="Specifies which types of usages to include in the results. Default is any usages."
defaultValue="None"
/>
-list[ Usage ]> } description="A sorted list of Usage objects representing where this exportable is used, ordered by source location in reverse."/>
+list[ Usage ]> } description="A sorted list of Usage objects representing where this exportable is used, ordered by source location in reverse."/>
diff --git a/docs/api-reference/core/AwaitExpression.mdx b/docs/api-reference/core/AwaitExpression.mdx
index 71a434e3d..af97f6319 100644
--- a/docs/api-reference/core/AwaitExpression.mdx
+++ b/docs/api-reference/core/AwaitExpression.mdx
@@ -41,7 +41,7 @@ import {Attribute} from '/snippets/Attribute.mdx';
### function_calls
-list[ FunctionCall ]> } description="Gets all function calls within the await expression." />
+list[ FunctionCall ]> } description="Gets all function calls within the await expression." />
### node_type
@@ -55,19 +55,19 @@ import {Attribute} from '/snippets/Attribute.mdx';
### parent_class
-Class | None> } description="Find the class this node is contained in" />
+Class | None> } description="Find the class this node is contained in" />
### parent_function
-Function | None> } description="Find the function this node is contained in" />
+Function | None> } description="Find the function this node is contained in" />
### parent_statement
-Statement | None> } description="Find the statement this node is contained in" />
+Statement | None> } description="Find the statement this node is contained in" />
### resolved_value
-Expression | list[ Expression ]> } description="Returns the resolved type of an Expression." />
+Expression | list[ Expression ]> } description="Returns the resolved type of an Expression." />
### source
@@ -80,11 +80,11 @@ import {Attribute} from '/snippets/Attribute.mdx';
### value
-Expression | None> } description="Gets the value node of the object." />
+Expression | None> } description="Gets the value node of the object." />
### variable_usages
-list[ Editable ]> } description="Returns Editables for all TreeSitter node instances of variable usages within this node's" />
+list[ Editable ]> } description="Returns Editables for all TreeSitter node instances of variable usages within this node's" />
## Methods
@@ -94,7 +94,7 @@ Find all ancestors of the node of the given type. Does not return itself
-list[ Editable ]> } description=""/>
+list[ Editable ]> } description=""/>
### edit
@@ -152,7 +152,7 @@ Find and return matching nodes or substrings within an Editable instance.
-list[ Editable ]> } description="A list of Editable instances that match the search criteria."/>
+list[ Editable ]> } description="A list of Editable instances that match the search criteria."/>
### find_string_literals
@@ -175,7 +175,7 @@ Returns a list of string literals within this node's source that match any of th
-list[ Editable ]> } description="A list of Editable objects representing the matching string literals."/>
+list[ Editable ]> } description="A list of Editable objects representing the matching string literals."/>
### flag
@@ -183,7 +183,7 @@ Adds a visual flag comment to the end of this Editable's source text.
-CodeFlag[ AwaitExpression ]> } description=""/>
+CodeFlag[ AwaitExpression ]> } description=""/>
### get_variable_usages
@@ -206,7 +206,7 @@ Returns Editables for all TreeSitter nodes corresponding to instances of variabl
-list[ Editable ]> } description="List of Editable objects representing variable usage nodes matching the given name."/>
+list[ Editable ]> } description="List of Editable objects representing variable usage nodes matching the given name."/>
### insert_after
@@ -304,7 +304,7 @@ Find the first ancestor of the node of the given type. Does not return itself
-Editable | None> } description=""/>
+Editable | None> } description=""/>
### reduce_condition
@@ -419,7 +419,7 @@ Returns a list of all regex match of `regex_pattern`, similar to python's re.sea
-list[ Editable ]> } description="A list of Editable objects corresponding to the matches found."/>
+list[ Editable ]> } description="A list of Editable objects corresponding to the matches found."/>
### set_value
diff --git a/docs/api-reference/core/BinaryExpression.mdx b/docs/api-reference/core/BinaryExpression.mdx
index 2e56e1837..a6a67334c 100644
--- a/docs/api-reference/core/BinaryExpression.mdx
+++ b/docs/api-reference/core/BinaryExpression.mdx
@@ -20,7 +20,7 @@ import {Attribute} from '/snippets/Attribute.mdx';
### elements
-list[ Expression [ BinaryExpression ]]> } description="Returns all elements in a binary expression chain." />
+list[ Expression [ BinaryExpression ]]> } description="Returns all elements in a binary expression chain." />
### extended
@@ -45,11 +45,11 @@ import {Attribute} from '/snippets/Attribute.mdx';
### function_calls
-list[ FunctionCall ]> } description="Returns a list of all function calls contained within this expression." />
+list[ FunctionCall ]> } description="Returns a list of all function calls contained within this expression." />
### left
-Expression [ ComparisonExpression ] | None> } description="
+Expression [ ComparisonExpression ] | None> } description="
" />
### node_type
@@ -59,7 +59,7 @@ import {Attribute} from '/snippets/Attribute.mdx';
### operators
-list[ ExpressionGroup [ Expression [ BinaryExpression ], BinaryExpression ]]> } description="Returns a list of operators in a chain of binary operations." />
+list[ ExpressionGroup [ Expression [ BinaryExpression ], BinaryExpression ]]> } description="Returns a list of operators in a chain of binary operations." />
### parent
@@ -68,23 +68,23 @@ import {Attribute} from '/snippets/Attribute.mdx';
### parent_class
-Class | None> } description="Find the class this node is contained in" />
+Class | None> } description="Find the class this node is contained in" />
### parent_function
-Function | None> } description="Find the function this node is contained in" />
+Function | None> } description="Find the function this node is contained in" />
### parent_statement
-Statement | None> } description="Find the statement this node is contained in" />
+Statement | None> } description="Find the statement this node is contained in" />
### resolved_value
-Expression | list[ Expression ]> } description="Returns the resolved type of an Expression." />
+Expression | list[ Expression ]> } description="Returns the resolved type of an Expression." />
### right
-Expression [ ComparisonExpression ] | None> } description="
+Expression [ ComparisonExpression ] | None> } description="
" />
### source
@@ -98,7 +98,7 @@ import {Attribute} from '/snippets/Attribute.mdx';
### variable_usages
-list[ Editable ]> } description="Returns Editables for all TreeSitter node instances of variable usages within this node's" />
+list[ Editable ]> } description="Returns Editables for all TreeSitter node instances of variable usages within this node's" />
## Methods
@@ -108,7 +108,7 @@ Find all ancestors of the node of the given type. Does not return itself
-list[ Editable ]> } description=""/>
+list[ Editable ]> } description=""/>
### edit
@@ -166,7 +166,7 @@ Find and return matching nodes or substrings within an Editable instance.
-list[ Editable ]> } description="A list of Editable instances that match the search criteria."/>
+list[ Editable ]> } description="A list of Editable instances that match the search criteria."/>
### find_string_literals
@@ -189,7 +189,7 @@ Returns a list of string literals within this node's source that match any of th
-list[ Editable ]> } description="A list of Editable objects representing the matching string literals."/>
+list[ Editable ]> } description="A list of Editable objects representing the matching string literals."/>
### flag
@@ -197,7 +197,7 @@ Adds a visual flag comment to the end of this Editable's source text.
-CodeFlag[ BinaryExpression ]> } description=""/>
+CodeFlag[ BinaryExpression ]> } description=""/>
### get_variable_usages
@@ -220,7 +220,7 @@ Returns Editables for all TreeSitter nodes corresponding to instances of variabl
-list[ Editable ]> } description="List of Editable objects representing variable usage nodes matching the given name."/>
+list[ Editable ]> } description="List of Editable objects representing variable usage nodes matching the given name."/>
### insert_after
@@ -318,7 +318,7 @@ Find the first ancestor of the node of the given type. Does not return itself
-Editable | None> } description=""/>
+Editable | None> } description=""/>
### reduce_condition
@@ -434,7 +434,7 @@ Returns a list of all regex match of `regex_pattern`, similar to python's re.sea
-list[ Editable ]> } description="A list of Editable objects corresponding to the matches found."/>
+list[ Editable ]> } description="A list of Editable objects corresponding to the matches found."/>
diff --git a/docs/api-reference/core/BlockStatement.mdx b/docs/api-reference/core/BlockStatement.mdx
index 4e922362a..9b9f4f432 100644
--- a/docs/api-reference/core/BlockStatement.mdx
+++ b/docs/api-reference/core/BlockStatement.mdx
@@ -20,16 +20,16 @@ import {Attribute} from '/snippets/Attribute.mdx';
### code_block
-CodeBlock | None> } description="
+CodeBlock | None> } description="
" />
### decorators
-list[ Decorator ]> } description="Returns list of all decorators on this Symbol." />
+list[ Decorator ]> } description="Returns list of all decorators on this Symbol." />
### docstring
-CommentGroup | None> } description="Retrieves the docstring of the expression." />
+CommentGroup | None> } description="Retrieves the docstring of the expression." />
### extended
@@ -54,7 +54,7 @@ import {Attribute} from '/snippets/Attribute.mdx';
### function_calls
-list[ FunctionCall ]> } description="Gets all function calls within the statement's code block." />
+list[ FunctionCall ]> } description="Gets all function calls within the statement's code block." />
### index
@@ -66,11 +66,11 @@ import {Attribute} from '/snippets/Attribute.mdx';
### nested_code_blocks
-list[ CodeBlock ]> } description="Returns all nested CodeBlocks within the statement." />
+list[ CodeBlock ]> } description="Returns all nested CodeBlocks within the statement." />
### nested_statements
-list[ MultiLineCollection [ Statement [ BlockStatement ], Editable ]]> } description="Returns a list of statement collections within nested code blocks." />
+list[ MultiLineCollection [ Statement [ BlockStatement ], Editable ]]> } description="Returns a list of statement collections within nested code blocks." />
### node_type
@@ -84,19 +84,19 @@ import {Attribute} from '/snippets/Attribute.mdx';
### parent_class
-Class | None> } description="Find the class this node is contained in" />
+Class | None> } description="Find the class this node is contained in" />
### parent_function
-Function | None> } description="Find the function this node is contained in" />
+Function | None> } description="Find the function this node is contained in" />
### parent_statement
-Statement | None> } description="Find the statement this node is contained in" />
+Statement | None> } description="Find the statement this node is contained in" />
### resolved_value
-Expression | list[ Expression ]> } description="Returns the resolved type of an Expression." />
+Expression | list[ Expression ]> } description="Returns the resolved type of an Expression." />
### source
@@ -114,7 +114,7 @@ import {Attribute} from '/snippets/Attribute.mdx';
### variable_usages
-list[ Editable ]> } description="Returns Editables for all TreeSitter node instances of variable usages within this node's" />
+list[ Editable ]> } description="Returns Editables for all TreeSitter node instances of variable usages within this node's" />
## Methods
@@ -147,7 +147,7 @@ Find all ancestors of the node of the given type. Does not return itself
-list[ Editable ]> } description=""/>
+list[ Editable ]> } description=""/>
### edit
@@ -205,7 +205,7 @@ Find and return matching nodes or substrings within an Editable instance.
-list[ Editable ]> } description="A list of Editable instances that match the search criteria."/>
+