Optionalstructure: OptionalKind<ConstructorDeclarationStructure>Structure of the constructor.
Adds constructors.
Structures of the constructor.
Adds a decorator.
Structure of the decorator.
Adds decorators.
Structures of the decorators.
Add get accessor.
Structure representing the get accessor.
Add properties.
Structures representing the properties.
Adds an implements clause.
Text to add for the implements clause.
Adds multiple implements clauses.
Texts to add for the implements clause.
Adds a JS doc.
Structure to add.
Adds JS docs.
Structures to add.
Inserts a class member.
Class member to insert.
Inserts class members.
Collection of class members to insert.
Add method.
Structure representing the method.
Add methods.
Structures representing the methods.
Add properties.
Structures representing the properties.
Add property.
Structure representing the property.
Add set accessor.
Structure representing the set accessor.
Add properties.
Structures representing the properties.
Adds a static block.
Optionalstructure: OptionalKind<ClassStaticBlockDeclarationStructure>Structure of the static block.
Adds static block.
Structures of the static block.
Adds a type parameter.
Structure of the type parameter.
Adds type parameters.
Structures of the type parameters.
Finds the references of the definition of the node.
Gets the abstract keyword or throws if it doesn't exist.
Optionalmessage: string | (() => string)Gets the base class.
Note: Use getBaseTypes if you need to get the mixins.
Gets the base class or throws.
Note: Use getBaseTypes if you need to get the mixins.
Optionalmessage: string | (() => string)Gets the constructor declarations.
Gets a decorator or undefined if it doesn't exist.
Name of the parameter.
Gets a decorator or throws if it doesn't exist.
Name of the parameter.
Gets all the decorators of the node.
Gets all the derived classes.
Gets the extends expression or returns undefined if it doesn't exist.
Gets the extends expression or throws if it doesn't exist.
Optionalmessage: string | (() => string)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 the first get accessor declaration by name.
Name.
Gets the first get accessor declaration by a find function.
Function to find a get accessor declaration by.
Gets the first get accessor declaration by name or throws if it doesn't exist.
Name.
Gets the first get accessor declaration by a find function or throws if it doesn't exist.
Function to find a get accessor declaration by.
Gets the class get accessor declarations regardless of whether it's an instance of static getAccessor.
Gets the heritage clause by kind.
Gets the heritage clause by kind or throws if it doesn't exist.
Gets the heritage clauses of the node.
Gets the implements clauses.
Gets the first instance member by name.
Name.
Gets the first instance member by a find function.
Function to find the instance member by.
Gets the first instance member by name or throws if not found.
Name.
Gets the first instance member by a find function. or throws if not found.
Function to find the instance member by.
Gets the instance members.
Gets the first instance method by name.
Name.
Gets the first instance method by a find function.
Function to find an instance method by.
Gets the first instance method by name or throws if not found.
Name.
Gets the first instance method by a find function. or throws if not found.
Function to find an instance method by.
Gets the class instance method declarations.
Gets the class instance property declarations.
Gets the first instance property by name.
Name.
Gets the first instance property by a find function.
Function to find an instance property by.
Gets the first instance property by name or throws if not found.
Name.
Gets the first instance property by a find function or throws if not found.
Function to find an instance property by.
Gets the JS doc nodes.
Gets the first member by a find function.
Function to find an method by.
Gets the first member by name or throws if not found.
Name.
Gets the first member by a find function. or throws if not found.
Function to find an method by.
Gets the class' members regardless of whether it's an instance of static member.
Gets the class' members with comment class elements.
Gets the first method declaration by name.
Name.
Gets the first method declaration by a find function.
Function to find a method declaration by.
Gets the first method declaration by name or throws if it doesn't exist.
Name.
Gets the first method declaration by a find function or throws if it doesn't exist.
Function to find a method declaration by.
Gets the class method declarations regardless of whether it's an instance of static method.
Gets the name if it exists.
Gets the name node if it exists.
Gets the name node if it exists, or throws.
Optionalmessage: string | (() => string)Gets the name if it exists, or throws.
Optionalmessage: string | (() => string)Gets the class property declarations regardless of whether it's an instance of static property.
Gets the first property declaration by name.
Name.
Gets the first property declaration by a find function.
Function to find a property declaration by.
Gets the first property declaration by name or throws if it doesn't exist.
Name.
Gets the first property declaration by a find function or throws if it doesn't exist.
Function to find a property declaration by.
Sets the first set accessor declaration by name.
Name.
Sets the first set accessor declaration by a find function.
Function to find a set accessor declaration by.
Sets the first set accessor declaration by name or throws if it doesn't exist.
Name.
Sets the first set accessor declaration by a find function or throws if it doesn't exist.
Function to find a set accessor declaration by.
Sets the class set accessor declarations regardless of whether it's an instance of static setAccessor.
Gets the static blocks.
Gets the first static member by name.
Name.
Gets the first static member by a find function.
Function to find an static method by.
Gets the first static member by name or throws if not found.
Name.
Gets the first static member by a find function. or throws if not found.
Function to find an static method by.
Gets the static members.
Gets the first static method by name.
Name.
Gets the first static method by a find function.
Function to find a static method by.
Gets the first static method by name or throws if not found.
Name.
Gets the first static method by a find function. or throws if not found.
Function to find a static method by.
Gets the class instance method declarations.
Gets the class instance property declarations.
Gets the first static property by name.
Name.
Gets the first static property by a find function.
Function to find a static property by.
Gets the first static property by name or throws if not found.
Name.
Gets the first static property by a find function. or throws if not found.
Function to find a static property by.
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 if it has the specified modifier.
Syntax kind to check for.
Gets if it has the specified modifier.
Text to check for.
Inserts a constructor.
Child index to insert at.
Optionalstructure: OptionalKind<ConstructorDeclarationStructure>Structure of the constructor.
Inserts constructors.
Child index to insert at.
Structures of the constructor.
Inserts a decorator.
Child index to insert at. Specify a negative index to insert from the reverse.
Structure of the decorator.
Insert decorators.
Child index to insert at.
Structures to insert.
Insert get accessor.
Child index to insert at.
Structure representing the get accessor.
Insert properties.
Child index to insert at.
Structures representing the properties.
Inserts an implements clause.
Inserts multiple implements clauses.
Texts to insert for the implements clause.
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 class member.
Child index to insert at.
Class member to insert.
Inserts class members.
Child index to insert at.
Collection of class members to insert.
Insert method.
Child index to insert at.
Structure representing the method.
Insert methods.
Child index to insert at.
Structures representing the methods.
Insert properties.
Child index to insert at.
Structures representing the properties.
Insert property.
Child index to insert at.
Structure representing the property.
Insert set accessor.
Child index to insert at.
Structure representing the set accessor.
Insert properties.
Child index to insert at.
Structures representing the properties.
Inserts a static block.
Child index to insert at.
Optionalstructure: OptionalKind<ClassStaticBlockDeclarationStructure>Structure of the static block.
Inserts static blocks.
Child index to insert at.
Structures of the static blocks.
Inserts text within the body of the node.
WARNING: This will forget any previously navigated descendant nodes.
Position to insert at.
Text 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.
Gets if the node is abstract.
Removes the extends expression, if it exists.
Removes the implements at the specified index.
Index to remove.
Removes the specified implements.
Node of the implements to remove.
Removes the name from the node.
Removes all the text within the node
Removes text within the body of the node.
WARNING: This will forget any previously navigated descendant nodes.
Start position to remove.
End position to remove.
Renames the name of the node.
New name.
Optionaloptions: RenameOptionsOptions for renaming.
Replaces text within the body of the node.
WARNING: This will forget any previously navigated descendant nodes.
Start and end position of the text to replace.
Text to replace the range with.
Sets the extends expression.
Text to set as the extends expression.
Sets if the node is abstract.
If it should be abstract or not.
Toggles a modifier.
Text to toggle the modifier for.
Optionalvalue: booleanOptional toggling value.
Adds a constructor.