Structure of the class declaration to add.
Adds class declarations as a child.
Structures of the class declarations to add.
Adds an enum declaration as a child.
Structure of the enum declaration to add.
Adds enum declarations as a child.
Structures of the enum declarations to add.
Adds a function declaration as a child.
Structure of the function declaration to add.
Adds function declarations as a child.
Structures of the function declarations to add.
Adds a interface declaration as a child.
Structure of the interface declaration to add.
Adds interface declarations as a child.
Structures of the interface declarations to add.
Adds a JS doc.
Structure to add.
Adds JS docs.
Structures to add.
Adds a module declaration as a child.
Structure of the namespace declaration to add.
Adds module declarations as a child.
Structures of the namespace declarations to add.
Adds a parameter.
Structure of the parameter.
Adds parameters.
Structures of the parameters.
Add statements.
statements to add.
The statements that were added.
Adds a type alias declaration as a child.
Structure of the type alias declaration to add.
Adds type alias declarations as a child.
Structures of the type alias declarations to add.
Adds a type parameter.
Structure of the type parameter.
Adds type parameters.
Structures of the type parameters.
Adds a variable statement.
Structure of the variable statement.
Adds variable statements.
Structures of the variable statements.
Gets a class.
Function to use to find the class.
Gets the direct class declaration children.
Gets a class or throws if it doesn't exist.
Name of the class.
Gets a class or throws if it doesn't exist.
Function to use to find the class.
Gets an enum.
Function to use to find the enum.
Gets an enum or throws if it doesn't exist.
Name of the enum.
Gets an enum or throws if it doesn't exist.
Function to use to find the enum.
Gets the direct enum declaration children.
Gets the first modifier of the specified syntax kind or undefined if none found.
Syntax kind.
Gets the first modifier of the specified syntax kind or throws if none found.
Syntax kind.
Gets a function.
Name of the function.
Gets a function.
Function to use to find the function.
Gets a function or throws if it doesn't exist.
Name of the function.
Gets a function or throws if it doesn't exist.
Function to use to find the function.
Gets the direct function declaration children.
Gets an interface.
Name of the interface.
Gets an interface.
Function to use to find the interface.
Gets an interface or throws if it doesn't exist.
Name of the interface.
Gets an interface or throws if it doesn't exist.
Function to use to find the interface.
Gets the direct interface declaration children.
Gets the JS doc nodes.
Gets a module declaration child by name.
Name of the namespace.
Gets a module declaration child by condition.
Function to use to find the namespace.
Gets a module declaration child by name or throws if it doesn't exist.
Name of the namespace.
Gets a module declaration child by condition or throws if it doesn't exist.
Function to use to find the namespace.
Gets the module declaration children.
Gets a parameter or undefined if it doesn't exist.
Name of the parameter.
Gets a parameter or undefined if it doesn't exist.
Function to use to find the parameter.
Gets a parameter or throws if it doesn't exist.
Name of the parameter.
Gets a parameter or throws if it doesn't exist.
Function to use to find the parameter.
Gets all the parameters of the node.
Gets the return type.
Gets the return type node or throws if none exists.
Optionalmessage: string | (() => string)Gets the signature of the node from the type checker.
Gets the first statement that matches the provided syntax kind or returns undefined if it doesn't exist.
Syntax kind to find the node by.
Gets the first statement that matches the provided syntax kind or throws if it doesn't exist.
Syntax kind to find the node by.
Gets a type alias.
Name of the type alias.
Gets a type alias.
Function to use to find the type alias.
Gets the direct type alias declaration children.
Gets a type alias or throws if it doesn't exist.
Name of the type alias.
Gets a type alias or throws if it doesn't exist.
Function to use to find the type alias.
Gets a type parameter or undefined if it doesn't exist.
Name of the parameter.
Gets a type parameter or undefined if it doesn't exist.
Function to use to find the type parameter.
Gets a type parameter or throws if it doesn't exist.
Name of the parameter.
Gets a type parameter or throws if it doesn't exist.
Function to use to find the type parameter.
Gets the type parameters.
Gets a variable declaration.
Name of the variable declaration.
Gets a variable declaration.
Function to use to find the variable declaration.
Gets a variable declaration or throws if it doesn't exist.
Name of the variable declaration.
Gets a variable declaration or throws if it doesn't exist.
Function to use to find the variable declaration.
Gets all the variable declarations within the variable statement children.
Gets a variable statement.
Name of one of the variable statement's declarations.
Gets a variable statement.
Function to use to find the variable statement.
Gets a variable statement or throws if it doesn't exist.
Name of one of the variable statement's declarations.
Gets a variable statement or throws if it doesn't exist.
Function to use to find the variable statement.
Gets the direct variable statement children.
Gets if it has the specified modifier.
Syntax kind to check for.
Gets if it has the specified modifier.
Text to check for.
Inserts an class declaration as a child.
Child index to insert at.
Structure of the class declaration to insert.
Inserts class declarations as a child.
Child index to insert at.
Structures of the class declarations to insert.
Inserts an enum declaration as a child.
Child index to insert at.
Structure of the enum declaration to insert.
Inserts enum declarations as a child.
Child index to insert at.
Structures of the enum declarations to insert.
Inserts an function declaration as a child.
Child index to insert at.
Structure of the function declaration to insert.
Inserts function declarations as a child.
Child index to insert at.
Structures of the function declarations to insert.
Inserts an interface declaration as a child.
Child index to insert at.
Structure of the interface declaration to insert.
Inserts interface declarations as a child.
Child index to insert at.
Structures of the interface declarations to insert.
Inserts a JS doc.
Child index to insert at.
Structure to insert.
Inserts JS docs.
Child index to insert at.
Structures to insert.
Inserts a module declaration as a child.
Child index to insert at.
Structure of the namespace declaration to insert.
Inserts module declarations as children.
Child index to insert at.
Structures of the namespace declarations to insert.
Inserts a parameter.
Child index to insert at.
Inserts parameters.
Child index to insert at.
Parameters to insert.
Inserts statements at the specified index.
Child index to insert at.
Statements to insert.
The statements that were inserted.
Inserts an type alias declaration as a child.
Child index to insert at.
Structure of the type alias declaration to insert.
Inserts type alias declarations as a child.
Child index to insert at.
Structures of the type alias declarations to insert.
Inserts a type parameter.
Child index to insert at. Specify a negative index to insert from the reverse.
Structure of the type parameter.
Inserts type parameters.
Child index to insert at. Specify a negative index to insert from the reverse.
Structures of the type parameters.
Inserts a variable statement.
Structure of the variable statement.
Inserts variable statements.
Structures of the variable statements.
Removes the return type.
Removes the statement at the specified index.
Child index to remove the statement at.
Removes the statements at the specified index range.
The start and end inclusive index range to remove.
Sets the return type of the node.
Text or writer function to set the return type with.
Toggles a modifier.
Text to toggle the modifier for.
Optionalvalue: booleanOptional toggling value.
Adds an class declaration as a child.