@@ -11,7 +11,7 @@ import {HorizontalDivider} from '/snippets/HorizontalDivider.mdx';
1111import {GithubLinkNote } from ' /snippets/GithubLinkNote.mdx' ;
1212import {Attribute } from ' /snippets/Attribute.mdx' ;
1313
14- <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/mintlify-doc-fix /src/codegen/sdk/core/detached_symbols/argument.py#L30-L155" />
14+ <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/develop /src/codegen/sdk/core/detached_symbols/argument.py#L30-L155" />
1515
1616### Inherits from
1717[ HasValue] ( /api-reference/core/HasValue ) , [ Expression] ( /api-reference/core/Expression ) , [ HasName] ( /api-reference/core/HasName ) , [ Editable] ( /api-reference/core/Editable )
@@ -111,7 +111,7 @@ import {Attribute} from '/snippets/Attribute.mdx';
111111<HorizontalDivider />
112112### <span className = " text-primary" >add_keyword</span >
113113Converts an unnamed argument to a named argument by adding a keyword.
114- <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/mintlify-doc-fix /src/codegen/sdk/core/detached_symbols/argument.py#L105-L120" />
114+ <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/develop /src/codegen/sdk/core/detached_symbols/argument.py#L105-L120" />
115115
116116<ParameterWrapper >
117117<Parameter
@@ -128,15 +128,15 @@ Converts an unnamed argument to a named argument by adding a keyword.
128128
129129### <span className = " text-primary" >ancestors</span >
130130Find all ancestors of the node of the given type. Does not return itself
131- <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/mintlify-doc-fix /src/codegen/sdk/core/interfaces/editable.py#L1082-L1090" />
131+ <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/develop /src/codegen/sdk/core/interfaces/editable.py#L1082-L1090" />
132132
133133
134134<Return return_type = { <><span className = " text-gray-200" >list[</span > <a href = " /api-reference/core/Editable" style = { {fontWeight: " inherit" , fontSize: " inherit" } } >Editable</a > <span className = " text-gray-200" >]</span ></> } description = " " />
135135
136136
137137### <span className = " text-primary" >edit</span >
138138Replace the source of this ` Editable ` with ` new_src ` .
139- <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/mintlify-doc-fix /src/codegen/sdk/core/interfaces/editable.py#L626-L654" />
139+ <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/develop /src/codegen/sdk/core/interfaces/editable.py#L626-L654" />
140140
141141<ParameterWrapper >
142142<Parameter
@@ -171,7 +171,7 @@ Replace the source of this `Editable` with `new_src`.
171171
172172### <span className = " text-primary" >find</span >
173173Find and return matching nodes or substrings within an Editable instance.
174- <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/mintlify-doc-fix /src/codegen/sdk/core/interfaces/editable.py#L476-L493" />
174+ <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/develop /src/codegen/sdk/core/interfaces/editable.py#L476-L493" />
175175
176176<ParameterWrapper >
177177<Parameter
@@ -194,7 +194,7 @@ Find and return matching nodes or substrings within an Editable instance.
194194
195195### <span className = " text-primary" >find_string_literals</span >
196196Returns a list of string literals within this node's source that match any of the given
197- <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/mintlify-doc-fix /src/codegen/sdk/core/interfaces/editable.py#L388-L402" />
197+ <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/develop /src/codegen/sdk/core/interfaces/editable.py#L388-L402" />
198198
199199<ParameterWrapper >
200200<Parameter
@@ -217,23 +217,23 @@ Returns a list of string literals within this node's source that match any of th
217217
218218### <span className = " text-primary" >flag</span >
219219Adds a visual flag comment to the end of this Editable's source text.
220- <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/mintlify-doc-fix /src/codegen/sdk/core/interfaces/editable.py#L920-L931" />
220+ <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/develop /src/codegen/sdk/core/interfaces/editable.py#L920-L931" />
221221
222222
223223<Return return_type = { <><span className = " text-gray-200" >CodeFlag[</span > <a href = " /api-reference/core/Argument" style = { {fontWeight: " inherit" , fontSize: " inherit" } } >Argument</a > <span className = " text-gray-200" >]</span ></> } description = " " />
224224
225225
226226### <span className = " text-primary" >get_name</span >
227227Returns the name node of the object.
228- <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/mintlify-doc-fix /src/codegen/sdk/core/interfaces/has_name.py#L52-L62" />
228+ <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/develop /src/codegen/sdk/core/interfaces/has_name.py#L52-L62" />
229229
230230
231231<Return return_type = { <><a href = " /api-reference/core/Name" style = { {fontWeight: " inherit" , fontSize: " inherit" } } >Name</a > <span className = " text-gray-200" >|</span > <a href = " /api-reference/core/ChainedAttribute" style = { {fontWeight: " inherit" , fontSize: " inherit" } } >ChainedAttribute</a > <span className = " text-gray-200" >| None</span ></> } 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." />
232232
233233
234234### <span className = " text-primary" >get_variable_usages</span >
235235Returns Editables for all TreeSitter nodes corresponding to instances of variable usage
236- <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/mintlify-doc-fix /src/codegen/sdk/core/interfaces/editable.py#L896-L912" />
236+ <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/develop /src/codegen/sdk/core/interfaces/editable.py#L896-L912" />
237237
238238<ParameterWrapper >
239239<Parameter
@@ -256,7 +256,7 @@ Returns Editables for all TreeSitter nodes corresponding to instances of variabl
256256
257257### <span className = " text-primary" >insert_after</span >
258258Inserts code after this node.
259- <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/mintlify-doc-fix /src/codegen/sdk/core/interfaces/editable.py#L597-L623" />
259+ <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/develop /src/codegen/sdk/core/interfaces/editable.py#L597-L623" />
260260
261261<ParameterWrapper >
262262<Parameter
@@ -297,7 +297,7 @@ Inserts code after this node.
297297
298298### <span className = " text-primary" >insert_before</span >
299299Inserts text before this node's source with optional indentation and newline handling.
300- <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/mintlify-doc-fix /src/codegen/sdk/core/interfaces/editable.py#L564-L594" />
300+ <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/develop /src/codegen/sdk/core/interfaces/editable.py#L564-L594" />
301301
302302<ParameterWrapper >
303303<Parameter
@@ -338,31 +338,31 @@ Inserts text before this node's source with optional indentation and newline han
338338
339339### <span className = " text-primary" >is_wrapped_in</span >
340340Check if this node is contained another node of the given class
341- <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/mintlify-doc-fix /src/codegen/sdk/core/interfaces/editable.py#L1068-L1070" />
341+ <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/develop /src/codegen/sdk/core/interfaces/editable.py#L1068-L1070" />
342342
343343
344344<Return return_type = { <code className = " text-sm bg-gray-100 px-2 py-0.5 rounded" >bool</code > } description = " " />
345345
346346
347347### <span className = " text-primary" >parent_of_type</span >
348348Find the first ancestor of the node of the given type. Does not return itself
349- <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/mintlify-doc-fix /src/codegen/sdk/core/interfaces/editable.py#L1073-L1079" />
349+ <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/develop /src/codegen/sdk/core/interfaces/editable.py#L1073-L1079" />
350350
351351
352352<Return return_type = { <><a href = " /api-reference/core/Editable" style = { {fontWeight: " inherit" , fontSize: " inherit" } } >Editable</a > <span className = " text-gray-200" >| None</span ></> } description = " " />
353353
354354
355355### <span className = " text-primary" >reduce_condition</span >
356356Reduces an editable to the following condition
357- <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/mintlify-doc-fix /src/codegen/sdk/core/interfaces/editable.py#L1024-L1029" />
357+ <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/develop /src/codegen/sdk/core/interfaces/editable.py#L1024-L1029" />
358358
359359
360360<Return return_type = { <code className = " text-sm bg-gray-100 px-2 py-0.5 rounded" >None</code > } description = " " />
361361
362362
363363### <span className = " text-primary" >remove</span >
364364Deletes this Node and its related extended nodes (e.g. decorators, comments).
365- <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/mintlify-doc-fix /src/codegen/sdk/core/interfaces/editable.py#L676-L691" />
365+ <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/develop /src/codegen/sdk/core/interfaces/editable.py#L676-L691" />
366366
367367<ParameterWrapper >
368368<Parameter
@@ -391,7 +391,7 @@ Deletes this Node and its related extended nodes (e.g. decorators, comments).
391391
392392### <span className = " text-primary" >rename</span >
393393Sets the name of an object and updates all its usages.
394- <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/mintlify-doc-fix /src/codegen/sdk/core/interfaces/has_name.py#L80-L89" />
394+ <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/develop /src/codegen/sdk/core/interfaces/has_name.py#L80-L89" />
395395
396396<ParameterWrapper >
397397<Parameter
@@ -408,7 +408,7 @@ Sets the name of an object and updates all its usages.
408408
409409### <span className = " text-primary" >replace</span >
410410Search and replace occurrences of text within this node's source and its extended nodes.
411- <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/mintlify-doc-fix /src/codegen/sdk/core/interfaces/editable.py#L421-L445" />
411+ <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/develop /src/codegen/sdk/core/interfaces/editable.py#L421-L445" />
412412
413413<ParameterWrapper >
414414<Parameter
@@ -449,7 +449,7 @@ Search and replace occurrences of text within this node's source and its extende
449449
450450### <span className = " text-primary" >search</span >
451451Returns a list of all regex match of ` regex_pattern ` , similar to python's re.search().
452- <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/mintlify-doc-fix /src/codegen/sdk/core/interfaces/editable.py#L509-L525" />
452+ <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/develop /src/codegen/sdk/core/interfaces/editable.py#L509-L525" />
453453
454454<ParameterWrapper >
455455<Parameter
@@ -478,7 +478,7 @@ Returns a list of all regex match of `regex_pattern`, similar to python's re.sea
478478
479479### <span className = " text-primary" >set_name</span >
480480Sets the name of a code element.
481- <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/mintlify-doc-fix /src/codegen/sdk/core/interfaces/has_name.py#L65-L77" />
481+ <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/develop /src/codegen/sdk/core/interfaces/has_name.py#L65-L77" />
482482
483483<ParameterWrapper >
484484<Parameter
@@ -495,7 +495,7 @@ Sets the name of a code element.
495495
496496### <span className = " text-primary" >set_value</span >
497497Sets the value of the node's value Expression.
498- <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/mintlify-doc-fix /src/codegen/sdk/core/interfaces/has_value.py#L23-L35" />
498+ <GithubLinkNote link = " https://github.com/codegen-sh/codegen-sdk/blob/develop /src/codegen/sdk/core/interfaces/has_value.py#L23-L35" />
499499
500500<ParameterWrapper >
501501<Parameter
0 commit comments