NodeFactory

sealed external interface NodeFactory(source)

Functions

Link copied to clipboard
abstract fun createAdd(left: Expression, right: Expression): BinaryExpression
Link copied to clipboard
abstract fun createArrayLiteralExpression(elements: ReadonlyArray<Expression> = definedExternally, multiLine: Boolean = definedExternally): ArrayLiteralExpression
Link copied to clipboard
abstract fun createArrayTypeNode(elementType: TypeNode): ArrayTypeNode
Link copied to clipboard
abstract fun createArrowFunction(modifiers: ReadonlyArray<Modifier>?, typeParameters: ReadonlyArray<TypeParameterDeclaration>?, parameters: ReadonlyArray<ParameterDeclaration>, type: TypeNode?, equalsGreaterThanToken: EqualsGreaterThanToken?, body: ConciseBody): ArrowFunction
Link copied to clipboard
abstract fun createAsExpression(expression: Expression, type: TypeNode): AsExpression
Link copied to clipboard
abstract fun createAssertClause(elements: NodeArray<AssertEntry>, multiLine: Boolean = definedExternally): AssertClause
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createBindingElement(dotDotDotToken: DotDotDotToken?, propertyName: String?, name: String, initializer: Expression = definedExternally): BindingElement
abstract fun createBindingElement(dotDotDotToken: DotDotDotToken?, propertyName: String?, name: BindingName, initializer: Expression = definedExternally): BindingElement
abstract fun createBindingElement(dotDotDotToken: DotDotDotToken?, propertyName: PropertyName?, name: String, initializer: Expression = definedExternally): BindingElement
abstract fun createBindingElement(dotDotDotToken: DotDotDotToken?, propertyName: PropertyName?, name: BindingName, initializer: Expression = definedExternally): BindingElement
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createBlock(statements: ReadonlyArray<Statement>, multiLine: Boolean = definedExternally): Block
Link copied to clipboard
abstract fun createBreakStatement(label: String = definedExternally): BreakStatement
abstract fun createBreakStatement(label: Identifier = definedExternally): BreakStatement
Link copied to clipboard
abstract fun createBundle(sourceFiles: ReadonlyArray<SourceFile>): Bundle
abstract fun createBundle(sourceFiles: ReadonlyArray<SourceFile>, prepends: ReadonlyArray<NodeFactoryCreateBundlePrependsItem> = definedExternally): Bundle
Link copied to clipboard
abstract fun createCallChain(expression: Expression, questionDotToken: QuestionDotToken?, typeArguments: ReadonlyArray<TypeNode>?, argumentsArray: ReadonlyArray<Expression>?): CallChain
Link copied to clipboard
abstract fun createCallExpression(expression: Expression, typeArguments: ReadonlyArray<TypeNode>?, argumentsArray: ReadonlyArray<Expression>?): CallExpression
Link copied to clipboard
Link copied to clipboard
abstract fun createCaseClause(expression: Expression, statements: ReadonlyArray<Statement>): CaseClause
Link copied to clipboard
abstract fun createCatchClause(variableDeclaration: String?, block: Block): CatchClause
abstract fun createCatchClause(variableDeclaration: BindingName?, block: Block): CatchClause
abstract fun createCatchClause(variableDeclaration: VariableDeclaration?, block: Block): CatchClause
Link copied to clipboard
abstract fun createComma(left: Expression, right: Expression): BinaryExpression
Link copied to clipboard
Link copied to clipboard
abstract fun createConditionalExpression(condition: Expression, questionToken: QuestionToken?, whenTrue: Expression, colonToken: ColonToken?, whenFalse: Expression): ConditionalExpression
Link copied to clipboard
abstract fun createConditionalTypeNode(checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, falseType: TypeNode): ConditionalTypeNode
Link copied to clipboard
abstract fun createContinueStatement(label: String = definedExternally): ContinueStatement
abstract fun createContinueStatement(label: Identifier = definedExternally): ContinueStatement
Link copied to clipboard
Link copied to clipboard
abstract fun createDecorator(expression: Expression): Decorator
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createDivide(left: Expression, right: Expression): BinaryExpression
Link copied to clipboard
abstract fun createDoStatement(statement: Statement, expression: Expression): DoStatement
Link copied to clipboard
abstract fun createElementAccessChain(expression: Expression, questionDotToken: QuestionDotToken?, index: Double): ElementAccessChain
abstract fun createElementAccessChain(expression: Expression, questionDotToken: QuestionDotToken?, index: Expression): ElementAccessChain
Link copied to clipboard
Link copied to clipboard
abstract fun createEnumMember(name: String, initializer: Expression = definedExternally): EnumMember
abstract fun createEnumMember(name: PropertyName, initializer: Expression = definedExternally): EnumMember
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createExportAssignment(modifiers: ReadonlyArray<ModifierLike>?, isExportEquals: Boolean?, expression: Expression): ExportAssignment
Link copied to clipboard
abstract fun createExportDeclaration(modifiers: ReadonlyArray<ModifierLike>?, isTypeOnly: Boolean, exportClause: NamedExportBindings?, moduleSpecifier: Expression = definedExternally, attributes: ImportAttributes = definedExternally): ExportDeclaration
Link copied to clipboard
Link copied to clipboard
abstract fun createExportSpecifier(isTypeOnly: Boolean, propertyName: String?, name: String): ExportSpecifier
abstract fun createExportSpecifier(isTypeOnly: Boolean, propertyName: String?, name: Identifier): ExportSpecifier
abstract fun createExportSpecifier(isTypeOnly: Boolean, propertyName: Identifier?, name: String): ExportSpecifier
abstract fun createExportSpecifier(isTypeOnly: Boolean, propertyName: Identifier?, name: Identifier): ExportSpecifier
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createFalse(): FalseLiteral
Link copied to clipboard
abstract fun createForInStatement(initializer: ForInitializer, expression: Expression, statement: Statement): ForInStatement
Link copied to clipboard
abstract fun createForOfStatement(awaitModifier: AwaitKeyword?, initializer: ForInitializer, expression: Expression, statement: Statement): ForOfStatement
Link copied to clipboard
abstract fun createForStatement(initializer: ForInitializer?, condition: Expression?, incrementor: Expression?, statement: Statement): ForStatement
Link copied to clipboard
Link copied to clipboard
abstract fun createFunctionExpression(modifiers: ReadonlyArray<Modifier>?, asteriskToken: AsteriskToken?, name: String?, typeParameters: ReadonlyArray<TypeParameterDeclaration>?, parameters: ReadonlyArray<ParameterDeclaration>?, type: TypeNode?, body: Block): FunctionExpression
abstract fun createFunctionExpression(modifiers: ReadonlyArray<Modifier>?, asteriskToken: AsteriskToken?, name: Identifier?, typeParameters: ReadonlyArray<TypeParameterDeclaration>?, parameters: ReadonlyArray<ParameterDeclaration>?, type: TypeNode?, body: Block): FunctionExpression
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createIdentifier(text: String): Identifier
Link copied to clipboard
abstract fun createIfStatement(expression: Expression, thenStatement: Statement, elseStatement: Statement = definedExternally): IfStatement
Link copied to clipboard
Link copied to clipboard
abstract fun createImportAttributes(elements: NodeArray<ImportAttribute>, multiLine: Boolean = definedExternally): ImportAttributes
Link copied to clipboard
abstract fun createImportClause(isTypeOnly: Boolean, name: Identifier?, namedBindings: NamedImportBindings?): ImportClause
Link copied to clipboard
abstract fun createImportDeclaration(modifiers: ReadonlyArray<ModifierLike>?, importClause: ImportClause?, moduleSpecifier: Expression, attributes: ImportAttributes = definedExternally): ImportDeclaration
Link copied to clipboard
abstract fun createImportEqualsDeclaration(modifiers: ReadonlyArray<ModifierLike>?, isTypeOnly: Boolean, name: String, moduleReference: ModuleReference): ImportEqualsDeclaration
Link copied to clipboard
abstract fun createImportSpecifier(isTypeOnly: Boolean, propertyName: Identifier?, name: Identifier): ImportSpecifier
Link copied to clipboard
abstract fun createImportTypeAssertionContainer(clause: AssertClause, multiLine: Boolean = definedExternally): ImportTypeAssertionContainer
Link copied to clipboard
abstract fun createImportTypeNode(argument: TypeNode, attributes: ImportAttributes = definedExternally, qualifier: EntityName = definedExternally, typeArguments: ReadonlyArray<TypeNode> = definedExternally, isTypeOf: Boolean = definedExternally): ImportTypeNode
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createJSDocAugmentsTag(tagName: Identifier?, className: JSDocAugmentsTagClass, comment: String = definedExternally): JSDocAugmentsTag
abstract fun createJSDocAugmentsTag(tagName: Identifier?, className: JSDocAugmentsTagClass, comment: NodeArray<JSDocComment> = definedExternally): JSDocAugmentsTag
Link copied to clipboard
abstract fun createJSDocAuthorTag(tagName: Identifier?, comment: String = definedExternally): JSDocAuthorTag
abstract fun createJSDocAuthorTag(tagName: Identifier?, comment: NodeArray<JSDocComment> = definedExternally): JSDocAuthorTag
Link copied to clipboard
abstract fun createJSDocCallbackTag(tagName: Identifier?, typeExpression: JSDocSignature): JSDocCallbackTag
abstract fun createJSDocCallbackTag(tagName: Identifier?, typeExpression: JSDocSignature, fullName: Identifier = definedExternally, comment: String = definedExternally): JSDocCallbackTag
abstract fun createJSDocCallbackTag(tagName: Identifier?, typeExpression: JSDocSignature, fullName: Identifier = definedExternally, comment: NodeArray<JSDocComment> = definedExternally): JSDocCallbackTag
abstract fun createJSDocCallbackTag(tagName: Identifier?, typeExpression: JSDocSignature, fullName: JSDocNamespaceDeclaration = definedExternally, comment: String = definedExternally): JSDocCallbackTag
abstract fun createJSDocCallbackTag(tagName: Identifier?, typeExpression: JSDocSignature, fullName: JSDocNamespaceDeclaration = definedExternally, comment: NodeArray<JSDocComment> = definedExternally): JSDocCallbackTag
Link copied to clipboard
abstract fun createJSDocClassTag(tagName: Identifier?, comment: String = definedExternally): JSDocClassTag
abstract fun createJSDocClassTag(tagName: Identifier?, comment: NodeArray<JSDocComment> = definedExternally): JSDocClassTag
Link copied to clipboard
abstract fun createJSDocComment(): JSDoc
abstract fun createJSDocComment(comment: String? = definedExternally, tags: ReadonlyArray<JSDocTag>? = definedExternally): JSDoc
abstract fun createJSDocComment(comment: NodeArray<JSDocComment>? = definedExternally, tags: ReadonlyArray<JSDocTag>? = definedExternally): JSDoc
Link copied to clipboard
abstract fun createJSDocDeprecatedTag(tagName: Identifier?, comment: String = definedExternally): JSDocDeprecatedTag
abstract fun createJSDocDeprecatedTag(tagName: Identifier?, comment: NodeArray<JSDocComment> = definedExternally): JSDocDeprecatedTag
Link copied to clipboard
abstract fun createJSDocEnumTag(tagName: Identifier?, typeExpression: JSDocTypeExpression): JSDocEnumTag
abstract fun createJSDocEnumTag(tagName: Identifier?, typeExpression: JSDocTypeExpression, comment: String = definedExternally): JSDocEnumTag
abstract fun createJSDocEnumTag(tagName: Identifier?, typeExpression: JSDocTypeExpression, comment: NodeArray<JSDocComment> = definedExternally): JSDocEnumTag
Link copied to clipboard
abstract fun createJSDocImplementsTag(tagName: Identifier?, className: JSDocImplementsTagClass, comment: String = definedExternally): JSDocImplementsTag
abstract fun createJSDocImplementsTag(tagName: Identifier?, className: JSDocImplementsTagClass, comment: NodeArray<JSDocComment> = definedExternally): JSDocImplementsTag
Link copied to clipboard
abstract fun createJSDocLink(name: EntityName?, text: String): JSDocLink
abstract fun createJSDocLink(name: JSDocMemberName?, text: String): JSDocLink
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createJSDocNonNullableType(type: TypeNode, postfix: Boolean = definedExternally): JSDocNonNullableType
Link copied to clipboard
abstract fun createJSDocNullableType(type: TypeNode, postfix: Boolean = definedExternally): JSDocNullableType
Link copied to clipboard
Link copied to clipboard
abstract fun createJSDocOverloadTag(tagName: Identifier?, typeExpression: JSDocSignature): JSDocOverloadTag
abstract fun createJSDocOverloadTag(tagName: Identifier?, typeExpression: JSDocSignature, comment: String = definedExternally): JSDocOverloadTag
abstract fun createJSDocOverloadTag(tagName: Identifier?, typeExpression: JSDocSignature, comment: NodeArray<JSDocComment> = definedExternally): JSDocOverloadTag
Link copied to clipboard
abstract fun createJSDocOverrideTag(tagName: Identifier?, comment: String = definedExternally): JSDocOverrideTag
abstract fun createJSDocOverrideTag(tagName: Identifier?, comment: NodeArray<JSDocComment> = definedExternally): JSDocOverrideTag
Link copied to clipboard
abstract fun createJSDocParameterTag(tagName: Identifier?, name: EntityName, isBracketed: Boolean, typeExpression: JSDocTypeExpression = definedExternally, isNameFirst: Boolean = definedExternally, comment: String = definedExternally): JSDocParameterTag
abstract fun createJSDocParameterTag(tagName: Identifier?, name: EntityName, isBracketed: Boolean, typeExpression: JSDocTypeExpression = definedExternally, isNameFirst: Boolean = definedExternally, comment: NodeArray<JSDocComment> = definedExternally): JSDocParameterTag
Link copied to clipboard
abstract fun createJSDocPrivateTag(tagName: Identifier?, comment: String = definedExternally): JSDocPrivateTag
abstract fun createJSDocPrivateTag(tagName: Identifier?, comment: NodeArray<JSDocComment> = definedExternally): JSDocPrivateTag
Link copied to clipboard
abstract fun createJSDocPropertyTag(tagName: Identifier?, name: EntityName, isBracketed: Boolean, typeExpression: JSDocTypeExpression = definedExternally, isNameFirst: Boolean = definedExternally, comment: String = definedExternally): JSDocPropertyTag
abstract fun createJSDocPropertyTag(tagName: Identifier?, name: EntityName, isBracketed: Boolean, typeExpression: JSDocTypeExpression = definedExternally, isNameFirst: Boolean = definedExternally, comment: NodeArray<JSDocComment> = definedExternally): JSDocPropertyTag
Link copied to clipboard
abstract fun createJSDocProtectedTag(tagName: Identifier?, comment: String = definedExternally): JSDocProtectedTag
abstract fun createJSDocProtectedTag(tagName: Identifier?, comment: NodeArray<JSDocComment> = definedExternally): JSDocProtectedTag
Link copied to clipboard
abstract fun createJSDocPublicTag(tagName: Identifier?, comment: String = definedExternally): JSDocPublicTag
abstract fun createJSDocPublicTag(tagName: Identifier?, comment: NodeArray<JSDocComment> = definedExternally): JSDocPublicTag
Link copied to clipboard
abstract fun createJSDocReadonlyTag(tagName: Identifier?, comment: String = definedExternally): JSDocReadonlyTag
abstract fun createJSDocReadonlyTag(tagName: Identifier?, comment: NodeArray<JSDocComment> = definedExternally): JSDocReadonlyTag
Link copied to clipboard
abstract fun createJSDocReturnTag(tagName: Identifier?, typeExpression: JSDocTypeExpression = definedExternally, comment: String = definedExternally): JSDocReturnTag
abstract fun createJSDocReturnTag(tagName: Identifier?, typeExpression: JSDocTypeExpression = definedExternally, comment: NodeArray<JSDocComment> = definedExternally): JSDocReturnTag
Link copied to clipboard
abstract fun createJSDocSatisfiesTag(tagName: Identifier?, typeExpression: JSDocTypeExpression, comment: String = definedExternally): JSDocSatisfiesTag
abstract fun createJSDocSatisfiesTag(tagName: Identifier?, typeExpression: JSDocTypeExpression, comment: NodeArray<JSDocComment> = definedExternally): JSDocSatisfiesTag
Link copied to clipboard
abstract fun createJSDocSeeTag(tagName: Identifier?, nameExpression: JSDocNameReference?): JSDocSeeTag
abstract fun createJSDocSeeTag(tagName: Identifier?, nameExpression: JSDocNameReference?, comment: String = definedExternally): JSDocSeeTag
abstract fun createJSDocSeeTag(tagName: Identifier?, nameExpression: JSDocNameReference?, comment: NodeArray<JSDocComment> = definedExternally): JSDocSeeTag
Link copied to clipboard
abstract fun createJSDocSignature(typeParameters: ReadonlyArray<JSDocTemplateTag>?, parameters: ReadonlyArray<JSDocParameterTag>, type: JSDocReturnTag = definedExternally): JSDocSignature
Link copied to clipboard
abstract fun createJSDocTemplateTag(tagName: Identifier?, constraint: JSDocTypeExpression?, typeParameters: ReadonlyArray<TypeParameterDeclaration>, comment: String = definedExternally): JSDocTemplateTag
abstract fun createJSDocTemplateTag(tagName: Identifier?, constraint: JSDocTypeExpression?, typeParameters: ReadonlyArray<TypeParameterDeclaration>, comment: NodeArray<JSDocComment> = definedExternally): JSDocTemplateTag
Link copied to clipboard
abstract fun createJSDocText(text: String): JSDocText
Link copied to clipboard
abstract fun createJSDocThisTag(tagName: Identifier?, typeExpression: JSDocTypeExpression): JSDocThisTag
abstract fun createJSDocThisTag(tagName: Identifier?, typeExpression: JSDocTypeExpression, comment: String = definedExternally): JSDocThisTag
abstract fun createJSDocThisTag(tagName: Identifier?, typeExpression: JSDocTypeExpression, comment: NodeArray<JSDocComment> = definedExternally): JSDocThisTag
Link copied to clipboard
abstract fun createJSDocThrowsTag(tagName: Identifier, typeExpression: JSDocTypeExpression?): JSDocThrowsTag
abstract fun createJSDocThrowsTag(tagName: Identifier, typeExpression: JSDocTypeExpression?, comment: String = definedExternally): JSDocThrowsTag
abstract fun createJSDocThrowsTag(tagName: Identifier, typeExpression: JSDocTypeExpression?, comment: NodeArray<JSDocComment> = definedExternally): JSDocThrowsTag
Link copied to clipboard
abstract fun createJSDocTypedefTag(tagName: Identifier?, typeExpression: JSDocTypeExpression = definedExternally, fullName: Identifier = definedExternally, comment: String = definedExternally): JSDocTypedefTag
abstract fun createJSDocTypedefTag(tagName: Identifier?, typeExpression: JSDocTypeExpression = definedExternally, fullName: Identifier = definedExternally, comment: NodeArray<JSDocComment> = definedExternally): JSDocTypedefTag
abstract fun createJSDocTypedefTag(tagName: Identifier?, typeExpression: JSDocTypeExpression = definedExternally, fullName: JSDocNamespaceDeclaration = definedExternally, comment: String = definedExternally): JSDocTypedefTag
abstract fun createJSDocTypedefTag(tagName: Identifier?, typeExpression: JSDocTypeExpression = definedExternally, fullName: JSDocNamespaceDeclaration = definedExternally, comment: NodeArray<JSDocComment> = definedExternally): JSDocTypedefTag
abstract fun createJSDocTypedefTag(tagName: Identifier?, typeExpression: JSDocTypeLiteral = definedExternally, fullName: Identifier = definedExternally, comment: String = definedExternally): JSDocTypedefTag
abstract fun createJSDocTypedefTag(tagName: Identifier?, typeExpression: JSDocTypeLiteral = definedExternally, fullName: Identifier = definedExternally, comment: NodeArray<JSDocComment> = definedExternally): JSDocTypedefTag
abstract fun createJSDocTypedefTag(tagName: Identifier?, typeExpression: JSDocTypeLiteral = definedExternally, fullName: JSDocNamespaceDeclaration = definedExternally, comment: String = definedExternally): JSDocTypedefTag
abstract fun createJSDocTypedefTag(tagName: Identifier?, typeExpression: JSDocTypeLiteral = definedExternally, fullName: JSDocNamespaceDeclaration = definedExternally, comment: NodeArray<JSDocComment> = definedExternally): JSDocTypedefTag
Link copied to clipboard
abstract fun createJSDocTypeLiteral(jsDocPropertyTags: ReadonlyArray<JSDocPropertyLikeTag> = definedExternally, isArrayType: Boolean = definedExternally): JSDocTypeLiteral
Link copied to clipboard
abstract fun createJSDocTypeTag(tagName: Identifier?, typeExpression: JSDocTypeExpression): JSDocTypeTag
abstract fun createJSDocTypeTag(tagName: Identifier?, typeExpression: JSDocTypeExpression, comment: String = definedExternally): JSDocTypeTag
abstract fun createJSDocTypeTag(tagName: Identifier?, typeExpression: JSDocTypeExpression, comment: NodeArray<JSDocComment> = definedExternally): JSDocTypeTag
Link copied to clipboard
abstract fun createJSDocUnknownTag(tagName: Identifier, comment: String = definedExternally): JSDocUnknownTag
abstract fun createJSDocUnknownTag(tagName: Identifier, comment: NodeArray<JSDocComment> = definedExternally): JSDocUnknownTag
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createJsxElement(openingElement: JsxOpeningElement, children: ReadonlyArray<JsxChild>, closingElement: JsxClosingElement): JsxElement
Link copied to clipboard
abstract fun createJsxExpression(dotDotDotToken: DotDotDotToken?, expression: Expression?): JsxExpression
Link copied to clipboard
abstract fun createJsxFragment(openingFragment: JsxOpeningFragment, children: ReadonlyArray<JsxChild>, closingFragment: JsxClosingFragment): JsxFragment
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createJsxText(text: String, containsOnlyTriviaWhiteSpaces: Boolean = definedExternally): JsxText
Link copied to clipboard
abstract fun createLabeledStatement(label: String, statement: Statement): LabeledStatement
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createLoopVariable(reservedInNestedScopes: Boolean = definedExternally): Identifier

Create a unique temporary variable for use in a loop.

Link copied to clipboard
abstract fun createMappedTypeNode(readonlyToken: ReadonlyKeyword?, typeParameter: TypeParameterDeclaration, nameType: TypeNode?, questionToken: MinusToken?, type: TypeNode?, members: NodeArray<TypeElement>?): MappedTypeNode
abstract fun createMappedTypeNode(readonlyToken: ReadonlyKeyword?, typeParameter: TypeParameterDeclaration, nameType: TypeNode?, questionToken: PlusToken?, type: TypeNode?, members: NodeArray<TypeElement>?): MappedTypeNode
abstract fun createMappedTypeNode(readonlyToken: ReadonlyKeyword?, typeParameter: TypeParameterDeclaration, nameType: TypeNode?, questionToken: QuestionToken?, type: TypeNode?, members: NodeArray<TypeElement>?): MappedTypeNode
abstract fun createMappedTypeNode(readonlyToken: MinusToken?, typeParameter: TypeParameterDeclaration, nameType: TypeNode?, questionToken: MinusToken?, type: TypeNode?, members: NodeArray<TypeElement>?): MappedTypeNode
abstract fun createMappedTypeNode(readonlyToken: MinusToken?, typeParameter: TypeParameterDeclaration, nameType: TypeNode?, questionToken: PlusToken?, type: TypeNode?, members: NodeArray<TypeElement>?): MappedTypeNode
abstract fun createMappedTypeNode(readonlyToken: MinusToken?, typeParameter: TypeParameterDeclaration, nameType: TypeNode?, questionToken: QuestionToken?, type: TypeNode?, members: NodeArray<TypeElement>?): MappedTypeNode
abstract fun createMappedTypeNode(readonlyToken: PlusToken?, typeParameter: TypeParameterDeclaration, nameType: TypeNode?, questionToken: MinusToken?, type: TypeNode?, members: NodeArray<TypeElement>?): MappedTypeNode
abstract fun createMappedTypeNode(readonlyToken: PlusToken?, typeParameter: TypeParameterDeclaration, nameType: TypeNode?, questionToken: PlusToken?, type: TypeNode?, members: NodeArray<TypeElement>?): MappedTypeNode
abstract fun createMappedTypeNode(readonlyToken: PlusToken?, typeParameter: TypeParameterDeclaration, nameType: TypeNode?, questionToken: QuestionToken?, type: TypeNode?, members: NodeArray<TypeElement>?): MappedTypeNode
Link copied to clipboard
Link copied to clipboard
abstract fun createMethodDeclaration(modifiers: ReadonlyArray<ModifierLike>?, asteriskToken: AsteriskToken?, name: String, questionToken: QuestionToken?, typeParameters: ReadonlyArray<TypeParameterDeclaration>?, parameters: ReadonlyArray<ParameterDeclaration>, type: TypeNode?, body: Block?): MethodDeclaration
abstract fun createMethodDeclaration(modifiers: ReadonlyArray<ModifierLike>?, asteriskToken: AsteriskToken?, name: PropertyName, questionToken: QuestionToken?, typeParameters: ReadonlyArray<TypeParameterDeclaration>?, parameters: ReadonlyArray<ParameterDeclaration>, type: TypeNode?, body: Block?): MethodDeclaration
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createModuleDeclaration(modifiers: ReadonlyArray<ModifierLike>?, name: ModuleName, body: ModuleBody?, flags: NodeFlags = definedExternally): ModuleDeclaration
Link copied to clipboard
abstract fun createModulo(left: Expression, right: Expression): BinaryExpression
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createNamedTupleMember(dotDotDotToken: DotDotDotToken?, name: Identifier, questionToken: QuestionToken?, type: TypeNode): NamedTupleMember
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createNewExpression(expression: Expression, typeArguments: ReadonlyArray<TypeNode>?, argumentsArray: ReadonlyArray<Expression>?): NewExpression
Link copied to clipboard
abstract fun <T : Node> createNodeArray(elements: ReadonlyArray<T> = definedExternally, hasTrailingComma: Boolean = definedExternally): NodeArray<T>
Link copied to clipboard
abstract fun createNonNullChain(expression: Expression): NonNullChain
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createNull(): NullLiteral
Link copied to clipboard
abstract fun createNumericLiteral(value: Double, numericLiteralFlags: TokenFlags = definedExternally): NumericLiteral
abstract fun createNumericLiteral(value: String, numericLiteralFlags: TokenFlags = definedExternally): NumericLiteral
Link copied to clipboard
abstract fun createObjectLiteralExpression(properties: ReadonlyArray<ObjectLiteralElementLike> = definedExternally, multiLine: Boolean = definedExternally): ObjectLiteralExpression
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createParameterDeclaration(modifiers: ReadonlyArray<ModifierLike>?, dotDotDotToken: DotDotDotToken?, name: String, questionToken: QuestionToken = definedExternally, type: TypeNode = definedExternally, initializer: Expression = definedExternally): ParameterDeclaration
abstract fun createParameterDeclaration(modifiers: ReadonlyArray<ModifierLike>?, dotDotDotToken: DotDotDotToken?, name: BindingName, questionToken: QuestionToken = definedExternally, type: TypeNode = definedExternally, initializer: Expression = definedExternally): ParameterDeclaration
Link copied to clipboard
Link copied to clipboard
abstract fun createPartiallyEmittedExpression(expression: Expression, original: Node = definedExternally): PartiallyEmittedExpression
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createPropertyAccessChain(expression: Expression, questionDotToken: QuestionDotToken?, name: String): PropertyAccessChain
abstract fun createPropertyAccessChain(expression: Expression, questionDotToken: QuestionDotToken?, name: MemberName): PropertyAccessChain
Link copied to clipboard
Link copied to clipboard
abstract fun createPropertyDeclaration(modifiers: ReadonlyArray<ModifierLike>?, name: String, questionOrExclamationToken: ExclamationToken?, type: TypeNode?, initializer: Expression?): PropertyDeclaration
abstract fun createPropertyDeclaration(modifiers: ReadonlyArray<ModifierLike>?, name: String, questionOrExclamationToken: QuestionToken?, type: TypeNode?, initializer: Expression?): PropertyDeclaration
abstract fun createPropertyDeclaration(modifiers: ReadonlyArray<ModifierLike>?, name: PropertyName, questionOrExclamationToken: ExclamationToken?, type: TypeNode?, initializer: Expression?): PropertyDeclaration
abstract fun createPropertyDeclaration(modifiers: ReadonlyArray<ModifierLike>?, name: PropertyName, questionOrExclamationToken: QuestionToken?, type: TypeNode?, initializer: Expression?): PropertyDeclaration
Link copied to clipboard
abstract fun createPropertySignature(modifiers: ReadonlyArray<Modifier>?, name: String, questionToken: QuestionToken?, type: TypeNode?): PropertySignature
abstract fun createPropertySignature(modifiers: ReadonlyArray<Modifier>?, name: PropertyName, questionToken: QuestionToken?, type: TypeNode?): PropertySignature
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createReturnStatement(expression: Expression = definedExternally): ReturnStatement
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createShorthandPropertyAssignment(name: String, objectAssignmentInitializer: Expression = definedExternally): ShorthandPropertyAssignment
abstract fun createShorthandPropertyAssignment(name: Identifier, objectAssignmentInitializer: Expression = definedExternally): ShorthandPropertyAssignment
Link copied to clipboard
abstract fun createSourceFile(statements: ReadonlyArray<Statement>, endOfFileToken: EndOfFileToken, flags: NodeFlags): SourceFile
Link copied to clipboard
Link copied to clipboard
abstract fun createSpreadElement(expression: Expression): SpreadElement
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createStringLiteral(text: String, isSingleQuote: Boolean = definedExternally): StringLiteral
Link copied to clipboard
abstract fun createStringLiteralFromNode(sourceNode: PrivateIdentifier, isSingleQuote: Boolean = definedExternally): StringLiteral
abstract fun createStringLiteralFromNode(sourceNode: PropertyNameLiteral, isSingleQuote: Boolean = definedExternally): StringLiteral
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createSwitchStatement(expression: Expression, caseBlock: CaseBlock): SwitchStatement
Link copied to clipboard
Link copied to clipboard
abstract fun createTemplateHead(text: String, rawText: String = definedExternally, templateFlags: TokenFlags = definedExternally): TemplateHead
abstract fun createTemplateHead(text: String?, rawText: String, templateFlags: TokenFlags = definedExternally): TemplateHead
Link copied to clipboard
abstract fun createTemplateMiddle(text: String, rawText: String = definedExternally, templateFlags: TokenFlags = definedExternally): TemplateMiddle
abstract fun createTemplateMiddle(text: String?, rawText: String, templateFlags: TokenFlags = definedExternally): TemplateMiddle
Link copied to clipboard
abstract fun createTemplateSpan(expression: Expression, literal: TemplateMiddle): TemplateSpan
abstract fun createTemplateSpan(expression: Expression, literal: TemplateTail): TemplateSpan
Link copied to clipboard
abstract fun createTemplateTail(text: String, rawText: String = definedExternally, templateFlags: TokenFlags = definedExternally): TemplateTail
abstract fun createTemplateTail(text: String?, rawText: String, templateFlags: TokenFlags = definedExternally): TemplateTail
Link copied to clipboard
abstract fun createTempVariable(recordTempVariable: (node: Identifier) -> Unit?, reservedInNestedScopes: Boolean = definedExternally): Identifier

Create a unique temporary variable.

Link copied to clipboard
abstract fun createThis(): ThisExpression
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createTrue(): TrueLiteral
Link copied to clipboard
abstract fun createTryStatement(tryBlock: Block, catchClause: CatchClause?, finallyBlock: Block?): TryStatement
Link copied to clipboard
abstract fun createTypeAssertion(type: TypeNode, expression: Expression): TypeAssertion
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createTypeParameterDeclaration(modifiers: ReadonlyArray<Modifier>?, name: String, constraint: TypeNode = definedExternally, defaultType: TypeNode = definedExternally): TypeParameterDeclaration
abstract fun createTypeParameterDeclaration(modifiers: ReadonlyArray<Modifier>?, name: Identifier, constraint: TypeNode = definedExternally, defaultType: TypeNode = definedExternally): TypeParameterDeclaration
Link copied to clipboard
abstract fun createTypePredicateNode(assertsModifier: AssertsKeyword?, parameterName: String, type: TypeNode?): TypePredicateNode
abstract fun createTypePredicateNode(assertsModifier: AssertsKeyword?, parameterName: Identifier, type: TypeNode?): TypePredicateNode
abstract fun createTypePredicateNode(assertsModifier: AssertsKeyword?, parameterName: ThisTypeNode, type: TypeNode?): TypePredicateNode
Link copied to clipboard
abstract fun createTypeQueryNode(exprName: EntityName, typeArguments: ReadonlyArray<TypeNode> = definedExternally): TypeQueryNode
Link copied to clipboard
abstract fun createTypeReferenceNode(typeName: String, typeArguments: ReadonlyArray<TypeNode> = definedExternally): TypeReferenceNode
abstract fun createTypeReferenceNode(typeName: EntityName, typeArguments: ReadonlyArray<TypeNode> = definedExternally): TypeReferenceNode
Link copied to clipboard
Link copied to clipboard
abstract fun createUniqueName(text: String, flags: GeneratedIdentifierFlags = definedExternally): Identifier

Create a unique name based on the supplied text.

Link copied to clipboard
abstract fun createUniquePrivateName(text: String = definedExternally): PrivateIdentifier
Link copied to clipboard
Link copied to clipboard
abstract fun createVariableDeclaration(name: String, exclamationToken: ExclamationToken = definedExternally, type: TypeNode = definedExternally, initializer: Expression = definedExternally): VariableDeclaration
abstract fun createVariableDeclaration(name: BindingName, exclamationToken: ExclamationToken = definedExternally, type: TypeNode = definedExternally, initializer: Expression = definedExternally): VariableDeclaration
Link copied to clipboard
abstract fun createVariableDeclarationList(declarations: ReadonlyArray<VariableDeclaration>, flags: NodeFlags = definedExternally): VariableDeclarationList
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun createWhileStatement(expression: Expression, statement: Statement): WhileStatement
Link copied to clipboard
abstract fun createWithStatement(expression: Expression, statement: Statement): WithStatement
Link copied to clipboard
abstract fun createYieldExpression(asteriskToken: Nothing?, expression: Expression?): YieldExpression
abstract fun createYieldExpression(asteriskToken: AsteriskToken, expression: Expression): YieldExpression
Link copied to clipboard
abstract fun getGeneratedNameForNode(node: Node?, flags: GeneratedIdentifierFlags = definedExternally): Identifier

Create a unique name generated for a node.

Link copied to clipboard

Updates a node that may contain decorators or modifiers, replacing only the decorators and modifiers of the node.

Link copied to clipboard
abstract fun <T : HasModifiers> replaceModifiers(node: T, modifiers: ReadonlyArray<Modifier>?): T
abstract fun <T : HasModifiers> replaceModifiers(node: T, modifiers: ModifierFlags?): T

Updates a node that may contain modifiers, replacing only the modifiers of the node.

Link copied to clipboard

Updates a node that contains a property name, replacing only the name of the node.

Link copied to clipboard
abstract fun restoreOuterExpressions(outerExpression: Expression?, innerExpression: Expression, kinds: OuterExpressionKinds = definedExternally): Expression
Link copied to clipboard
abstract fun updateArrayTypeNode(node: ArrayTypeNode, elementType: TypeNode): ArrayTypeNode
Link copied to clipboard
abstract fun updateArrowFunction(node: ArrowFunction, modifiers: ReadonlyArray<Modifier>?, typeParameters: ReadonlyArray<TypeParameterDeclaration>?, parameters: ReadonlyArray<ParameterDeclaration>, type: TypeNode?, equalsGreaterThanToken: EqualsGreaterThanToken, body: ConciseBody): ArrowFunction
Link copied to clipboard
abstract fun updateAsExpression(node: AsExpression, expression: Expression, type: TypeNode): AsExpression
Link copied to clipboard
abstract fun updateAssertClause(node: AssertClause, elements: NodeArray<AssertEntry>, multiLine: Boolean = definedExternally): AssertClause
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun updateBindingElement(node: BindingElement, dotDotDotToken: DotDotDotToken?, propertyName: PropertyName?, name: BindingName, initializer: Expression?): BindingElement
Link copied to clipboard
abstract fun updateBlock(node: Block, statements: ReadonlyArray<Statement>): Block
Link copied to clipboard
Link copied to clipboard
abstract fun updateBundle(node: Bundle, sourceFiles: ReadonlyArray<SourceFile>): Bundle
abstract fun updateBundle(node: Bundle, sourceFiles: ReadonlyArray<SourceFile>, prepends: ReadonlyArray<NodeFactoryUpdateBundlePrependsItem> = definedExternally): Bundle
Link copied to clipboard
abstract fun updateCallChain(node: CallChain, expression: Expression, questionDotToken: QuestionDotToken?, typeArguments: ReadonlyArray<TypeNode>?, argumentsArray: ReadonlyArray<Expression>): CallChain
Link copied to clipboard
abstract fun updateCallExpression(node: CallExpression, expression: Expression, typeArguments: ReadonlyArray<TypeNode>?, argumentsArray: ReadonlyArray<Expression>): CallExpression
Link copied to clipboard
Link copied to clipboard
abstract fun updateCaseClause(node: CaseClause, expression: Expression, statements: ReadonlyArray<Statement>): CaseClause
Link copied to clipboard
abstract fun updateCatchClause(node: CatchClause, variableDeclaration: VariableDeclaration?, block: Block): CatchClause
Link copied to clipboard
Link copied to clipboard
abstract fun updateConditionalExpression(node: ConditionalExpression, condition: Expression, questionToken: QuestionToken, whenTrue: Expression, colonToken: ColonToken, whenFalse: Expression): ConditionalExpression
Link copied to clipboard
abstract fun updateConditionalTypeNode(node: ConditionalTypeNode, checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, falseType: TypeNode): ConditionalTypeNode
Link copied to clipboard
Link copied to clipboard
abstract fun updateDecorator(node: Decorator, expression: Expression): Decorator
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun updateDoStatement(node: DoStatement, statement: Statement, expression: Expression): DoStatement
Link copied to clipboard
abstract fun updateElementAccessChain(node: ElementAccessChain, expression: Expression, questionDotToken: QuestionDotToken?, argumentExpression: Expression): ElementAccessChain
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun updateEnumMember(node: EnumMember, name: PropertyName, initializer: Expression?): EnumMember
Link copied to clipboard
Link copied to clipboard
abstract fun updateExportDeclaration(node: ExportDeclaration, modifiers: ReadonlyArray<ModifierLike>?, isTypeOnly: Boolean, exportClause: NamedExportBindings?, moduleSpecifier: Expression?, attributes: ImportAttributes?): ExportDeclaration
Link copied to clipboard
abstract fun updateExportSpecifier(node: ExportSpecifier, isTypeOnly: Boolean, propertyName: Identifier?, name: Identifier): ExportSpecifier
Link copied to clipboard
abstract fun updateForInStatement(node: ForInStatement, initializer: ForInitializer, expression: Expression, statement: Statement): ForInStatement
Link copied to clipboard
abstract fun updateForOfStatement(node: ForOfStatement, awaitModifier: AwaitKeyword?, initializer: ForInitializer, expression: Expression, statement: Statement): ForOfStatement
Link copied to clipboard
abstract fun updateForStatement(node: ForStatement, initializer: ForInitializer?, condition: Expression?, incrementor: Expression?, statement: Statement): ForStatement
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun updateIfStatement(node: IfStatement, expression: Expression, thenStatement: Statement, elseStatement: Statement?): IfStatement
Link copied to clipboard
Link copied to clipboard
abstract fun updateImportAttributes(node: ImportAttributes, elements: NodeArray<ImportAttribute>, multiLine: Boolean = definedExternally): ImportAttributes
Link copied to clipboard
abstract fun updateImportClause(node: ImportClause, isTypeOnly: Boolean, name: Identifier?, namedBindings: NamedImportBindings?): ImportClause
Link copied to clipboard
abstract fun updateImportDeclaration(node: ImportDeclaration, modifiers: ReadonlyArray<ModifierLike>?, importClause: ImportClause?, moduleSpecifier: Expression, attributes: ImportAttributes?): ImportDeclaration
Link copied to clipboard
Link copied to clipboard
abstract fun updateImportSpecifier(node: ImportSpecifier, isTypeOnly: Boolean, propertyName: Identifier?, name: Identifier): ImportSpecifier
Link copied to clipboard
abstract fun updateImportTypeNode(node: ImportTypeNode, argument: TypeNode, attributes: ImportAttributes?, qualifier: EntityName?, typeArguments: ReadonlyArray<TypeNode>?, isTypeOf: Boolean = definedExternally): ImportTypeNode
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun updateJSDocAuthorTag(node: JSDocAuthorTag, tagName: Identifier?, comment: String?): JSDocAuthorTag
Link copied to clipboard
abstract fun updateJSDocCallbackTag(node: JSDocCallbackTag, tagName: Identifier?, typeExpression: JSDocSignature, fullName: Identifier?, comment: String?): JSDocCallbackTag
abstract fun updateJSDocCallbackTag(node: JSDocCallbackTag, tagName: Identifier?, typeExpression: JSDocSignature, fullName: Identifier?, comment: NodeArray<JSDocComment>?): JSDocCallbackTag
abstract fun updateJSDocCallbackTag(node: JSDocCallbackTag, tagName: Identifier?, typeExpression: JSDocSignature, fullName: JSDocNamespaceDeclaration?, comment: String?): JSDocCallbackTag
Link copied to clipboard
abstract fun updateJSDocClassTag(node: JSDocClassTag, tagName: Identifier?, comment: String?): JSDocClassTag
Link copied to clipboard
abstract fun updateJSDocComment(node: JSDoc, comment: String?, tags: ReadonlyArray<JSDocTag>?): JSDoc
abstract fun updateJSDocComment(node: JSDoc, comment: NodeArray<JSDocComment>?, tags: ReadonlyArray<JSDocTag>?): JSDoc
Link copied to clipboard
abstract fun updateJSDocDeprecatedTag(node: JSDocDeprecatedTag, tagName: Identifier?, comment: String = definedExternally): JSDocDeprecatedTag
abstract fun updateJSDocDeprecatedTag(node: JSDocDeprecatedTag, tagName: Identifier?, comment: NodeArray<JSDocComment> = definedExternally): JSDocDeprecatedTag
Link copied to clipboard
abstract fun updateJSDocEnumTag(node: JSDocEnumTag, tagName: Identifier?, typeExpression: JSDocTypeExpression, comment: String?): JSDocEnumTag
abstract fun updateJSDocEnumTag(node: JSDocEnumTag, tagName: Identifier?, typeExpression: JSDocTypeExpression, comment: NodeArray<JSDocComment>?): JSDocEnumTag
Link copied to clipboard
abstract fun updateJSDocLink(node: JSDocLink, name: EntityName?, text: String): JSDocLink
abstract fun updateJSDocLink(node: JSDocLink, name: JSDocMemberName?, text: String): JSDocLink
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun updateJSDocOverloadTag(node: JSDocOverloadTag, tagName: Identifier?, typeExpression: JSDocSignature, comment: String?): JSDocOverloadTag
abstract fun updateJSDocOverloadTag(node: JSDocOverloadTag, tagName: Identifier?, typeExpression: JSDocSignature, comment: NodeArray<JSDocComment>?): JSDocOverloadTag
Link copied to clipboard
abstract fun updateJSDocOverrideTag(node: JSDocOverrideTag, tagName: Identifier?, comment: String = definedExternally): JSDocOverrideTag
abstract fun updateJSDocOverrideTag(node: JSDocOverrideTag, tagName: Identifier?, comment: NodeArray<JSDocComment> = definedExternally): JSDocOverrideTag
Link copied to clipboard
abstract fun updateJSDocParameterTag(node: JSDocParameterTag, tagName: Identifier?, name: EntityName, isBracketed: Boolean, typeExpression: JSDocTypeExpression?, isNameFirst: Boolean, comment: String?): JSDocParameterTag
abstract fun updateJSDocParameterTag(node: JSDocParameterTag, tagName: Identifier?, name: EntityName, isBracketed: Boolean, typeExpression: JSDocTypeExpression?, isNameFirst: Boolean, comment: NodeArray<JSDocComment>?): JSDocParameterTag
Link copied to clipboard
Link copied to clipboard
abstract fun updateJSDocPropertyTag(node: JSDocPropertyTag, tagName: Identifier?, name: EntityName, isBracketed: Boolean, typeExpression: JSDocTypeExpression?, isNameFirst: Boolean, comment: String?): JSDocPropertyTag
abstract fun updateJSDocPropertyTag(node: JSDocPropertyTag, tagName: Identifier?, name: EntityName, isBracketed: Boolean, typeExpression: JSDocTypeExpression?, isNameFirst: Boolean, comment: NodeArray<JSDocComment>?): JSDocPropertyTag
Link copied to clipboard
Link copied to clipboard
abstract fun updateJSDocPublicTag(node: JSDocPublicTag, tagName: Identifier?, comment: String?): JSDocPublicTag
Link copied to clipboard
Link copied to clipboard
abstract fun updateJSDocReturnTag(node: JSDocReturnTag, tagName: Identifier?, typeExpression: JSDocTypeExpression?, comment: String?): JSDocReturnTag
abstract fun updateJSDocReturnTag(node: JSDocReturnTag, tagName: Identifier?, typeExpression: JSDocTypeExpression?, comment: NodeArray<JSDocComment>?): JSDocReturnTag
Link copied to clipboard
Link copied to clipboard
abstract fun updateJSDocSeeTag(node: JSDocSeeTag, tagName: Identifier?, nameExpression: JSDocNameReference?): JSDocSeeTag
abstract fun updateJSDocSeeTag(node: JSDocSeeTag, tagName: Identifier?, nameExpression: JSDocNameReference?, comment: String = definedExternally): JSDocSeeTag
abstract fun updateJSDocSeeTag(node: JSDocSeeTag, tagName: Identifier?, nameExpression: JSDocNameReference?, comment: NodeArray<JSDocComment> = definedExternally): JSDocSeeTag
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun updateJSDocText(node: JSDocText, text: String): JSDocText
Link copied to clipboard
abstract fun updateJSDocThisTag(node: JSDocThisTag, tagName: Identifier?, typeExpression: JSDocTypeExpression?, comment: String?): JSDocThisTag
abstract fun updateJSDocThisTag(node: JSDocThisTag, tagName: Identifier?, typeExpression: JSDocTypeExpression?, comment: NodeArray<JSDocComment>?): JSDocThisTag
Link copied to clipboard
abstract fun updateJSDocThrowsTag(node: JSDocThrowsTag, tagName: Identifier?, typeExpression: JSDocTypeExpression?): JSDocThrowsTag
abstract fun updateJSDocThrowsTag(node: JSDocThrowsTag, tagName: Identifier?, typeExpression: JSDocTypeExpression?, comment: String? = definedExternally): JSDocThrowsTag
abstract fun updateJSDocThrowsTag(node: JSDocThrowsTag, tagName: Identifier?, typeExpression: JSDocTypeExpression?, comment: NodeArray<JSDocComment>? = definedExternally): JSDocThrowsTag
Link copied to clipboard
abstract fun updateJSDocTypedefTag(node: JSDocTypedefTag, tagName: Identifier?, typeExpression: JSDocTypeExpression?, fullName: Identifier?, comment: String?): JSDocTypedefTag
abstract fun updateJSDocTypedefTag(node: JSDocTypedefTag, tagName: Identifier?, typeExpression: JSDocTypeExpression?, fullName: Identifier?, comment: NodeArray<JSDocComment>?): JSDocTypedefTag
abstract fun updateJSDocTypedefTag(node: JSDocTypedefTag, tagName: Identifier?, typeExpression: JSDocTypeExpression?, fullName: JSDocNamespaceDeclaration?, comment: String?): JSDocTypedefTag
abstract fun updateJSDocTypedefTag(node: JSDocTypedefTag, tagName: Identifier?, typeExpression: JSDocTypeLiteral?, fullName: Identifier?, comment: String?): JSDocTypedefTag
abstract fun updateJSDocTypedefTag(node: JSDocTypedefTag, tagName: Identifier?, typeExpression: JSDocTypeLiteral?, fullName: Identifier?, comment: NodeArray<JSDocComment>?): JSDocTypedefTag
abstract fun updateJSDocTypedefTag(node: JSDocTypedefTag, tagName: Identifier?, typeExpression: JSDocTypeLiteral?, fullName: JSDocNamespaceDeclaration?, comment: String?): JSDocTypedefTag
Link copied to clipboard
abstract fun updateJSDocTypeLiteral(node: JSDocTypeLiteral, jsDocPropertyTags: ReadonlyArray<JSDocPropertyLikeTag>?, isArrayType: Boolean?): JSDocTypeLiteral
Link copied to clipboard
abstract fun updateJSDocTypeTag(node: JSDocTypeTag, tagName: Identifier?, typeExpression: JSDocTypeExpression, comment: String?): JSDocTypeTag
abstract fun updateJSDocTypeTag(node: JSDocTypeTag, tagName: Identifier?, typeExpression: JSDocTypeExpression, comment: NodeArray<JSDocComment>?): JSDocTypeTag
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun updateJsxElement(node: JsxElement, openingElement: JsxOpeningElement, children: ReadonlyArray<JsxChild>, closingElement: JsxClosingElement): JsxElement
Link copied to clipboard
abstract fun updateJsxExpression(node: JsxExpression, expression: Expression?): JsxExpression
Link copied to clipboard
abstract fun updateJsxFragment(node: JsxFragment, openingFragment: JsxOpeningFragment, children: ReadonlyArray<JsxChild>, closingFragment: JsxClosingFragment): JsxFragment
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun updateJsxText(node: JsxText, text: String, containsOnlyTriviaWhiteSpaces: Boolean = definedExternally): JsxText
Link copied to clipboard
Link copied to clipboard
abstract fun updateMappedTypeNode(node: MappedTypeNode, readonlyToken: ReadonlyKeyword?, typeParameter: TypeParameterDeclaration, nameType: TypeNode?, questionToken: MinusToken?, type: TypeNode?, members: NodeArray<TypeElement>?): MappedTypeNode
abstract fun updateMappedTypeNode(node: MappedTypeNode, readonlyToken: ReadonlyKeyword?, typeParameter: TypeParameterDeclaration, nameType: TypeNode?, questionToken: PlusToken?, type: TypeNode?, members: NodeArray<TypeElement>?): MappedTypeNode
abstract fun updateMappedTypeNode(node: MappedTypeNode, readonlyToken: ReadonlyKeyword?, typeParameter: TypeParameterDeclaration, nameType: TypeNode?, questionToken: QuestionToken?, type: TypeNode?, members: NodeArray<TypeElement>?): MappedTypeNode
abstract fun updateMappedTypeNode(node: MappedTypeNode, readonlyToken: MinusToken?, typeParameter: TypeParameterDeclaration, nameType: TypeNode?, questionToken: MinusToken?, type: TypeNode?, members: NodeArray<TypeElement>?): MappedTypeNode
abstract fun updateMappedTypeNode(node: MappedTypeNode, readonlyToken: MinusToken?, typeParameter: TypeParameterDeclaration, nameType: TypeNode?, questionToken: PlusToken?, type: TypeNode?, members: NodeArray<TypeElement>?): MappedTypeNode
abstract fun updateMappedTypeNode(node: MappedTypeNode, readonlyToken: MinusToken?, typeParameter: TypeParameterDeclaration, nameType: TypeNode?, questionToken: QuestionToken?, type: TypeNode?, members: NodeArray<TypeElement>?): MappedTypeNode
abstract fun updateMappedTypeNode(node: MappedTypeNode, readonlyToken: PlusToken?, typeParameter: TypeParameterDeclaration, nameType: TypeNode?, questionToken: MinusToken?, type: TypeNode?, members: NodeArray<TypeElement>?): MappedTypeNode
abstract fun updateMappedTypeNode(node: MappedTypeNode, readonlyToken: PlusToken?, typeParameter: TypeParameterDeclaration, nameType: TypeNode?, questionToken: PlusToken?, type: TypeNode?, members: NodeArray<TypeElement>?): MappedTypeNode
abstract fun updateMappedTypeNode(node: MappedTypeNode, readonlyToken: PlusToken?, typeParameter: TypeParameterDeclaration, nameType: TypeNode?, questionToken: QuestionToken?, type: TypeNode?, members: NodeArray<TypeElement>?): MappedTypeNode
Link copied to clipboard
Link copied to clipboard
abstract fun updateMethodDeclaration(node: MethodDeclaration, modifiers: ReadonlyArray<ModifierLike>?, asteriskToken: AsteriskToken?, name: PropertyName, questionToken: QuestionToken?, typeParameters: ReadonlyArray<TypeParameterDeclaration>?, parameters: ReadonlyArray<ParameterDeclaration>, type: TypeNode?, body: Block?): MethodDeclaration
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun updateNamedTupleMember(node: NamedTupleMember, dotDotDotToken: DotDotDotToken?, name: Identifier, questionToken: QuestionToken?, type: TypeNode): NamedTupleMember
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun updateNewExpression(node: NewExpression, expression: Expression, typeArguments: ReadonlyArray<TypeNode>?, argumentsArray: ReadonlyArray<Expression>?): NewExpression
Link copied to clipboard
abstract fun updateNonNullChain(node: NonNullChain, expression: Expression): NonNullChain
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun updateParameterDeclaration(node: ParameterDeclaration, modifiers: ReadonlyArray<ModifierLike>?, dotDotDotToken: DotDotDotToken?, name: String, questionToken: QuestionToken?, type: TypeNode?, initializer: Expression?): ParameterDeclaration
abstract fun updateParameterDeclaration(node: ParameterDeclaration, modifiers: ReadonlyArray<ModifierLike>?, dotDotDotToken: DotDotDotToken?, name: BindingName, questionToken: QuestionToken?, type: TypeNode?, initializer: Expression?): ParameterDeclaration
Link copied to clipboard
abstract fun updatePropertyAccessChain(node: PropertyAccessChain, expression: Expression, questionDotToken: QuestionDotToken?, name: MemberName): PropertyAccessChain
Link copied to clipboard
Link copied to clipboard
abstract fun updatePropertyDeclaration(node: PropertyDeclaration, modifiers: ReadonlyArray<ModifierLike>?, name: String, questionOrExclamationToken: ExclamationToken?, type: TypeNode?, initializer: Expression?): PropertyDeclaration
abstract fun updatePropertyDeclaration(node: PropertyDeclaration, modifiers: ReadonlyArray<ModifierLike>?, name: String, questionOrExclamationToken: QuestionToken?, type: TypeNode?, initializer: Expression?): PropertyDeclaration
abstract fun updatePropertyDeclaration(node: PropertyDeclaration, modifiers: ReadonlyArray<ModifierLike>?, name: PropertyName, questionOrExclamationToken: ExclamationToken?, type: TypeNode?, initializer: Expression?): PropertyDeclaration
abstract fun updatePropertyDeclaration(node: PropertyDeclaration, modifiers: ReadonlyArray<ModifierLike>?, name: PropertyName, questionOrExclamationToken: QuestionToken?, type: TypeNode?, initializer: Expression?): PropertyDeclaration
Link copied to clipboard
abstract fun updatePropertySignature(node: PropertySignature, modifiers: ReadonlyArray<Modifier>?, name: PropertyName, questionToken: QuestionToken?, type: TypeNode?): PropertySignature
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun updateSourceFile(node: SourceFile, statements: ReadonlyArray<Statement>, isDeclarationFile: Boolean = definedExternally, referencedFiles: ReadonlyArray<FileReference> = definedExternally, typeReferences: ReadonlyArray<FileReference> = definedExternally, hasNoDefaultLib: Boolean = definedExternally, libReferences: ReadonlyArray<FileReference> = definedExternally): SourceFile
Link copied to clipboard
Link copied to clipboard
abstract fun updateSpreadElement(node: SpreadElement, expression: Expression): SpreadElement
Link copied to clipboard
abstract fun updateSwitchStatement(node: SwitchStatement, expression: Expression, caseBlock: CaseBlock): SwitchStatement
Link copied to clipboard
abstract fun updateTemplateSpan(node: TemplateSpan, expression: Expression, literal: TemplateMiddle): TemplateSpan
abstract fun updateTemplateSpan(node: TemplateSpan, expression: Expression, literal: TemplateTail): TemplateSpan
Link copied to clipboard
Link copied to clipboard
abstract fun updateTryStatement(node: TryStatement, tryBlock: Block, catchClause: CatchClause?, finallyBlock: Block?): TryStatement
Link copied to clipboard
abstract fun updateTypeAssertion(node: TypeAssertion, type: TypeNode, expression: Expression): TypeAssertion
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun updateTypePredicateNode(node: TypePredicateNode, assertsModifier: AssertsKeyword?, parameterName: Identifier, type: TypeNode?): TypePredicateNode
abstract fun updateTypePredicateNode(node: TypePredicateNode, assertsModifier: AssertsKeyword?, parameterName: ThisTypeNode, type: TypeNode?): TypePredicateNode
Link copied to clipboard
abstract fun updateTypeQueryNode(node: TypeQueryNode, exprName: EntityName, typeArguments: ReadonlyArray<TypeNode> = definedExternally): TypeQueryNode
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun updateVariableDeclaration(node: VariableDeclaration, name: BindingName, exclamationToken: ExclamationToken?, type: TypeNode?, initializer: Expression?): VariableDeclaration
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun updateWhileStatement(node: WhileStatement, expression: Expression, statement: Statement): WhileStatement
Link copied to clipboard
abstract fun updateWithStatement(node: WithStatement, expression: Expression, statement: Statement): WithStatement
Link copied to clipboard
abstract fun updateYieldExpression(node: YieldExpression, asteriskToken: AsteriskToken?, expression: Expression?): YieldExpression