Liking cljdoc? Tell your friends :D
ClojureScript only.

dots.typescript.node-factory


create-addcljs

(create-add node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-array-binding-patterncljs

(create-array-binding-pattern node-factory elements)

Parameters:

  • elements: readonly ArrayBindingElement[]

Returns: ArrayBindingPattern

**Parameters:**
- `elements`: `readonly ArrayBindingElement[]`

**Returns:** `ArrayBindingPattern`
sourceraw docstring

create-array-literal-expressioncljs

(create-array-literal-expression node-factory)
(create-array-literal-expression node-factory elements)
(create-array-literal-expression node-factory elements multi-line?)

Parameters:

  • elements: readonly Expression[] | undefined
  • multi-line?: boolean | undefined

Returns: ArrayLiteralExpression

**Parameters:**
- `elements`: `readonly Expression[] | undefined`
- `multi-line?`: `boolean | undefined`

**Returns:** `ArrayLiteralExpression`
sourceraw docstring

create-array-type-nodecljs

(create-array-type-node node-factory element-type)

Parameters:

  • element-type: TypeNode

Returns: ArrayTypeNode

**Parameters:**
- `element-type`: `TypeNode`

**Returns:** `ArrayTypeNode`
sourceraw docstring

create-arrow-functioncljs

(create-arrow-function node-factory)
(create-arrow-function node-factory modifiers)
(create-arrow-function node-factory modifiers type-parameters)
(create-arrow-function node-factory modifiers type-parameters parameters)
(create-arrow-function node-factory modifiers type-parameters parameters type)
(create-arrow-function node-factory
                       modifiers
                       type-parameters
                       parameters
                       type
                       equals-greater-than-token)
(create-arrow-function node-factory
                       modifiers
                       type-parameters
                       parameters
                       type
                       equals-greater-than-token
                       body)

Parameters:

  • modifiers: readonly Modifier[] | undefined
  • type-parameters: readonly TypeParameterDeclaration[] | undefined
  • parameters: readonly ParameterDeclaration[]
  • type: TypeNode | undefined
  • equals-greater-than-token: EqualsGreaterThanToken | undefined
  • body: ConciseBody

Returns: ArrowFunction

**Parameters:**
- `modifiers`: `readonly Modifier[] | undefined`
- `type-parameters`: `readonly TypeParameterDeclaration[] | undefined`
- `parameters`: `readonly ParameterDeclaration[]`
- `type`: `TypeNode | undefined`
- `equals-greater-than-token`: `EqualsGreaterThanToken | undefined`
- `body`: `ConciseBody`

**Returns:** `ArrowFunction`
sourceraw docstring

create-as-expressioncljs

(create-as-expression node-factory expression type)

Parameters:

  • expression: Expression
  • type: TypeNode

Returns: AsExpression

**Parameters:**
- `expression`: `Expression`
- `type`: `TypeNode`

**Returns:** `AsExpression`
sourceraw docstring

create-assert-clausecljs

(create-assert-clause node-factory elements)
(create-assert-clause node-factory elements multi-line?)

Parameters:

  • elements: NodeArray<AssertEntry>
  • multi-line?: boolean | undefined

Returns: AssertClause

**Parameters:**
- `elements`: `NodeArray<AssertEntry>`
- `multi-line?`: `boolean | undefined`

**Returns:** `AssertClause`
sourceraw docstring

create-assert-entrycljs

(create-assert-entry node-factory name value)

Parameters:

  • name: ImportAttributeName
  • value: Expression

Returns: AssertEntry

**Parameters:**
- `name`: `ImportAttributeName`
- `value`: `Expression`

**Returns:** `AssertEntry`
sourceraw docstring

create-assignmentcljs

(create-assignment node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: AssignmentExpression<EqualsToken>

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `AssignmentExpression<EqualsToken>`
sourceraw docstring

create-await-expressioncljs

(create-await-expression node-factory expression)

Parameters:

  • expression: Expression

Returns: AwaitExpression

**Parameters:**
- `expression`: `Expression`

**Returns:** `AwaitExpression`
sourceraw docstring

create-big-int-literalcljs

(create-big-int-literal node-factory value)

Parameters:

  • value: string | PseudoBigInt

Returns: BigIntLiteral

**Parameters:**
- `value`: `string | PseudoBigInt`

**Returns:** `BigIntLiteral`
sourceraw docstring

create-binary-expressioncljs

(create-binary-expression node-factory left operator right)

Parameters:

  • left: Expression
  • operator: BinaryOperator | BinaryOperatorToken
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `operator`: `BinaryOperator | BinaryOperatorToken`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-binding-elementcljs

(create-binding-element node-factory)
(create-binding-element node-factory dot-dot-dot-token)
(create-binding-element node-factory dot-dot-dot-token property-name)
(create-binding-element node-factory dot-dot-dot-token property-name name)
(create-binding-element node-factory
                        dot-dot-dot-token
                        property-name
                        name
                        initializer)

Parameters:

  • dot-dot-dot-token: DotDotDotToken | undefined
  • property-name: string | PropertyName | undefined
  • name: string | BindingName
  • initializer: Expression | undefined

Returns: BindingElement

**Parameters:**
- `dot-dot-dot-token`: `DotDotDotToken | undefined`
- `property-name`: `string | PropertyName | undefined`
- `name`: `string | BindingName`
- `initializer`: `Expression | undefined`

**Returns:** `BindingElement`
sourceraw docstring

create-bitwise-andcljs

(create-bitwise-and node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-bitwise-notcljs

(create-bitwise-not node-factory operand)

Parameters:

  • operand: Expression

Returns: PrefixUnaryExpression

**Parameters:**
- `operand`: `Expression`

**Returns:** `PrefixUnaryExpression`
sourceraw docstring

create-bitwise-orcljs

(create-bitwise-or node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-bitwise-xorcljs

(create-bitwise-xor node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-blockcljs

(create-block node-factory statements)
(create-block node-factory statements multi-line?)

Parameters:

  • statements: readonly Statement[]
  • multi-line?: boolean | undefined

Returns: Block

**Parameters:**
- `statements`: `readonly Statement[]`
- `multi-line?`: `boolean | undefined`

**Returns:** `Block`
sourceraw docstring

create-break-statementcljs

(create-break-statement node-factory)
(create-break-statement node-factory label)

Parameters:

  • label: string | Identifier | undefined

Returns: BreakStatement

**Parameters:**
- `label`: `string | Identifier | undefined`

**Returns:** `BreakStatement`
sourceraw docstring

create-bundlecljs

(create-bundle node-factory source-files)
(create-bundle node-factory source-files prepends)

Parameters:

  • source-files: readonly SourceFile[]
  • prepends: readonly (UnparsedSource | InputFiles)[] | undefined

Returns: Bundle

**Parameters:**
- `source-files`: `readonly SourceFile[]`
- `prepends`: `readonly (UnparsedSource | InputFiles)[] | undefined`

**Returns:** `Bundle`
sourceraw docstring

create-call-chaincljs

(create-call-chain node-factory expression)
(create-call-chain node-factory expression question-dot-token)
(create-call-chain node-factory expression question-dot-token type-arguments)
(create-call-chain node-factory
                   expression
                   question-dot-token
                   type-arguments
                   arguments-array)

Parameters:

  • expression: Expression
  • question-dot-token: QuestionDotToken | undefined
  • type-arguments: readonly TypeNode[] | undefined
  • arguments-array: readonly Expression[] | undefined

Returns: CallChain

**Parameters:**
- `expression`: `Expression`
- `question-dot-token`: `QuestionDotToken | undefined`
- `type-arguments`: `readonly TypeNode[] | undefined`
- `arguments-array`: `readonly Expression[] | undefined`

**Returns:** `CallChain`
sourceraw docstring

create-call-expressioncljs

(create-call-expression node-factory expression)
(create-call-expression node-factory expression type-arguments)
(create-call-expression node-factory expression type-arguments arguments-array)

Parameters:

  • expression: Expression
  • type-arguments: readonly TypeNode[] | undefined
  • arguments-array: readonly Expression[] | undefined

Returns: CallExpression

**Parameters:**
- `expression`: `Expression`
- `type-arguments`: `readonly TypeNode[] | undefined`
- `arguments-array`: `readonly Expression[] | undefined`

**Returns:** `CallExpression`
sourceraw docstring

create-call-signaturecljs

(create-call-signature node-factory)
(create-call-signature node-factory type-parameters)
(create-call-signature node-factory type-parameters parameters)
(create-call-signature node-factory type-parameters parameters type)

Parameters:

  • type-parameters: readonly TypeParameterDeclaration[] | undefined
  • parameters: readonly ParameterDeclaration[]
  • type: TypeNode | undefined

Returns: CallSignatureDeclaration

**Parameters:**
- `type-parameters`: `readonly TypeParameterDeclaration[] | undefined`
- `parameters`: `readonly ParameterDeclaration[]`
- `type`: `TypeNode | undefined`

**Returns:** `CallSignatureDeclaration`
sourceraw docstring

create-case-blockcljs

(create-case-block node-factory clauses)

Parameters:

  • clauses: readonly CaseOrDefaultClause[]

Returns: CaseBlock

**Parameters:**
- `clauses`: `readonly CaseOrDefaultClause[]`

**Returns:** `CaseBlock`
sourceraw docstring

create-case-clausecljs

(create-case-clause node-factory expression statements)

Parameters:

  • expression: Expression
  • statements: readonly Statement[]

Returns: CaseClause

**Parameters:**
- `expression`: `Expression`
- `statements`: `readonly Statement[]`

**Returns:** `CaseClause`
sourceraw docstring

create-catch-clausecljs

(create-catch-clause node-factory)
(create-catch-clause node-factory variable-declaration)
(create-catch-clause node-factory variable-declaration block)

Parameters:

  • variable-declaration: string | VariableDeclaration | BindingName | undefined
  • block: Block

Returns: CatchClause

**Parameters:**
- `variable-declaration`: `string | VariableDeclaration | BindingName | undefined`
- `block`: `Block`

**Returns:** `CatchClause`
sourceraw docstring

create-class-declarationcljs

(create-class-declaration node-factory)
(create-class-declaration node-factory modifiers)
(create-class-declaration node-factory modifiers name)
(create-class-declaration node-factory modifiers name type-parameters)
(create-class-declaration node-factory
                          modifiers
                          name
                          type-parameters
                          heritage-clauses)
(create-class-declaration node-factory
                          modifiers
                          name
                          type-parameters
                          heritage-clauses
                          members)

Parameters:

  • modifiers: readonly ModifierLike[] | undefined
  • name: string | Identifier | undefined
  • type-parameters: readonly TypeParameterDeclaration[] | undefined
  • heritage-clauses: readonly HeritageClause[] | undefined
  • members: readonly ClassElement[]

Returns: ClassDeclaration

**Parameters:**
- `modifiers`: `readonly ModifierLike[] | undefined`
- `name`: `string | Identifier | undefined`
- `type-parameters`: `readonly TypeParameterDeclaration[] | undefined`
- `heritage-clauses`: `readonly HeritageClause[] | undefined`
- `members`: `readonly ClassElement[]`

**Returns:** `ClassDeclaration`
sourceraw docstring

create-class-expressioncljs

(create-class-expression node-factory)
(create-class-expression node-factory modifiers)
(create-class-expression node-factory modifiers name)
(create-class-expression node-factory modifiers name type-parameters)
(create-class-expression node-factory
                         modifiers
                         name
                         type-parameters
                         heritage-clauses)
(create-class-expression node-factory
                         modifiers
                         name
                         type-parameters
                         heritage-clauses
                         members)

Parameters:

  • modifiers: readonly ModifierLike[] | undefined
  • name: string | Identifier | undefined
  • type-parameters: readonly TypeParameterDeclaration[] | undefined
  • heritage-clauses: readonly HeritageClause[] | undefined
  • members: readonly ClassElement[]

Returns: ClassExpression

**Parameters:**
- `modifiers`: `readonly ModifierLike[] | undefined`
- `name`: `string | Identifier | undefined`
- `type-parameters`: `readonly TypeParameterDeclaration[] | undefined`
- `heritage-clauses`: `readonly HeritageClause[] | undefined`
- `members`: `readonly ClassElement[]`

**Returns:** `ClassExpression`
sourceraw docstring

create-class-static-block-declarationcljs

(create-class-static-block-declaration node-factory body)

Parameters:

  • body: Block

Returns: ClassStaticBlockDeclaration

**Parameters:**
- `body`: `Block`

**Returns:** `ClassStaticBlockDeclaration`
sourceraw docstring

create-commacljs

(create-comma node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-comma-list-expressioncljs

(create-comma-list-expression node-factory elements)

Parameters:

  • elements: readonly Expression[]

Returns: CommaListExpression

**Parameters:**
- `elements`: `readonly Expression[]`

**Returns:** `CommaListExpression`
sourceraw docstring

create-computed-property-namecljs

(create-computed-property-name node-factory expression)

Parameters:

  • expression: Expression

Returns: ComputedPropertyName

**Parameters:**
- `expression`: `Expression`

**Returns:** `ComputedPropertyName`
sourceraw docstring

create-conditional-expressioncljs

(create-conditional-expression node-factory condition)
(create-conditional-expression node-factory condition question-token)
(create-conditional-expression node-factory condition question-token when-true)
(create-conditional-expression node-factory
                               condition
                               question-token
                               when-true
                               colon-token)
(create-conditional-expression node-factory
                               condition
                               question-token
                               when-true
                               colon-token
                               when-false)

Parameters:

  • condition: Expression
  • question-token: QuestionToken | undefined
  • when-true: Expression
  • colon-token: ColonToken | undefined
  • when-false: Expression

Returns: ConditionalExpression

**Parameters:**
- `condition`: `Expression`
- `question-token`: `QuestionToken | undefined`
- `when-true`: `Expression`
- `colon-token`: `ColonToken | undefined`
- `when-false`: `Expression`

**Returns:** `ConditionalExpression`
sourceraw docstring

create-conditional-type-nodecljs

(create-conditional-type-node node-factory
                              check-type
                              extends-type
                              true-type
                              false-type)

Parameters:

  • check-type: TypeNode
  • extends-type: TypeNode
  • true-type: TypeNode
  • false-type: TypeNode

Returns: ConditionalTypeNode

**Parameters:**
- `check-type`: `TypeNode`
- `extends-type`: `TypeNode`
- `true-type`: `TypeNode`
- `false-type`: `TypeNode`

**Returns:** `ConditionalTypeNode`
sourceraw docstring

create-construct-signaturecljs

(create-construct-signature node-factory)
(create-construct-signature node-factory type-parameters)
(create-construct-signature node-factory type-parameters parameters)
(create-construct-signature node-factory type-parameters parameters type)

Parameters:

  • type-parameters: readonly TypeParameterDeclaration[] | undefined
  • parameters: readonly ParameterDeclaration[]
  • type: TypeNode | undefined

Returns: ConstructSignatureDeclaration

**Parameters:**
- `type-parameters`: `readonly TypeParameterDeclaration[] | undefined`
- `parameters`: `readonly ParameterDeclaration[]`
- `type`: `TypeNode | undefined`

**Returns:** `ConstructSignatureDeclaration`
sourceraw docstring

create-constructor-declarationcljs

(create-constructor-declaration node-factory)
(create-constructor-declaration node-factory modifiers)
(create-constructor-declaration node-factory modifiers parameters)
(create-constructor-declaration node-factory modifiers parameters body)

Parameters:

  • modifiers: readonly ModifierLike[] | undefined
  • parameters: readonly ParameterDeclaration[]
  • body: Block | undefined

Returns: ConstructorDeclaration

**Parameters:**
- `modifiers`: `readonly ModifierLike[] | undefined`
- `parameters`: `readonly ParameterDeclaration[]`
- `body`: `Block | undefined`

**Returns:** `ConstructorDeclaration`
sourceraw docstring

create-constructor-type-nodecljs

(create-constructor-type-node node-factory)
(create-constructor-type-node node-factory modifiers)
(create-constructor-type-node node-factory modifiers type-parameters)
(create-constructor-type-node node-factory modifiers type-parameters parameters)
(create-constructor-type-node node-factory
                              modifiers
                              type-parameters
                              parameters
                              type)

Parameters:

  • modifiers: readonly Modifier[] | undefined
  • type-parameters: readonly TypeParameterDeclaration[] | undefined
  • parameters: readonly ParameterDeclaration[]
  • type: TypeNode

Returns: ConstructorTypeNode

**Parameters:**
- `modifiers`: `readonly Modifier[] | undefined`
- `type-parameters`: `readonly TypeParameterDeclaration[] | undefined`
- `parameters`: `readonly ParameterDeclaration[]`
- `type`: `TypeNode`

**Returns:** `ConstructorTypeNode`
sourceraw docstring

create-continue-statementcljs

(create-continue-statement node-factory)
(create-continue-statement node-factory label)

Parameters:

  • label: string | Identifier | undefined

Returns: ContinueStatement

**Parameters:**
- `label`: `string | Identifier | undefined`

**Returns:** `ContinueStatement`
sourceraw docstring

create-debugger-statementcljs

(create-debugger-statement node-factory)

Returns: DebuggerStatement

**Returns:** `DebuggerStatement`
sourceraw docstring

create-decoratorcljs

(create-decorator node-factory expression)

Parameters:

  • expression: Expression

Returns: Decorator

**Parameters:**
- `expression`: `Expression`

**Returns:** `Decorator`
sourceraw docstring

create-default-clausecljs

(create-default-clause node-factory statements)

Parameters:

  • statements: readonly Statement[]

Returns: DefaultClause

**Parameters:**
- `statements`: `readonly Statement[]`

**Returns:** `DefaultClause`
sourceraw docstring

create-delete-expressioncljs

(create-delete-expression node-factory expression)

Parameters:

  • expression: Expression

Returns: DeleteExpression

**Parameters:**
- `expression`: `Expression`

**Returns:** `DeleteExpression`
sourceraw docstring

create-dividecljs

(create-divide node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-do-statementcljs

(create-do-statement node-factory statement expression)

Parameters:

  • statement: Statement
  • expression: Expression

Returns: DoStatement

**Parameters:**
- `statement`: `Statement`
- `expression`: `Expression`

**Returns:** `DoStatement`
sourceraw docstring

create-element-access-chaincljs

(create-element-access-chain node-factory expression)
(create-element-access-chain node-factory expression question-dot-token)
(create-element-access-chain node-factory expression question-dot-token index)

Parameters:

  • expression: Expression
  • question-dot-token: QuestionDotToken | undefined
  • index: number | Expression

Returns: ElementAccessChain

**Parameters:**
- `expression`: `Expression`
- `question-dot-token`: `QuestionDotToken | undefined`
- `index`: `number | Expression`

**Returns:** `ElementAccessChain`
sourceraw docstring

create-element-access-expressioncljs

(create-element-access-expression node-factory expression index)

Parameters:

  • expression: Expression
  • index: number | Expression

Returns: ElementAccessExpression

**Parameters:**
- `expression`: `Expression`
- `index`: `number | Expression`

**Returns:** `ElementAccessExpression`
sourceraw docstring

create-empty-statementcljs

(create-empty-statement node-factory)

Returns: EmptyStatement

**Returns:** `EmptyStatement`
sourceraw docstring

create-enum-declarationcljs

(create-enum-declaration node-factory)
(create-enum-declaration node-factory modifiers)
(create-enum-declaration node-factory modifiers name)
(create-enum-declaration node-factory modifiers name members)

Parameters:

  • modifiers: readonly ModifierLike[] | undefined
  • name: string | Identifier
  • members: readonly EnumMember[]

Returns: EnumDeclaration

**Parameters:**
- `modifiers`: `readonly ModifierLike[] | undefined`
- `name`: `string | Identifier`
- `members`: `readonly EnumMember[]`

**Returns:** `EnumDeclaration`
sourceraw docstring

create-enum-membercljs

(create-enum-member node-factory name)
(create-enum-member node-factory name initializer)

Parameters:

  • name: string | PropertyName
  • initializer: Expression | undefined

Returns: EnumMember

**Parameters:**
- `name`: `string | PropertyName`
- `initializer`: `Expression | undefined`

**Returns:** `EnumMember`
sourceraw docstring

create-equalitycljs

(create-equality node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-exponentcljs

(create-exponent node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-export-assignmentcljs

(create-export-assignment node-factory)
(create-export-assignment node-factory modifiers)
(create-export-assignment node-factory modifiers export-equals?)
(create-export-assignment node-factory modifiers export-equals? expression)

Parameters:

  • modifiers: readonly ModifierLike[] | undefined
  • export-equals?: boolean | undefined
  • expression: Expression

Returns: ExportAssignment

**Parameters:**
- `modifiers`: `readonly ModifierLike[] | undefined`
- `export-equals?`: `boolean | undefined`
- `expression`: `Expression`

**Returns:** `ExportAssignment`
sourceraw docstring

create-export-declarationcljs

(create-export-declaration node-factory)
(create-export-declaration node-factory modifiers)
(create-export-declaration node-factory modifiers type-only?)
(create-export-declaration node-factory modifiers type-only? export-clause)
(create-export-declaration node-factory
                           modifiers
                           type-only?
                           export-clause
                           module-specifier)
(create-export-declaration node-factory
                           modifiers
                           type-only?
                           export-clause
                           module-specifier
                           attributes)

Parameters:

  • modifiers: readonly ModifierLike[] | undefined
  • type-only?: boolean
  • export-clause: NamedExportBindings | undefined
  • module-specifier: Expression | undefined
  • attributes: ImportAttributes | undefined

Returns: ExportDeclaration

**Parameters:**
- `modifiers`: `readonly ModifierLike[] | undefined`
- `type-only?`: `boolean`
- `export-clause`: `NamedExportBindings | undefined`
- `module-specifier`: `Expression | undefined`
- `attributes`: `ImportAttributes | undefined`

**Returns:** `ExportDeclaration`
sourceraw docstring

create-export-defaultcljs

(create-export-default node-factory expression)

Parameters:

  • expression: Expression

Returns: ExportAssignment

**Parameters:**
- `expression`: `Expression`

**Returns:** `ExportAssignment`
sourceraw docstring

create-export-specifiercljs

(create-export-specifier node-factory type-only?)
(create-export-specifier node-factory type-only? property-name)
(create-export-specifier node-factory type-only? property-name name)

Parameters:

  • type-only?: boolean
  • property-name: string | Identifier | undefined
  • name: string | Identifier

Returns: ExportSpecifier

**Parameters:**
- `type-only?`: `boolean`
- `property-name`: `string | Identifier | undefined`
- `name`: `string | Identifier`

**Returns:** `ExportSpecifier`
sourceraw docstring

create-expression-statementcljs

(create-expression-statement node-factory expression)

Parameters:

  • expression: Expression

Returns: ExpressionStatement

**Parameters:**
- `expression`: `Expression`

**Returns:** `ExpressionStatement`
sourceraw docstring

create-expression-with-type-argumentscljs

(create-expression-with-type-arguments node-factory expression)
(create-expression-with-type-arguments node-factory expression type-arguments)

Parameters:

  • expression: Expression
  • type-arguments: readonly TypeNode[] | undefined

Returns: ExpressionWithTypeArguments

**Parameters:**
- `expression`: `Expression`
- `type-arguments`: `readonly TypeNode[] | undefined`

**Returns:** `ExpressionWithTypeArguments`
sourceraw docstring

create-external-module-exportcljs

(create-external-module-export node-factory export-name)

Parameters:

  • export-name: Identifier

Returns: ExportDeclaration

**Parameters:**
- `export-name`: `Identifier`

**Returns:** `ExportDeclaration`
sourceraw docstring

create-external-module-referencecljs

(create-external-module-reference node-factory expression)

Parameters:

  • expression: Expression

Returns: ExternalModuleReference

**Parameters:**
- `expression`: `Expression`

**Returns:** `ExternalModuleReference`
sourceraw docstring

create-falsecljs

(create-false node-factory)

Returns: FalseLiteral

**Returns:** `FalseLiteral`
sourceraw docstring

create-for-in-statementcljs

(create-for-in-statement node-factory initializer expression statement)

Parameters:

  • initializer: ForInitializer
  • expression: Expression
  • statement: Statement

Returns: ForInStatement

**Parameters:**
- `initializer`: `ForInitializer`
- `expression`: `Expression`
- `statement`: `Statement`

**Returns:** `ForInStatement`
sourceraw docstring

create-for-of-statementcljs

(create-for-of-statement node-factory)
(create-for-of-statement node-factory await-modifier)
(create-for-of-statement node-factory await-modifier initializer)
(create-for-of-statement node-factory await-modifier initializer expression)
(create-for-of-statement node-factory
                         await-modifier
                         initializer
                         expression
                         statement)

Parameters:

  • await-modifier: AwaitKeyword | undefined
  • initializer: ForInitializer
  • expression: Expression
  • statement: Statement

Returns: ForOfStatement

**Parameters:**
- `await-modifier`: `AwaitKeyword | undefined`
- `initializer`: `ForInitializer`
- `expression`: `Expression`
- `statement`: `Statement`

**Returns:** `ForOfStatement`
sourceraw docstring

create-for-statementcljs

(create-for-statement node-factory)
(create-for-statement node-factory initializer)
(create-for-statement node-factory initializer condition)
(create-for-statement node-factory initializer condition incrementor)
(create-for-statement node-factory initializer condition incrementor statement)

Parameters:

  • initializer: ForInitializer | undefined
  • condition: Expression | undefined
  • incrementor: Expression | undefined
  • statement: Statement

Returns: ForStatement

**Parameters:**
- `initializer`: `ForInitializer | undefined`
- `condition`: `Expression | undefined`
- `incrementor`: `Expression | undefined`
- `statement`: `Statement`

**Returns:** `ForStatement`
sourceraw docstring

create-function-declarationcljs

(create-function-declaration node-factory)
(create-function-declaration node-factory modifiers)
(create-function-declaration node-factory modifiers asterisk-token)
(create-function-declaration node-factory modifiers asterisk-token name)
(create-function-declaration node-factory
                             modifiers
                             asterisk-token
                             name
                             type-parameters)
(create-function-declaration node-factory
                             modifiers
                             asterisk-token
                             name
                             type-parameters
                             parameters)
(create-function-declaration node-factory
                             modifiers
                             asterisk-token
                             name
                             type-parameters
                             parameters
                             type)
(create-function-declaration node-factory
                             modifiers
                             asterisk-token
                             name
                             type-parameters
                             parameters
                             type
                             body)

Parameters:

  • modifiers: readonly ModifierLike[] | undefined
  • asterisk-token: AsteriskToken | undefined
  • name: string | Identifier | undefined
  • type-parameters: readonly TypeParameterDeclaration[] | undefined
  • parameters: readonly ParameterDeclaration[]
  • type: TypeNode | undefined
  • body: Block | undefined

Returns: FunctionDeclaration

**Parameters:**
- `modifiers`: `readonly ModifierLike[] | undefined`
- `asterisk-token`: `AsteriskToken | undefined`
- `name`: `string | Identifier | undefined`
- `type-parameters`: `readonly TypeParameterDeclaration[] | undefined`
- `parameters`: `readonly ParameterDeclaration[]`
- `type`: `TypeNode | undefined`
- `body`: `Block | undefined`

**Returns:** `FunctionDeclaration`
sourceraw docstring

create-function-expressioncljs

(create-function-expression node-factory)
(create-function-expression node-factory modifiers)
(create-function-expression node-factory modifiers asterisk-token)
(create-function-expression node-factory modifiers asterisk-token name)
(create-function-expression node-factory
                            modifiers
                            asterisk-token
                            name
                            type-parameters)
(create-function-expression node-factory
                            modifiers
                            asterisk-token
                            name
                            type-parameters
                            parameters)
(create-function-expression node-factory
                            modifiers
                            asterisk-token
                            name
                            type-parameters
                            parameters
                            type)
(create-function-expression node-factory
                            modifiers
                            asterisk-token
                            name
                            type-parameters
                            parameters
                            type
                            body)

Parameters:

  • modifiers: readonly Modifier[] | undefined
  • asterisk-token: AsteriskToken | undefined
  • name: string | Identifier | undefined
  • type-parameters: readonly TypeParameterDeclaration[] | undefined
  • parameters: readonly ParameterDeclaration[] | undefined
  • type: TypeNode | undefined
  • body: Block

Returns: FunctionExpression

**Parameters:**
- `modifiers`: `readonly Modifier[] | undefined`
- `asterisk-token`: `AsteriskToken | undefined`
- `name`: `string | Identifier | undefined`
- `type-parameters`: `readonly TypeParameterDeclaration[] | undefined`
- `parameters`: `readonly ParameterDeclaration[] | undefined`
- `type`: `TypeNode | undefined`
- `body`: `Block`

**Returns:** `FunctionExpression`
sourceraw docstring

create-function-type-nodecljs

(create-function-type-node node-factory)
(create-function-type-node node-factory type-parameters)
(create-function-type-node node-factory type-parameters parameters)
(create-function-type-node node-factory type-parameters parameters type)

Parameters:

  • type-parameters: readonly TypeParameterDeclaration[] | undefined
  • parameters: readonly ParameterDeclaration[]
  • type: TypeNode

Returns: FunctionTypeNode

**Parameters:**
- `type-parameters`: `readonly TypeParameterDeclaration[] | undefined`
- `parameters`: `readonly ParameterDeclaration[]`
- `type`: `TypeNode`

**Returns:** `FunctionTypeNode`
sourceraw docstring

create-get-accessor-declarationcljs

(create-get-accessor-declaration node-factory)
(create-get-accessor-declaration node-factory modifiers)
(create-get-accessor-declaration node-factory modifiers name)
(create-get-accessor-declaration node-factory modifiers name parameters)
(create-get-accessor-declaration node-factory modifiers name parameters type)
(create-get-accessor-declaration node-factory
                                 modifiers
                                 name
                                 parameters
                                 type
                                 body)

Parameters:

  • modifiers: readonly ModifierLike[] | undefined
  • name: string | PropertyName
  • parameters: readonly ParameterDeclaration[]
  • type: TypeNode | undefined
  • body: Block | undefined

Returns: GetAccessorDeclaration

**Parameters:**
- `modifiers`: `readonly ModifierLike[] | undefined`
- `name`: `string | PropertyName`
- `parameters`: `readonly ParameterDeclaration[]`
- `type`: `TypeNode | undefined`
- `body`: `Block | undefined`

**Returns:** `GetAccessorDeclaration`
sourceraw docstring

create-greater-thancljs

(create-greater-than node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-greater-than-equalscljs

(create-greater-than-equals node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-heritage-clausecljs

(create-heritage-clause node-factory token types)

Parameters:

  • token: SyntaxKind.ExtendsKeyword | SyntaxKind.ImplementsKeyword
  • types: readonly ExpressionWithTypeArguments[]

Returns: HeritageClause

**Parameters:**
- `token`: `SyntaxKind.ExtendsKeyword | SyntaxKind.ImplementsKeyword`
- `types`: `readonly ExpressionWithTypeArguments[]`

**Returns:** `HeritageClause`
sourceraw docstring

create-identifiercljs

(create-identifier node-factory text)

Parameters:

  • text: string

Returns: Identifier

**Parameters:**
- `text`: `string`

**Returns:** `Identifier`
sourceraw docstring

create-if-statementcljs

(create-if-statement node-factory expression then-statement)
(create-if-statement node-factory expression then-statement else-statement)

Parameters:

  • expression: Expression
  • then-statement: Statement
  • else-statement: Statement | undefined

Returns: IfStatement

**Parameters:**
- `expression`: `Expression`
- `then-statement`: `Statement`
- `else-statement`: `Statement | undefined`

**Returns:** `IfStatement`
sourceraw docstring

create-immediately-invoked-arrow-functioncljs

(create-immediately-invoked-arrow-function node-factory statements)
(create-immediately-invoked-arrow-function node-factory
                                           statements
                                           param
                                           param-value)

Parameters:

  • statements: readonly Statement[]
  • param: ParameterDeclaration
  • param-value: Expression

Returns: ImmediatelyInvokedArrowFunction

**Parameters:**
- `statements`: `readonly Statement[]`
- `param`: `ParameterDeclaration`
- `param-value`: `Expression`

**Returns:** `ImmediatelyInvokedArrowFunction`
sourceraw docstring

create-immediately-invoked-function-expressioncljs

(create-immediately-invoked-function-expression node-factory statements)
(create-immediately-invoked-function-expression node-factory
                                                statements
                                                param
                                                param-value)

Parameters:

  • statements: readonly Statement[]
  • param: ParameterDeclaration
  • param-value: Expression

Returns: CallExpression

**Parameters:**
- `statements`: `readonly Statement[]`
- `param`: `ParameterDeclaration`
- `param-value`: `Expression`

**Returns:** `CallExpression`
sourceraw docstring

create-import-attributecljs

(create-import-attribute node-factory name value)

Parameters:

  • name: ImportAttributeName
  • value: Expression

Returns: ImportAttribute

**Parameters:**
- `name`: `ImportAttributeName`
- `value`: `Expression`

**Returns:** `ImportAttribute`
sourceraw docstring

create-import-attributescljs

(create-import-attributes node-factory elements)
(create-import-attributes node-factory elements multi-line?)

Parameters:

  • elements: NodeArray<ImportAttribute>
  • multi-line?: boolean | undefined

Returns: ImportAttributes

**Parameters:**
- `elements`: `NodeArray<ImportAttribute>`
- `multi-line?`: `boolean | undefined`

**Returns:** `ImportAttributes`
sourceraw docstring

create-import-clausecljs

(create-import-clause node-factory type-only?)
(create-import-clause node-factory type-only? name)
(create-import-clause node-factory type-only? name named-bindings)

Parameters:

  • type-only?: boolean
  • name: Identifier | undefined
  • named-bindings: NamedImportBindings | undefined

Returns: ImportClause

**Parameters:**
- `type-only?`: `boolean`
- `name`: `Identifier | undefined`
- `named-bindings`: `NamedImportBindings | undefined`

**Returns:** `ImportClause`
sourceraw docstring

create-import-declarationcljs

(create-import-declaration node-factory)
(create-import-declaration node-factory modifiers)
(create-import-declaration node-factory modifiers import-clause)
(create-import-declaration node-factory
                           modifiers
                           import-clause
                           module-specifier)
(create-import-declaration node-factory
                           modifiers
                           import-clause
                           module-specifier
                           attributes)

Parameters:

  • modifiers: readonly ModifierLike[] | undefined
  • import-clause: ImportClause | undefined
  • module-specifier: Expression
  • attributes: ImportAttributes | undefined

Returns: ImportDeclaration

**Parameters:**
- `modifiers`: `readonly ModifierLike[] | undefined`
- `import-clause`: `ImportClause | undefined`
- `module-specifier`: `Expression`
- `attributes`: `ImportAttributes | undefined`

**Returns:** `ImportDeclaration`
sourceraw docstring

create-import-equals-declarationcljs

(create-import-equals-declaration node-factory)
(create-import-equals-declaration node-factory modifiers)
(create-import-equals-declaration node-factory modifiers type-only?)
(create-import-equals-declaration node-factory modifiers type-only? name)
(create-import-equals-declaration node-factory
                                  modifiers
                                  type-only?
                                  name
                                  module-reference)

Parameters:

  • modifiers: readonly ModifierLike[] | undefined
  • type-only?: boolean
  • name: string | Identifier
  • module-reference: ModuleReference

Returns: ImportEqualsDeclaration

**Parameters:**
- `modifiers`: `readonly ModifierLike[] | undefined`
- `type-only?`: `boolean`
- `name`: `string | Identifier`
- `module-reference`: `ModuleReference`

**Returns:** `ImportEqualsDeclaration`
sourceraw docstring

create-import-specifiercljs

(create-import-specifier node-factory type-only?)
(create-import-specifier node-factory type-only? property-name)
(create-import-specifier node-factory type-only? property-name name)

Parameters:

  • type-only?: boolean
  • property-name: Identifier | undefined
  • name: Identifier

Returns: ImportSpecifier

**Parameters:**
- `type-only?`: `boolean`
- `property-name`: `Identifier | undefined`
- `name`: `Identifier`

**Returns:** `ImportSpecifier`
sourceraw docstring

create-import-type-assertion-containercljs

(create-import-type-assertion-container node-factory clause)
(create-import-type-assertion-container node-factory clause multi-line?)

Parameters:

  • clause: AssertClause
  • multi-line?: boolean | undefined

Returns: ImportTypeAssertionContainer

**Parameters:**
- `clause`: `AssertClause`
- `multi-line?`: `boolean | undefined`

**Returns:** `ImportTypeAssertionContainer`
sourceraw docstring

create-import-type-nodecljs

(create-import-type-node node-factory argument)
(create-import-type-node node-factory argument attributes)
(create-import-type-node node-factory argument attributes qualifier)
(create-import-type-node node-factory
                         argument
                         attributes
                         qualifier
                         type-arguments)
(create-import-type-node node-factory
                         argument
                         attributes
                         qualifier
                         type-arguments
                         type-of?)

Parameters:

  • argument: TypeNode
  • attributes: ImportAttributes | undefined
  • qualifier: EntityName | undefined
  • type-arguments: readonly TypeNode[] | undefined
  • type-of?: boolean | undefined

Returns: ImportTypeNode

**Parameters:**
- `argument`: `TypeNode`
- `attributes`: `ImportAttributes | undefined`
- `qualifier`: `EntityName | undefined`
- `type-arguments`: `readonly TypeNode[] | undefined`
- `type-of?`: `boolean | undefined`

**Returns:** `ImportTypeNode`
sourceraw docstring

create-index-signaturecljs

(create-index-signature node-factory)
(create-index-signature node-factory modifiers)
(create-index-signature node-factory modifiers parameters)
(create-index-signature node-factory modifiers parameters type)

Parameters:

  • modifiers: readonly ModifierLike[] | undefined
  • parameters: readonly ParameterDeclaration[]
  • type: TypeNode

Returns: IndexSignatureDeclaration

**Parameters:**
- `modifiers`: `readonly ModifierLike[] | undefined`
- `parameters`: `readonly ParameterDeclaration[]`
- `type`: `TypeNode`

**Returns:** `IndexSignatureDeclaration`
sourceraw docstring

create-indexed-access-type-nodecljs

(create-indexed-access-type-node node-factory object-type index-type)

Parameters:

  • object-type: TypeNode
  • index-type: TypeNode

Returns: IndexedAccessTypeNode

**Parameters:**
- `object-type`: `TypeNode`
- `index-type`: `TypeNode`

**Returns:** `IndexedAccessTypeNode`
sourceraw docstring

create-inequalitycljs

(create-inequality node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-infer-type-nodecljs

(create-infer-type-node node-factory type-parameter)

Parameters:

  • type-parameter: TypeParameterDeclaration

Returns: InferTypeNode

**Parameters:**
- `type-parameter`: `TypeParameterDeclaration`

**Returns:** `InferTypeNode`
sourceraw docstring

create-interface-declarationcljs

(create-interface-declaration node-factory)
(create-interface-declaration node-factory modifiers)
(create-interface-declaration node-factory modifiers name)
(create-interface-declaration node-factory modifiers name type-parameters)
(create-interface-declaration node-factory
                              modifiers
                              name
                              type-parameters
                              heritage-clauses)
(create-interface-declaration node-factory
                              modifiers
                              name
                              type-parameters
                              heritage-clauses
                              members)

Parameters:

  • modifiers: readonly ModifierLike[] | undefined
  • name: string | Identifier
  • type-parameters: readonly TypeParameterDeclaration[] | undefined
  • heritage-clauses: readonly HeritageClause[] | undefined
  • members: readonly TypeElement[]

Returns: InterfaceDeclaration

**Parameters:**
- `modifiers`: `readonly ModifierLike[] | undefined`
- `name`: `string | Identifier`
- `type-parameters`: `readonly TypeParameterDeclaration[] | undefined`
- `heritage-clauses`: `readonly HeritageClause[] | undefined`
- `members`: `readonly TypeElement[]`

**Returns:** `InterfaceDeclaration`
sourceraw docstring

create-intersection-type-nodecljs

(create-intersection-type-node node-factory types)

Parameters:

  • types: readonly TypeNode[]

Returns: IntersectionTypeNode

**Parameters:**
- `types`: `readonly TypeNode[]`

**Returns:** `IntersectionTypeNode`
sourceraw docstring

create-js-doc-all-typecljs

(create-js-doc-all-type node-factory)

Returns: JSDocAllType

**Returns:** `JSDocAllType`
sourceraw docstring

create-js-doc-augments-tagcljs

(create-js-doc-augments-tag node-factory)
(create-js-doc-augments-tag node-factory tag-name)
(create-js-doc-augments-tag node-factory tag-name class-name)
(create-js-doc-augments-tag node-factory tag-name class-name comment)

Parameters:

  • tag-name: Identifier | undefined
  • class-name: ExpressionWithTypeArguments & { readonly expression: Identifier | PropertyAccessEntityNameExpression; }
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocAugmentsTag

**Parameters:**
- `tag-name`: `Identifier | undefined`
- `class-name`: `ExpressionWithTypeArguments & { readonly expression: Identifier | PropertyAccessEntityNameExpression; }`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocAugmentsTag`
sourceraw docstring

create-js-doc-author-tagcljs

(create-js-doc-author-tag node-factory)
(create-js-doc-author-tag node-factory tag-name)
(create-js-doc-author-tag node-factory tag-name comment)

Parameters:

  • tag-name: Identifier | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocAuthorTag

**Parameters:**
- `tag-name`: `Identifier | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocAuthorTag`
sourceraw docstring

create-js-doc-callback-tagcljs

(create-js-doc-callback-tag node-factory)
(create-js-doc-callback-tag node-factory tag-name)
(create-js-doc-callback-tag node-factory tag-name type-expression)
(create-js-doc-callback-tag node-factory tag-name type-expression full-name)
(create-js-doc-callback-tag node-factory
                            tag-name
                            type-expression
                            full-name
                            comment)

Parameters:

  • tag-name: Identifier | undefined
  • type-expression: JSDocSignature
  • full-name: Identifier | JSDocNamespaceDeclaration | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocCallbackTag

**Parameters:**
- `tag-name`: `Identifier | undefined`
- `type-expression`: `JSDocSignature`
- `full-name`: `Identifier | JSDocNamespaceDeclaration | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocCallbackTag`
sourceraw docstring

create-js-doc-class-tagcljs

(create-js-doc-class-tag node-factory)
(create-js-doc-class-tag node-factory tag-name)
(create-js-doc-class-tag node-factory tag-name comment)

Parameters:

  • tag-name: Identifier | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocClassTag

**Parameters:**
- `tag-name`: `Identifier | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocClassTag`
sourceraw docstring

create-js-doc-commentcljs

(create-js-doc-comment node-factory)
(create-js-doc-comment node-factory comment)
(create-js-doc-comment node-factory comment tags)

Parameters:

  • comment: string | NodeArray<JSDocComment> | undefined
  • tags: readonly JSDocTag[] | undefined

Returns: JSDoc

**Parameters:**
- `comment`: `string | NodeArray<JSDocComment> | undefined`
- `tags`: `readonly JSDocTag[] | undefined`

**Returns:** `JSDoc`
sourceraw docstring

create-js-doc-deprecated-tagcljs

(create-js-doc-deprecated-tag node-factory)
(create-js-doc-deprecated-tag node-factory tag-name)
(create-js-doc-deprecated-tag node-factory tag-name comment)

Parameters:

  • tag-name: Identifier | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocDeprecatedTag

**Parameters:**
- `tag-name`: `Identifier | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocDeprecatedTag`
sourceraw docstring

create-js-doc-enum-tagcljs

(create-js-doc-enum-tag node-factory)
(create-js-doc-enum-tag node-factory tag-name)
(create-js-doc-enum-tag node-factory tag-name type-expression)
(create-js-doc-enum-tag node-factory tag-name type-expression comment)

Parameters:

  • tag-name: Identifier | undefined
  • type-expression: JSDocTypeExpression
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocEnumTag

**Parameters:**
- `tag-name`: `Identifier | undefined`
- `type-expression`: `JSDocTypeExpression`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocEnumTag`
sourceraw docstring

create-js-doc-function-typecljs

(create-js-doc-function-type node-factory parameters)
(create-js-doc-function-type node-factory parameters type)

Parameters:

  • parameters: readonly ParameterDeclaration[]
  • type: TypeNode | undefined

Returns: JSDocFunctionType

**Parameters:**
- `parameters`: `readonly ParameterDeclaration[]`
- `type`: `TypeNode | undefined`

**Returns:** `JSDocFunctionType`
sourceraw docstring

create-js-doc-implements-tagcljs

(create-js-doc-implements-tag node-factory)
(create-js-doc-implements-tag node-factory tag-name)
(create-js-doc-implements-tag node-factory tag-name class-name)
(create-js-doc-implements-tag node-factory tag-name class-name comment)

Parameters:

  • tag-name: Identifier | undefined
  • class-name: ExpressionWithTypeArguments & { readonly expression: Identifier | PropertyAccessEntityNameExpression; }
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocImplementsTag

**Parameters:**
- `tag-name`: `Identifier | undefined`
- `class-name`: `ExpressionWithTypeArguments & { readonly expression: Identifier | PropertyAccessEntityNameExpression; }`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocImplementsTag`
sourceraw docstring

(create-js-doc-link node-factory)
(create-js-doc-link node-factory name)
(create-js-doc-link node-factory name text)

Parameters:

  • name: EntityName | JSDocMemberName | undefined
  • text: string

Returns: JSDocLink

**Parameters:**
- `name`: `EntityName | JSDocMemberName | undefined`
- `text`: `string`

**Returns:** `JSDocLink`
sourceraw docstring

(create-js-doc-link-code node-factory)
(create-js-doc-link-code node-factory name)
(create-js-doc-link-code node-factory name text)

Parameters:

  • name: EntityName | JSDocMemberName | undefined
  • text: string

Returns: JSDocLinkCode

**Parameters:**
- `name`: `EntityName | JSDocMemberName | undefined`
- `text`: `string`

**Returns:** `JSDocLinkCode`
sourceraw docstring

(create-js-doc-link-plain node-factory)
(create-js-doc-link-plain node-factory name)
(create-js-doc-link-plain node-factory name text)

Parameters:

  • name: EntityName | JSDocMemberName | undefined
  • text: string

Returns: JSDocLinkPlain

**Parameters:**
- `name`: `EntityName | JSDocMemberName | undefined`
- `text`: `string`

**Returns:** `JSDocLinkPlain`
sourceraw docstring

create-js-doc-member-namecljs

(create-js-doc-member-name node-factory left right)

Parameters:

  • left: EntityName | JSDocMemberName
  • right: Identifier

Returns: JSDocMemberName

**Parameters:**
- `left`: `EntityName | JSDocMemberName`
- `right`: `Identifier`

**Returns:** `JSDocMemberName`
sourceraw docstring

create-js-doc-name-referencecljs

(create-js-doc-name-reference node-factory name)

Parameters:

  • name: EntityName | JSDocMemberName

Returns: JSDocNameReference

**Parameters:**
- `name`: `EntityName | JSDocMemberName`

**Returns:** `JSDocNameReference`
sourceraw docstring

create-js-doc-namepath-typecljs

(create-js-doc-namepath-type node-factory type)

Parameters:

  • type: TypeNode

Returns: JSDocNamepathType

**Parameters:**
- `type`: `TypeNode`

**Returns:** `JSDocNamepathType`
sourceraw docstring

create-js-doc-non-nullable-typecljs

(create-js-doc-non-nullable-type node-factory type)
(create-js-doc-non-nullable-type node-factory type postfix?)

Parameters:

  • type: TypeNode
  • postfix?: boolean | undefined

Returns: JSDocNonNullableType

**Parameters:**
- `type`: `TypeNode`
- `postfix?`: `boolean | undefined`

**Returns:** `JSDocNonNullableType`
sourceraw docstring

create-js-doc-nullable-typecljs

(create-js-doc-nullable-type node-factory type)
(create-js-doc-nullable-type node-factory type postfix?)

Parameters:

  • type: TypeNode
  • postfix?: boolean | undefined

Returns: JSDocNullableType

**Parameters:**
- `type`: `TypeNode`
- `postfix?`: `boolean | undefined`

**Returns:** `JSDocNullableType`
sourceraw docstring

create-js-doc-optional-typecljs

(create-js-doc-optional-type node-factory type)

Parameters:

  • type: TypeNode

Returns: JSDocOptionalType

**Parameters:**
- `type`: `TypeNode`

**Returns:** `JSDocOptionalType`
sourceraw docstring

create-js-doc-overload-tagcljs

(create-js-doc-overload-tag node-factory)
(create-js-doc-overload-tag node-factory tag-name)
(create-js-doc-overload-tag node-factory tag-name type-expression)
(create-js-doc-overload-tag node-factory tag-name type-expression comment)

Parameters:

  • tag-name: Identifier | undefined
  • type-expression: JSDocSignature
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocOverloadTag

**Parameters:**
- `tag-name`: `Identifier | undefined`
- `type-expression`: `JSDocSignature`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocOverloadTag`
sourceraw docstring

create-js-doc-override-tagcljs

(create-js-doc-override-tag node-factory)
(create-js-doc-override-tag node-factory tag-name)
(create-js-doc-override-tag node-factory tag-name comment)

Parameters:

  • tag-name: Identifier | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocOverrideTag

**Parameters:**
- `tag-name`: `Identifier | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocOverrideTag`
sourceraw docstring

create-js-doc-parameter-tagcljs

(create-js-doc-parameter-tag node-factory)
(create-js-doc-parameter-tag node-factory tag-name)
(create-js-doc-parameter-tag node-factory tag-name name)
(create-js-doc-parameter-tag node-factory tag-name name bracketed?)
(create-js-doc-parameter-tag node-factory
                             tag-name
                             name
                             bracketed?
                             type-expression)
(create-js-doc-parameter-tag node-factory
                             tag-name
                             name
                             bracketed?
                             type-expression
                             name-first?)
(create-js-doc-parameter-tag node-factory
                             tag-name
                             name
                             bracketed?
                             type-expression
                             name-first?
                             comment)

Parameters:

  • tag-name: Identifier | undefined
  • name: EntityName
  • bracketed?: boolean
  • type-expression: JSDocTypeExpression | undefined
  • name-first?: boolean | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocParameterTag

**Parameters:**
- `tag-name`: `Identifier | undefined`
- `name`: `EntityName`
- `bracketed?`: `boolean`
- `type-expression`: `JSDocTypeExpression | undefined`
- `name-first?`: `boolean | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocParameterTag`
sourceraw docstring

create-js-doc-private-tagcljs

(create-js-doc-private-tag node-factory)
(create-js-doc-private-tag node-factory tag-name)
(create-js-doc-private-tag node-factory tag-name comment)

Parameters:

  • tag-name: Identifier | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocPrivateTag

**Parameters:**
- `tag-name`: `Identifier | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocPrivateTag`
sourceraw docstring

create-js-doc-property-tagcljs

(create-js-doc-property-tag node-factory)
(create-js-doc-property-tag node-factory tag-name)
(create-js-doc-property-tag node-factory tag-name name)
(create-js-doc-property-tag node-factory tag-name name bracketed?)
(create-js-doc-property-tag node-factory
                            tag-name
                            name
                            bracketed?
                            type-expression)
(create-js-doc-property-tag node-factory
                            tag-name
                            name
                            bracketed?
                            type-expression
                            name-first?)
(create-js-doc-property-tag node-factory
                            tag-name
                            name
                            bracketed?
                            type-expression
                            name-first?
                            comment)

Parameters:

  • tag-name: Identifier | undefined
  • name: EntityName
  • bracketed?: boolean
  • type-expression: JSDocTypeExpression | undefined
  • name-first?: boolean | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocPropertyTag

**Parameters:**
- `tag-name`: `Identifier | undefined`
- `name`: `EntityName`
- `bracketed?`: `boolean`
- `type-expression`: `JSDocTypeExpression | undefined`
- `name-first?`: `boolean | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocPropertyTag`
sourceraw docstring

create-js-doc-protected-tagcljs

(create-js-doc-protected-tag node-factory)
(create-js-doc-protected-tag node-factory tag-name)
(create-js-doc-protected-tag node-factory tag-name comment)

Parameters:

  • tag-name: Identifier | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocProtectedTag

**Parameters:**
- `tag-name`: `Identifier | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocProtectedTag`
sourceraw docstring

create-js-doc-public-tagcljs

(create-js-doc-public-tag node-factory)
(create-js-doc-public-tag node-factory tag-name)
(create-js-doc-public-tag node-factory tag-name comment)

Parameters:

  • tag-name: Identifier | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocPublicTag

**Parameters:**
- `tag-name`: `Identifier | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocPublicTag`
sourceraw docstring

create-js-doc-readonly-tagcljs

(create-js-doc-readonly-tag node-factory)
(create-js-doc-readonly-tag node-factory tag-name)
(create-js-doc-readonly-tag node-factory tag-name comment)

Parameters:

  • tag-name: Identifier | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocReadonlyTag

**Parameters:**
- `tag-name`: `Identifier | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocReadonlyTag`
sourceraw docstring

create-js-doc-return-tagcljs

(create-js-doc-return-tag node-factory)
(create-js-doc-return-tag node-factory tag-name)
(create-js-doc-return-tag node-factory tag-name type-expression)
(create-js-doc-return-tag node-factory tag-name type-expression comment)

Parameters:

  • tag-name: Identifier | undefined
  • type-expression: JSDocTypeExpression | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocReturnTag

**Parameters:**
- `tag-name`: `Identifier | undefined`
- `type-expression`: `JSDocTypeExpression | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocReturnTag`
sourceraw docstring

create-js-doc-satisfies-tagcljs

(create-js-doc-satisfies-tag node-factory)
(create-js-doc-satisfies-tag node-factory tag-name)
(create-js-doc-satisfies-tag node-factory tag-name type-expression)
(create-js-doc-satisfies-tag node-factory tag-name type-expression comment)

Parameters:

  • tag-name: Identifier | undefined
  • type-expression: JSDocTypeExpression
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocSatisfiesTag

**Parameters:**
- `tag-name`: `Identifier | undefined`
- `type-expression`: `JSDocTypeExpression`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocSatisfiesTag`
sourceraw docstring

create-js-doc-see-tagcljs

(create-js-doc-see-tag node-factory)
(create-js-doc-see-tag node-factory tag-name)
(create-js-doc-see-tag node-factory tag-name name-expression)
(create-js-doc-see-tag node-factory tag-name name-expression comment)

Parameters:

  • tag-name: Identifier | undefined
  • name-expression: JSDocNameReference | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocSeeTag

**Parameters:**
- `tag-name`: `Identifier | undefined`
- `name-expression`: `JSDocNameReference | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocSeeTag`
sourceraw docstring

create-js-doc-signaturecljs

(create-js-doc-signature node-factory)
(create-js-doc-signature node-factory type-parameters)
(create-js-doc-signature node-factory type-parameters parameters)
(create-js-doc-signature node-factory type-parameters parameters type)

Parameters:

  • type-parameters: readonly JSDocTemplateTag[] | undefined
  • parameters: readonly JSDocParameterTag[]
  • type: JSDocReturnTag | undefined

Returns: JSDocSignature

**Parameters:**
- `type-parameters`: `readonly JSDocTemplateTag[] | undefined`
- `parameters`: `readonly JSDocParameterTag[]`
- `type`: `JSDocReturnTag | undefined`

**Returns:** `JSDocSignature`
sourceraw docstring

create-js-doc-template-tagcljs

(create-js-doc-template-tag node-factory)
(create-js-doc-template-tag node-factory tag-name)
(create-js-doc-template-tag node-factory tag-name constraint)
(create-js-doc-template-tag node-factory tag-name constraint type-parameters)
(create-js-doc-template-tag node-factory
                            tag-name
                            constraint
                            type-parameters
                            comment)

Parameters:

  • tag-name: Identifier | undefined
  • constraint: JSDocTypeExpression | undefined
  • type-parameters: readonly TypeParameterDeclaration[]
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocTemplateTag

**Parameters:**
- `tag-name`: `Identifier | undefined`
- `constraint`: `JSDocTypeExpression | undefined`
- `type-parameters`: `readonly TypeParameterDeclaration[]`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocTemplateTag`
sourceraw docstring

create-js-doc-textcljs

(create-js-doc-text node-factory text)

Parameters:

  • text: string

Returns: JSDocText

**Parameters:**
- `text`: `string`

**Returns:** `JSDocText`
sourceraw docstring

create-js-doc-this-tagcljs

(create-js-doc-this-tag node-factory)
(create-js-doc-this-tag node-factory tag-name)
(create-js-doc-this-tag node-factory tag-name type-expression)
(create-js-doc-this-tag node-factory tag-name type-expression comment)

Parameters:

  • tag-name: Identifier | undefined
  • type-expression: JSDocTypeExpression
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocThisTag

**Parameters:**
- `tag-name`: `Identifier | undefined`
- `type-expression`: `JSDocTypeExpression`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocThisTag`
sourceraw docstring

create-js-doc-throws-tagcljs

(create-js-doc-throws-tag node-factory tag-name)
(create-js-doc-throws-tag node-factory tag-name type-expression)
(create-js-doc-throws-tag node-factory tag-name type-expression comment)

Parameters:

  • tag-name: Identifier
  • type-expression: JSDocTypeExpression | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocThrowsTag

**Parameters:**
- `tag-name`: `Identifier`
- `type-expression`: `JSDocTypeExpression | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocThrowsTag`
sourceraw docstring

create-js-doc-type-expressioncljs

(create-js-doc-type-expression node-factory type)

Parameters:

  • type: TypeNode

Returns: JSDocTypeExpression

**Parameters:**
- `type`: `TypeNode`

**Returns:** `JSDocTypeExpression`
sourceraw docstring

create-js-doc-type-literalcljs

(create-js-doc-type-literal node-factory)
(create-js-doc-type-literal node-factory js-doc-property-tags)
(create-js-doc-type-literal node-factory js-doc-property-tags array-type?)

Parameters:

  • js-doc-property-tags: readonly JSDocPropertyLikeTag[] | undefined
  • array-type?: boolean | undefined

Returns: JSDocTypeLiteral

**Parameters:**
- `js-doc-property-tags`: `readonly JSDocPropertyLikeTag[] | undefined`
- `array-type?`: `boolean | undefined`

**Returns:** `JSDocTypeLiteral`
sourceraw docstring

create-js-doc-type-tagcljs

(create-js-doc-type-tag node-factory)
(create-js-doc-type-tag node-factory tag-name)
(create-js-doc-type-tag node-factory tag-name type-expression)
(create-js-doc-type-tag node-factory tag-name type-expression comment)

Parameters:

  • tag-name: Identifier | undefined
  • type-expression: JSDocTypeExpression
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocTypeTag

**Parameters:**
- `tag-name`: `Identifier | undefined`
- `type-expression`: `JSDocTypeExpression`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocTypeTag`
sourceraw docstring

create-js-doc-typedef-tagcljs

(create-js-doc-typedef-tag node-factory)
(create-js-doc-typedef-tag node-factory tag-name)
(create-js-doc-typedef-tag node-factory tag-name type-expression)
(create-js-doc-typedef-tag node-factory tag-name type-expression full-name)
(create-js-doc-typedef-tag node-factory
                           tag-name
                           type-expression
                           full-name
                           comment)

Parameters:

  • tag-name: Identifier | undefined
  • type-expression: JSDocTypeExpression | JSDocTypeLiteral | undefined
  • full-name: Identifier | JSDocNamespaceDeclaration | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocTypedefTag

**Parameters:**
- `tag-name`: `Identifier | undefined`
- `type-expression`: `JSDocTypeExpression | JSDocTypeLiteral | undefined`
- `full-name`: `Identifier | JSDocNamespaceDeclaration | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocTypedefTag`
sourceraw docstring

create-js-doc-unknown-tagcljs

(create-js-doc-unknown-tag node-factory tag-name)
(create-js-doc-unknown-tag node-factory tag-name comment)

Parameters:

  • tag-name: Identifier
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocUnknownTag

**Parameters:**
- `tag-name`: `Identifier`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocUnknownTag`
sourceraw docstring

create-js-doc-unknown-typecljs

(create-js-doc-unknown-type node-factory)

Returns: JSDocUnknownType

**Returns:** `JSDocUnknownType`
sourceraw docstring

create-js-doc-variadic-typecljs

(create-js-doc-variadic-type node-factory type)

Parameters:

  • type: TypeNode

Returns: JSDocVariadicType

**Parameters:**
- `type`: `TypeNode`

**Returns:** `JSDocVariadicType`
sourceraw docstring

create-jsx-attributecljs

(create-jsx-attribute node-factory name)
(create-jsx-attribute node-factory name initializer)

Parameters:

  • name: JsxAttributeName
  • initializer: JsxAttributeValue | undefined

Returns: JsxAttribute

**Parameters:**
- `name`: `JsxAttributeName`
- `initializer`: `JsxAttributeValue | undefined`

**Returns:** `JsxAttribute`
sourceraw docstring

create-jsx-attributescljs

(create-jsx-attributes node-factory properties)

Parameters:

  • properties: readonly JsxAttributeLike[]

Returns: JsxAttributes

**Parameters:**
- `properties`: `readonly JsxAttributeLike[]`

**Returns:** `JsxAttributes`
sourceraw docstring

create-jsx-closing-elementcljs

(create-jsx-closing-element node-factory tag-name)

Parameters:

  • tag-name: JsxTagNameExpression

Returns: JsxClosingElement

**Parameters:**
- `tag-name`: `JsxTagNameExpression`

**Returns:** `JsxClosingElement`
sourceraw docstring

create-jsx-elementcljs

(create-jsx-element node-factory opening-element children closing-element)

Parameters:

  • opening-element: JsxOpeningElement
  • children: readonly JsxChild[]
  • closing-element: JsxClosingElement

Returns: JsxElement

**Parameters:**
- `opening-element`: `JsxOpeningElement`
- `children`: `readonly JsxChild[]`
- `closing-element`: `JsxClosingElement`

**Returns:** `JsxElement`
sourceraw docstring

create-jsx-expressioncljs

(create-jsx-expression node-factory)
(create-jsx-expression node-factory dot-dot-dot-token)
(create-jsx-expression node-factory dot-dot-dot-token expression)

Parameters:

  • dot-dot-dot-token: DotDotDotToken | undefined
  • expression: Expression | undefined

Returns: JsxExpression

**Parameters:**
- `dot-dot-dot-token`: `DotDotDotToken | undefined`
- `expression`: `Expression | undefined`

**Returns:** `JsxExpression`
sourceraw docstring

create-jsx-fragmentcljs

(create-jsx-fragment node-factory opening-fragment children closing-fragment)

Parameters:

  • opening-fragment: JsxOpeningFragment
  • children: readonly JsxChild[]
  • closing-fragment: JsxClosingFragment

Returns: JsxFragment

**Parameters:**
- `opening-fragment`: `JsxOpeningFragment`
- `children`: `readonly JsxChild[]`
- `closing-fragment`: `JsxClosingFragment`

**Returns:** `JsxFragment`
sourceraw docstring

create-jsx-jsx-closing-fragmentcljs

(create-jsx-jsx-closing-fragment node-factory)

Returns: JsxClosingFragment

**Returns:** `JsxClosingFragment`
sourceraw docstring

create-jsx-namespaced-namecljs

(create-jsx-namespaced-name node-factory namespace name)

Parameters:

  • namespace: Identifier
  • name: Identifier

Returns: JsxNamespacedName

**Parameters:**
- `namespace`: `Identifier`
- `name`: `Identifier`

**Returns:** `JsxNamespacedName`
sourceraw docstring

create-jsx-opening-elementcljs

(create-jsx-opening-element node-factory tag-name)
(create-jsx-opening-element node-factory tag-name type-arguments)
(create-jsx-opening-element node-factory tag-name type-arguments attributes)

Parameters:

  • tag-name: JsxTagNameExpression
  • type-arguments: readonly TypeNode[] | undefined
  • attributes: JsxAttributes

Returns: JsxOpeningElement

**Parameters:**
- `tag-name`: `JsxTagNameExpression`
- `type-arguments`: `readonly TypeNode[] | undefined`
- `attributes`: `JsxAttributes`

**Returns:** `JsxOpeningElement`
sourceraw docstring

create-jsx-opening-fragmentcljs

(create-jsx-opening-fragment node-factory)

Returns: JsxOpeningFragment

**Returns:** `JsxOpeningFragment`
sourceraw docstring

create-jsx-self-closing-elementcljs

(create-jsx-self-closing-element node-factory tag-name)
(create-jsx-self-closing-element node-factory tag-name type-arguments)
(create-jsx-self-closing-element node-factory
                                 tag-name
                                 type-arguments
                                 attributes)

Parameters:

  • tag-name: JsxTagNameExpression
  • type-arguments: readonly TypeNode[] | undefined
  • attributes: JsxAttributes

Returns: JsxSelfClosingElement

**Parameters:**
- `tag-name`: `JsxTagNameExpression`
- `type-arguments`: `readonly TypeNode[] | undefined`
- `attributes`: `JsxAttributes`

**Returns:** `JsxSelfClosingElement`
sourceraw docstring

create-jsx-spread-attributecljs

(create-jsx-spread-attribute node-factory expression)

Parameters:

  • expression: Expression

Returns: JsxSpreadAttribute

**Parameters:**
- `expression`: `Expression`

**Returns:** `JsxSpreadAttribute`
sourceraw docstring

create-jsx-textcljs

(create-jsx-text node-factory text)
(create-jsx-text node-factory text contains-only-trivia-white-spaces?)

Parameters:

  • text: string
  • contains-only-trivia-white-spaces?: boolean | undefined

Returns: JsxText

**Parameters:**
- `text`: `string`
- `contains-only-trivia-white-spaces?`: `boolean | undefined`

**Returns:** `JsxText`
sourceraw docstring

create-keyword-type-nodecljs

(create-keyword-type-node node-factory kind)

Parameters:

  • kind: TKind

Returns: KeywordTypeNode<TKind>

**Parameters:**
- `kind`: `TKind`

**Returns:** `KeywordTypeNode<TKind>`
sourceraw docstring

create-labeled-statementcljs

(create-labeled-statement node-factory label statement)

Parameters:

  • label: string | Identifier
  • statement: Statement

Returns: LabeledStatement

**Parameters:**
- `label`: `string | Identifier`
- `statement`: `Statement`

**Returns:** `LabeledStatement`
sourceraw docstring

create-left-shiftcljs

(create-left-shift node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-less-thancljs

(create-less-than node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-less-than-equalscljs

(create-less-than-equals node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-literal-type-nodecljs

(create-literal-type-node node-factory literal)

Parameters:

  • literal: LiteralExpression | NullLiteral | BooleanLiteral | PrefixUnaryExpression

Returns: LiteralTypeNode

**Parameters:**
- `literal`: `LiteralExpression | NullLiteral | BooleanLiteral | PrefixUnaryExpression`

**Returns:** `LiteralTypeNode`
sourceraw docstring

create-logical-andcljs

(create-logical-and node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-logical-notcljs

(create-logical-not node-factory operand)

Parameters:

  • operand: Expression

Returns: PrefixUnaryExpression

**Parameters:**
- `operand`: `Expression`

**Returns:** `PrefixUnaryExpression`
sourceraw docstring

create-logical-orcljs

(create-logical-or node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-loop-variablecljs

(create-loop-variable node-factory)
(create-loop-variable node-factory reserved-in-nested-scopes?)

Create a unique temporary variable for use in a loop.

Parameters:

  • reserved-in-nested-scopes?: boolean | undefined - When true, reserves the temporary variable name in all nested scopes during emit so that the variable can be referenced in a nested function body. This is an alternative to setting EmitFlags.ReuseTempVariableScope on the nested function itself.

Returns: Identifier

Create a unique temporary variable for use in a loop.

**Parameters:**
- `reserved-in-nested-scopes?`: `boolean | undefined` - When `true`, reserves the temporary variable name in all nested scopes
during emit so that the variable can be referenced in a nested function body. This is an alternative to
setting `EmitFlags.ReuseTempVariableScope` on the nested function itself.

**Returns:** `Identifier`
sourceraw docstring

create-mapped-type-nodecljs

(create-mapped-type-node node-factory)
(create-mapped-type-node node-factory readonly-token)
(create-mapped-type-node node-factory readonly-token type-parameter)
(create-mapped-type-node node-factory readonly-token type-parameter name-type)
(create-mapped-type-node node-factory
                         readonly-token
                         type-parameter
                         name-type
                         question-token)
(create-mapped-type-node node-factory
                         readonly-token
                         type-parameter
                         name-type
                         question-token
                         type)
(create-mapped-type-node node-factory
                         readonly-token
                         type-parameter
                         name-type
                         question-token
                         type
                         members)

Parameters:

  • readonly-token: ReadonlyKeyword | PlusToken | MinusToken | undefined
  • type-parameter: TypeParameterDeclaration
  • name-type: TypeNode | undefined
  • question-token: QuestionToken | PlusToken | MinusToken | undefined
  • type: TypeNode | undefined
  • members: NodeArray<TypeElement> | undefined

Returns: MappedTypeNode

**Parameters:**
- `readonly-token`: `ReadonlyKeyword | PlusToken | MinusToken | undefined`
- `type-parameter`: `TypeParameterDeclaration`
- `name-type`: `TypeNode | undefined`
- `question-token`: `QuestionToken | PlusToken | MinusToken | undefined`
- `type`: `TypeNode | undefined`
- `members`: `NodeArray<TypeElement> | undefined`

**Returns:** `MappedTypeNode`
sourceraw docstring

create-meta-propertycljs

(create-meta-property node-factory keyword-token name)

Parameters:

  • keyword-token: SyntaxKind.ImportKeyword | SyntaxKind.NewKeyword
  • name: Identifier

Returns: MetaProperty

**Parameters:**
- `keyword-token`: `SyntaxKind.ImportKeyword | SyntaxKind.NewKeyword`
- `name`: `Identifier`

**Returns:** `MetaProperty`
sourceraw docstring

create-method-declarationcljs

(create-method-declaration node-factory)
(create-method-declaration node-factory modifiers)
(create-method-declaration node-factory modifiers asterisk-token)
(create-method-declaration node-factory modifiers asterisk-token name)
(create-method-declaration node-factory
                           modifiers
                           asterisk-token
                           name
                           question-token)
(create-method-declaration node-factory
                           modifiers
                           asterisk-token
                           name
                           question-token
                           type-parameters)
(create-method-declaration node-factory
                           modifiers
                           asterisk-token
                           name
                           question-token
                           type-parameters
                           parameters)
(create-method-declaration node-factory
                           modifiers
                           asterisk-token
                           name
                           question-token
                           type-parameters
                           parameters
                           type)
(create-method-declaration node-factory
                           modifiers
                           asterisk-token
                           name
                           question-token
                           type-parameters
                           parameters
                           type
                           body)

Parameters:

  • modifiers: readonly ModifierLike[] | undefined
  • asterisk-token: AsteriskToken | undefined
  • name: string | PropertyName
  • question-token: QuestionToken | undefined
  • type-parameters: readonly TypeParameterDeclaration[] | undefined
  • parameters: readonly ParameterDeclaration[]
  • type: TypeNode | undefined
  • body: Block | undefined

Returns: MethodDeclaration

**Parameters:**
- `modifiers`: `readonly ModifierLike[] | undefined`
- `asterisk-token`: `AsteriskToken | undefined`
- `name`: `string | PropertyName`
- `question-token`: `QuestionToken | undefined`
- `type-parameters`: `readonly TypeParameterDeclaration[] | undefined`
- `parameters`: `readonly ParameterDeclaration[]`
- `type`: `TypeNode | undefined`
- `body`: `Block | undefined`

**Returns:** `MethodDeclaration`
sourceraw docstring

create-method-signaturecljs

(create-method-signature node-factory)
(create-method-signature node-factory modifiers)
(create-method-signature node-factory modifiers name)
(create-method-signature node-factory modifiers name question-token)
(create-method-signature node-factory
                         modifiers
                         name
                         question-token
                         type-parameters)
(create-method-signature node-factory
                         modifiers
                         name
                         question-token
                         type-parameters
                         parameters)
(create-method-signature node-factory
                         modifiers
                         name
                         question-token
                         type-parameters
                         parameters
                         type)

Parameters:

  • modifiers: readonly Modifier[] | undefined
  • name: string | PropertyName
  • question-token: QuestionToken | undefined
  • type-parameters: readonly TypeParameterDeclaration[] | undefined
  • parameters: readonly ParameterDeclaration[]
  • type: TypeNode | undefined

Returns: MethodSignature

**Parameters:**
- `modifiers`: `readonly Modifier[] | undefined`
- `name`: `string | PropertyName`
- `question-token`: `QuestionToken | undefined`
- `type-parameters`: `readonly TypeParameterDeclaration[] | undefined`
- `parameters`: `readonly ParameterDeclaration[]`
- `type`: `TypeNode | undefined`

**Returns:** `MethodSignature`
sourceraw docstring

create-modifiercljs

(create-modifier node-factory kind)

Parameters:

  • kind: T

Returns: ModifierToken<T>

**Parameters:**
- `kind`: `T`

**Returns:** `ModifierToken<T>`
sourceraw docstring

create-modifiers-from-modifier-flagscljs

(create-modifiers-from-modifier-flags node-factory flags)

Parameters:

  • flags: ModifierFlags

Returns: Modifier[] | undefined

**Parameters:**
- `flags`: `ModifierFlags`

**Returns:** `Modifier[] | undefined`
sourceraw docstring

create-module-blockcljs

(create-module-block node-factory statements)

Parameters:

  • statements: readonly Statement[]

Returns: ModuleBlock

**Parameters:**
- `statements`: `readonly Statement[]`

**Returns:** `ModuleBlock`
sourceraw docstring

create-module-declarationcljs

(create-module-declaration node-factory)
(create-module-declaration node-factory modifiers)
(create-module-declaration node-factory modifiers name)
(create-module-declaration node-factory modifiers name body)
(create-module-declaration node-factory modifiers name body flags)

Parameters:

  • modifiers: readonly ModifierLike[] | undefined
  • name: ModuleName
  • body: ModuleBody | undefined
  • flags: NodeFlags | undefined

Returns: ModuleDeclaration

**Parameters:**
- `modifiers`: `readonly ModifierLike[] | undefined`
- `name`: `ModuleName`
- `body`: `ModuleBody | undefined`
- `flags`: `NodeFlags | undefined`

**Returns:** `ModuleDeclaration`
sourceraw docstring

create-modulocljs

(create-modulo node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-multiplycljs

(create-multiply node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-named-exportscljs

(create-named-exports node-factory elements)

Parameters:

  • elements: readonly ExportSpecifier[]

Returns: NamedExports

**Parameters:**
- `elements`: `readonly ExportSpecifier[]`

**Returns:** `NamedExports`
sourceraw docstring

create-named-importscljs

(create-named-imports node-factory elements)

Parameters:

  • elements: readonly ImportSpecifier[]

Returns: NamedImports

**Parameters:**
- `elements`: `readonly ImportSpecifier[]`

**Returns:** `NamedImports`
sourceraw docstring

create-named-tuple-membercljs

(create-named-tuple-member node-factory)
(create-named-tuple-member node-factory dot-dot-dot-token)
(create-named-tuple-member node-factory dot-dot-dot-token name)
(create-named-tuple-member node-factory dot-dot-dot-token name question-token)
(create-named-tuple-member node-factory
                           dot-dot-dot-token
                           name
                           question-token
                           type)

Parameters:

  • dot-dot-dot-token: DotDotDotToken | undefined
  • name: Identifier
  • question-token: QuestionToken | undefined
  • type: TypeNode

Returns: NamedTupleMember

**Parameters:**
- `dot-dot-dot-token`: `DotDotDotToken | undefined`
- `name`: `Identifier`
- `question-token`: `QuestionToken | undefined`
- `type`: `TypeNode`

**Returns:** `NamedTupleMember`
sourceraw docstring

create-namespace-exportcljs

(create-namespace-export node-factory name)

Parameters:

  • name: Identifier

Returns: NamespaceExport

**Parameters:**
- `name`: `Identifier`

**Returns:** `NamespaceExport`
sourceraw docstring

create-namespace-export-declarationcljs

(create-namespace-export-declaration node-factory name)

Parameters:

  • name: string | Identifier

Returns: NamespaceExportDeclaration

**Parameters:**
- `name`: `string | Identifier`

**Returns:** `NamespaceExportDeclaration`
sourceraw docstring

create-namespace-importcljs

(create-namespace-import node-factory name)

Parameters:

  • name: Identifier

Returns: NamespaceImport

**Parameters:**
- `name`: `Identifier`

**Returns:** `NamespaceImport`
sourceraw docstring

create-new-expressioncljs

(create-new-expression node-factory expression)
(create-new-expression node-factory expression type-arguments)
(create-new-expression node-factory expression type-arguments arguments-array)

Parameters:

  • expression: Expression
  • type-arguments: readonly TypeNode[] | undefined
  • arguments-array: readonly Expression[] | undefined

Returns: NewExpression

**Parameters:**
- `expression`: `Expression`
- `type-arguments`: `readonly TypeNode[] | undefined`
- `arguments-array`: `readonly Expression[] | undefined`

**Returns:** `NewExpression`
sourceraw docstring

create-no-substitution-template-literalcljs

(create-no-substitution-template-literal node-factory)
(create-no-substitution-template-literal node-factory text)
(create-no-substitution-template-literal node-factory text raw-text)

Parameters:

  • text: string | undefined
  • raw-text: string

Returns: NoSubstitutionTemplateLiteral

**Parameters:**
- `text`: `string | undefined`
- `raw-text`: `string`

**Returns:** `NoSubstitutionTemplateLiteral`
sourceraw docstring

create-node-arraycljs

(create-node-array node-factory)
(create-node-array node-factory elements)
(create-node-array node-factory elements has-trailing-comma?)

Parameters:

  • elements: readonly T[] | undefined
  • has-trailing-comma?: boolean | undefined

Returns: NodeArray<T>

**Parameters:**
- `elements`: `readonly T[] | undefined`
- `has-trailing-comma?`: `boolean | undefined`

**Returns:** `NodeArray<T>`
sourceraw docstring

create-non-null-chaincljs

(create-non-null-chain node-factory expression)

Parameters:

  • expression: Expression

Returns: NonNullChain

**Parameters:**
- `expression`: `Expression`

**Returns:** `NonNullChain`
sourceraw docstring

create-non-null-expressioncljs

(create-non-null-expression node-factory expression)

Parameters:

  • expression: Expression

Returns: NonNullExpression

**Parameters:**
- `expression`: `Expression`

**Returns:** `NonNullExpression`
sourceraw docstring

create-not-emitted-statementcljs

(create-not-emitted-statement node-factory original)

Parameters:

  • original: Node

Returns: NotEmittedStatement

**Parameters:**
- `original`: `Node`

**Returns:** `NotEmittedStatement`
sourceraw docstring

create-nullcljs

(create-null node-factory)

Returns: NullLiteral

**Returns:** `NullLiteral`
sourceraw docstring

create-numeric-literalcljs

(create-numeric-literal node-factory value)
(create-numeric-literal node-factory value numeric-literal-flags)

Parameters:

  • value: string | number
  • numeric-literal-flags: TokenFlags | undefined

Returns: NumericLiteral

**Parameters:**
- `value`: `string | number`
- `numeric-literal-flags`: `TokenFlags | undefined`

**Returns:** `NumericLiteral`
sourceraw docstring

create-object-binding-patterncljs

(create-object-binding-pattern node-factory elements)

Parameters:

  • elements: readonly BindingElement[]

Returns: ObjectBindingPattern

**Parameters:**
- `elements`: `readonly BindingElement[]`

**Returns:** `ObjectBindingPattern`
sourceraw docstring

create-object-literal-expressioncljs

(create-object-literal-expression node-factory)
(create-object-literal-expression node-factory properties)
(create-object-literal-expression node-factory properties multi-line?)

Parameters:

  • properties: readonly ObjectLiteralElementLike[] | undefined
  • multi-line?: boolean | undefined

Returns: ObjectLiteralExpression

**Parameters:**
- `properties`: `readonly ObjectLiteralElementLike[] | undefined`
- `multi-line?`: `boolean | undefined`

**Returns:** `ObjectLiteralExpression`
sourceraw docstring

create-omitted-expressioncljs

(create-omitted-expression node-factory)

Returns: OmittedExpression

**Returns:** `OmittedExpression`
sourceraw docstring

create-optional-type-nodecljs

(create-optional-type-node node-factory type)

Parameters:

  • type: TypeNode

Returns: OptionalTypeNode

**Parameters:**
- `type`: `TypeNode`

**Returns:** `OptionalTypeNode`
sourceraw docstring

create-parameter-declarationcljs

(create-parameter-declaration node-factory)
(create-parameter-declaration node-factory modifiers)
(create-parameter-declaration node-factory modifiers dot-dot-dot-token)
(create-parameter-declaration node-factory modifiers dot-dot-dot-token name)
(create-parameter-declaration node-factory
                              modifiers
                              dot-dot-dot-token
                              name
                              question-token)
(create-parameter-declaration node-factory
                              modifiers
                              dot-dot-dot-token
                              name
                              question-token
                              type)
(create-parameter-declaration node-factory
                              modifiers
                              dot-dot-dot-token
                              name
                              question-token
                              type
                              initializer)

Parameters:

  • modifiers: readonly ModifierLike[] | undefined
  • dot-dot-dot-token: DotDotDotToken | undefined
  • name: string | BindingName
  • question-token: QuestionToken | undefined
  • type: TypeNode | undefined
  • initializer: Expression | undefined

Returns: ParameterDeclaration

**Parameters:**
- `modifiers`: `readonly ModifierLike[] | undefined`
- `dot-dot-dot-token`: `DotDotDotToken | undefined`
- `name`: `string | BindingName`
- `question-token`: `QuestionToken | undefined`
- `type`: `TypeNode | undefined`
- `initializer`: `Expression | undefined`

**Returns:** `ParameterDeclaration`
sourceraw docstring

create-parenthesized-expressioncljs

(create-parenthesized-expression node-factory expression)

Parameters:

  • expression: Expression

Returns: ParenthesizedExpression

**Parameters:**
- `expression`: `Expression`

**Returns:** `ParenthesizedExpression`
sourceraw docstring

create-parenthesized-typecljs

(create-parenthesized-type node-factory type)

Parameters:

  • type: TypeNode

Returns: ParenthesizedTypeNode

**Parameters:**
- `type`: `TypeNode`

**Returns:** `ParenthesizedTypeNode`
sourceraw docstring

create-partially-emitted-expressioncljs

(create-partially-emitted-expression node-factory expression)
(create-partially-emitted-expression node-factory expression original)

Parameters:

  • expression: Expression
  • original: Node | undefined

Returns: PartiallyEmittedExpression

**Parameters:**
- `expression`: `Expression`
- `original`: `Node | undefined`

**Returns:** `PartiallyEmittedExpression`
sourceraw docstring

create-postfix-decrementcljs

(create-postfix-decrement node-factory operand)

Parameters:

  • operand: Expression

Returns: PostfixUnaryExpression

**Parameters:**
- `operand`: `Expression`

**Returns:** `PostfixUnaryExpression`
sourceraw docstring

create-postfix-incrementcljs

(create-postfix-increment node-factory operand)

Parameters:

  • operand: Expression

Returns: PostfixUnaryExpression

**Parameters:**
- `operand`: `Expression`

**Returns:** `PostfixUnaryExpression`
sourceraw docstring

create-postfix-unary-expressioncljs

(create-postfix-unary-expression node-factory operand operator)

Parameters:

  • operand: Expression
  • operator: PostfixUnaryOperator

Returns: PostfixUnaryExpression

**Parameters:**
- `operand`: `Expression`
- `operator`: `PostfixUnaryOperator`

**Returns:** `PostfixUnaryExpression`
sourceraw docstring

create-prefix-decrementcljs

(create-prefix-decrement node-factory operand)

Parameters:

  • operand: Expression

Returns: PrefixUnaryExpression

**Parameters:**
- `operand`: `Expression`

**Returns:** `PrefixUnaryExpression`
sourceraw docstring

create-prefix-incrementcljs

(create-prefix-increment node-factory operand)

Parameters:

  • operand: Expression

Returns: PrefixUnaryExpression

**Parameters:**
- `operand`: `Expression`

**Returns:** `PrefixUnaryExpression`
sourceraw docstring

create-prefix-minuscljs

(create-prefix-minus node-factory operand)

Parameters:

  • operand: Expression

Returns: PrefixUnaryExpression

**Parameters:**
- `operand`: `Expression`

**Returns:** `PrefixUnaryExpression`
sourceraw docstring

create-prefix-pluscljs

(create-prefix-plus node-factory operand)

Parameters:

  • operand: Expression

Returns: PrefixUnaryExpression

**Parameters:**
- `operand`: `Expression`

**Returns:** `PrefixUnaryExpression`
sourceraw docstring

create-prefix-unary-expressioncljs

(create-prefix-unary-expression node-factory operator operand)

Parameters:

  • operator: PrefixUnaryOperator
  • operand: Expression

Returns: PrefixUnaryExpression

**Parameters:**
- `operator`: `PrefixUnaryOperator`
- `operand`: `Expression`

**Returns:** `PrefixUnaryExpression`
sourceraw docstring

create-private-identifiercljs

(create-private-identifier node-factory text)

Parameters:

  • text: string

Returns: PrivateIdentifier

**Parameters:**
- `text`: `string`

**Returns:** `PrivateIdentifier`
sourceraw docstring

create-property-access-chaincljs

(create-property-access-chain node-factory expression)
(create-property-access-chain node-factory expression question-dot-token)
(create-property-access-chain node-factory expression question-dot-token name)

Parameters:

  • expression: Expression
  • question-dot-token: QuestionDotToken | undefined
  • name: string | MemberName

Returns: PropertyAccessChain

**Parameters:**
- `expression`: `Expression`
- `question-dot-token`: `QuestionDotToken | undefined`
- `name`: `string | MemberName`

**Returns:** `PropertyAccessChain`
sourceraw docstring

create-property-access-expressioncljs

(create-property-access-expression node-factory expression name)

Parameters:

  • expression: Expression
  • name: string | MemberName

Returns: PropertyAccessExpression

**Parameters:**
- `expression`: `Expression`
- `name`: `string | MemberName`

**Returns:** `PropertyAccessExpression`
sourceraw docstring

create-property-assignmentcljs

(create-property-assignment node-factory name initializer)

Parameters:

  • name: string | PropertyName
  • initializer: Expression

Returns: PropertyAssignment

**Parameters:**
- `name`: `string | PropertyName`
- `initializer`: `Expression`

**Returns:** `PropertyAssignment`
sourceraw docstring

create-property-declarationcljs

(create-property-declaration node-factory)
(create-property-declaration node-factory modifiers)
(create-property-declaration node-factory modifiers name)
(create-property-declaration node-factory
                             modifiers
                             name
                             question-or-exclamation-token)
(create-property-declaration node-factory
                             modifiers
                             name
                             question-or-exclamation-token
                             type)
(create-property-declaration node-factory
                             modifiers
                             name
                             question-or-exclamation-token
                             type
                             initializer)

Parameters:

  • modifiers: readonly ModifierLike[] | undefined
  • name: string | PropertyName
  • question-or-exclamation-token: QuestionToken | ExclamationToken | undefined
  • type: TypeNode | undefined
  • initializer: Expression | undefined

Returns: PropertyDeclaration

**Parameters:**
- `modifiers`: `readonly ModifierLike[] | undefined`
- `name`: `string | PropertyName`
- `question-or-exclamation-token`: `QuestionToken | ExclamationToken | undefined`
- `type`: `TypeNode | undefined`
- `initializer`: `Expression | undefined`

**Returns:** `PropertyDeclaration`
sourceraw docstring

create-property-signaturecljs

(create-property-signature node-factory)
(create-property-signature node-factory modifiers)
(create-property-signature node-factory modifiers name)
(create-property-signature node-factory modifiers name question-token)
(create-property-signature node-factory modifiers name question-token type)

Parameters:

  • modifiers: readonly Modifier[] | undefined
  • name: string | PropertyName
  • question-token: QuestionToken | undefined
  • type: TypeNode | undefined

Returns: PropertySignature

**Parameters:**
- `modifiers`: `readonly Modifier[] | undefined`
- `name`: `string | PropertyName`
- `question-token`: `QuestionToken | undefined`
- `type`: `TypeNode | undefined`

**Returns:** `PropertySignature`
sourceraw docstring

create-qualified-namecljs

(create-qualified-name node-factory left right)

Parameters:

  • left: EntityName
  • right: string | Identifier

Returns: QualifiedName

**Parameters:**
- `left`: `EntityName`
- `right`: `string | Identifier`

**Returns:** `QualifiedName`
sourceraw docstring

create-regular-expression-literalcljs

(create-regular-expression-literal node-factory text)

Parameters:

  • text: string

Returns: RegularExpressionLiteral

**Parameters:**
- `text`: `string`

**Returns:** `RegularExpressionLiteral`
sourceraw docstring

create-rest-type-nodecljs

(create-rest-type-node node-factory type)

Parameters:

  • type: TypeNode

Returns: RestTypeNode

**Parameters:**
- `type`: `TypeNode`

**Returns:** `RestTypeNode`
sourceraw docstring

create-return-statementcljs

(create-return-statement node-factory)
(create-return-statement node-factory expression)

Parameters:

  • expression: Expression | undefined

Returns: ReturnStatement

**Parameters:**
- `expression`: `Expression | undefined`

**Returns:** `ReturnStatement`
sourceraw docstring

create-right-shiftcljs

(create-right-shift node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-satisfies-expressioncljs

(create-satisfies-expression node-factory expression type)

Parameters:

  • expression: Expression
  • type: TypeNode

Returns: SatisfiesExpression

**Parameters:**
- `expression`: `Expression`
- `type`: `TypeNode`

**Returns:** `SatisfiesExpression`
sourceraw docstring

create-semicolon-class-elementcljs

(create-semicolon-class-element node-factory)

Returns: SemicolonClassElement

**Returns:** `SemicolonClassElement`
sourceraw docstring

create-set-accessor-declarationcljs

(create-set-accessor-declaration node-factory)
(create-set-accessor-declaration node-factory modifiers)
(create-set-accessor-declaration node-factory modifiers name)
(create-set-accessor-declaration node-factory modifiers name parameters)
(create-set-accessor-declaration node-factory modifiers name parameters body)

Parameters:

  • modifiers: readonly ModifierLike[] | undefined
  • name: string | PropertyName
  • parameters: readonly ParameterDeclaration[]
  • body: Block | undefined

Returns: SetAccessorDeclaration

**Parameters:**
- `modifiers`: `readonly ModifierLike[] | undefined`
- `name`: `string | PropertyName`
- `parameters`: `readonly ParameterDeclaration[]`
- `body`: `Block | undefined`

**Returns:** `SetAccessorDeclaration`
sourceraw docstring

create-shorthand-property-assignmentcljs

(create-shorthand-property-assignment node-factory name)
(create-shorthand-property-assignment node-factory
                                      name
                                      object-assignment-initializer)

Parameters:

  • name: string | Identifier
  • object-assignment-initializer: Expression | undefined

Returns: ShorthandPropertyAssignment

**Parameters:**
- `name`: `string | Identifier`
- `object-assignment-initializer`: `Expression | undefined`

**Returns:** `ShorthandPropertyAssignment`
sourceraw docstring

create-source-filecljs

(create-source-file node-factory statements end-of-file-token flags)

Parameters:

  • statements: readonly Statement[]
  • end-of-file-token: EndOfFileToken
  • flags: NodeFlags

Returns: SourceFile

**Parameters:**
- `statements`: `readonly Statement[]`
- `end-of-file-token`: `EndOfFileToken`
- `flags`: `NodeFlags`

**Returns:** `SourceFile`
sourceraw docstring

create-spread-assignmentcljs

(create-spread-assignment node-factory expression)

Parameters:

  • expression: Expression

Returns: SpreadAssignment

**Parameters:**
- `expression`: `Expression`

**Returns:** `SpreadAssignment`
sourceraw docstring

create-spread-elementcljs

(create-spread-element node-factory expression)

Parameters:

  • expression: Expression

Returns: SpreadElement

**Parameters:**
- `expression`: `Expression`

**Returns:** `SpreadElement`
sourceraw docstring

create-strict-equalitycljs

(create-strict-equality node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-strict-inequalitycljs

(create-strict-inequality node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-string-literalcljs

(create-string-literal node-factory text)
(create-string-literal node-factory text single-quote?)

Parameters:

  • text: string
  • single-quote?: boolean | undefined

Returns: StringLiteral

**Parameters:**
- `text`: `string`
- `single-quote?`: `boolean | undefined`

**Returns:** `StringLiteral`
sourceraw docstring

create-string-literal-from-nodecljs

(create-string-literal-from-node node-factory source-node)
(create-string-literal-from-node node-factory source-node single-quote?)

Parameters:

  • source-node: PrivateIdentifier | PropertyNameLiteral
  • single-quote?: boolean | undefined

Returns: StringLiteral

**Parameters:**
- `source-node`: `PrivateIdentifier | PropertyNameLiteral`
- `single-quote?`: `boolean | undefined`

**Returns:** `StringLiteral`
sourceraw docstring

create-subtractcljs

(create-subtract node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-supercljs

(create-super node-factory)

Returns: SuperExpression

**Returns:** `SuperExpression`
sourceraw docstring

create-switch-statementcljs

(create-switch-statement node-factory expression case-block)

Parameters:

  • expression: Expression
  • case-block: CaseBlock

Returns: SwitchStatement

**Parameters:**
- `expression`: `Expression`
- `case-block`: `CaseBlock`

**Returns:** `SwitchStatement`
sourceraw docstring

create-tagged-template-expressioncljs

(create-tagged-template-expression node-factory tag)
(create-tagged-template-expression node-factory tag type-arguments)
(create-tagged-template-expression node-factory tag type-arguments template)

Parameters:

  • tag: Expression
  • type-arguments: readonly TypeNode[] | undefined
  • template: TemplateLiteral

Returns: TaggedTemplateExpression

**Parameters:**
- `tag`: `Expression`
- `type-arguments`: `readonly TypeNode[] | undefined`
- `template`: `TemplateLiteral`

**Returns:** `TaggedTemplateExpression`
sourceraw docstring

create-temp-variablecljs

(create-temp-variable node-factory)
(create-temp-variable node-factory record-temp-variable)
(create-temp-variable node-factory
                      record-temp-variable
                      reserved-in-nested-scopes?)

Create a unique temporary variable.

Parameters:

  • record-temp-variable: ((node: Identifier) => void) | undefined - An optional callback used to record the temporary variable name. This should usually be a reference to hoistVariableDeclaration from a TransformationContext, but can be undefined if you plan to record the temporary variable manually.
  • reserved-in-nested-scopes?: boolean | undefined - When true, reserves the temporary variable name in all nested scopes during emit so that the variable can be referenced in a nested function body. This is an alternative to setting EmitFlags.ReuseTempVariableScope on the nested function itself.

Returns: Identifier

Create a unique temporary variable.

**Parameters:**
- `record-temp-variable`: `((node: Identifier) => void) | undefined` - An optional callback used to record the temporary variable name. This
should usually be a reference to `hoistVariableDeclaration` from a `TransformationContext`, but
can be `undefined` if you plan to record the temporary variable manually.
- `reserved-in-nested-scopes?`: `boolean | undefined` - When `true`, reserves the temporary variable name in all nested scopes
during emit so that the variable can be referenced in a nested function body. This is an alternative to
setting `EmitFlags.ReuseTempVariableScope` on the nested function itself.

**Returns:** `Identifier`
sourceraw docstring

create-template-expressioncljs

(create-template-expression node-factory head template-spans)

Parameters:

  • head: TemplateHead
  • template-spans: readonly TemplateSpan[]

Returns: TemplateExpression

**Parameters:**
- `head`: `TemplateHead`
- `template-spans`: `readonly TemplateSpan[]`

**Returns:** `TemplateExpression`
sourceraw docstring

create-template-headcljs

(create-template-head node-factory)
(create-template-head node-factory text)
(create-template-head node-factory text raw-text)
(create-template-head node-factory text raw-text template-flags)

Parameters:

  • text: string | undefined
  • raw-text: string
  • template-flags: TokenFlags | undefined

Returns: TemplateHead

**Parameters:**
- `text`: `string | undefined`
- `raw-text`: `string`
- `template-flags`: `TokenFlags | undefined`

**Returns:** `TemplateHead`
sourceraw docstring

create-template-literal-typecljs

(create-template-literal-type node-factory head template-spans)

Parameters:

  • head: TemplateHead
  • template-spans: readonly TemplateLiteralTypeSpan[]

Returns: TemplateLiteralTypeNode

**Parameters:**
- `head`: `TemplateHead`
- `template-spans`: `readonly TemplateLiteralTypeSpan[]`

**Returns:** `TemplateLiteralTypeNode`
sourceraw docstring

create-template-literal-type-spancljs

(create-template-literal-type-span node-factory type literal)

Parameters:

  • type: TypeNode
  • literal: TemplateMiddle | TemplateTail

Returns: TemplateLiteralTypeSpan

**Parameters:**
- `type`: `TypeNode`
- `literal`: `TemplateMiddle | TemplateTail`

**Returns:** `TemplateLiteralTypeSpan`
sourceraw docstring

create-template-middlecljs

(create-template-middle node-factory)
(create-template-middle node-factory text)
(create-template-middle node-factory text raw-text)
(create-template-middle node-factory text raw-text template-flags)

Parameters:

  • text: string | undefined
  • raw-text: string
  • template-flags: TokenFlags | undefined

Returns: TemplateMiddle

**Parameters:**
- `text`: `string | undefined`
- `raw-text`: `string`
- `template-flags`: `TokenFlags | undefined`

**Returns:** `TemplateMiddle`
sourceraw docstring

create-template-spancljs

(create-template-span node-factory expression literal)

Parameters:

  • expression: Expression
  • literal: TemplateMiddle | TemplateTail

Returns: TemplateSpan

**Parameters:**
- `expression`: `Expression`
- `literal`: `TemplateMiddle | TemplateTail`

**Returns:** `TemplateSpan`
sourceraw docstring

create-template-tailcljs

(create-template-tail node-factory)
(create-template-tail node-factory text)
(create-template-tail node-factory text raw-text)
(create-template-tail node-factory text raw-text template-flags)

Parameters:

  • text: string | undefined
  • raw-text: string
  • template-flags: TokenFlags | undefined

Returns: TemplateTail

**Parameters:**
- `text`: `string | undefined`
- `raw-text`: `string`
- `template-flags`: `TokenFlags | undefined`

**Returns:** `TemplateTail`
sourceraw docstring

create-thiscljs

(create-this node-factory)

Returns: ThisExpression

**Returns:** `ThisExpression`
sourceraw docstring

create-this-type-nodecljs

(create-this-type-node node-factory)

Returns: ThisTypeNode

**Returns:** `ThisTypeNode`
sourceraw docstring

create-throw-statementcljs

(create-throw-statement node-factory expression)

Parameters:

  • expression: Expression

Returns: ThrowStatement

**Parameters:**
- `expression`: `Expression`

**Returns:** `ThrowStatement`
sourceraw docstring

create-tokencljs

(create-token node-factory token)

Parameters:

  • token: TKind

Returns: KeywordToken<TKind>

**Parameters:**
- `token`: `TKind`

**Returns:** `KeywordToken<TKind>`
sourceraw docstring

create-truecljs

(create-true node-factory)

Returns: TrueLiteral

**Returns:** `TrueLiteral`
sourceraw docstring

create-try-statementcljs

(create-try-statement node-factory try-block)
(create-try-statement node-factory try-block catch-clause)
(create-try-statement node-factory try-block catch-clause finally-block)

Parameters:

  • try-block: Block
  • catch-clause: CatchClause | undefined
  • finally-block: Block | undefined

Returns: TryStatement

**Parameters:**
- `try-block`: `Block`
- `catch-clause`: `CatchClause | undefined`
- `finally-block`: `Block | undefined`

**Returns:** `TryStatement`
sourceraw docstring

create-tuple-type-nodecljs

(create-tuple-type-node node-factory elements)

Parameters:

  • elements: readonly (TypeNode | NamedTupleMember)[]

Returns: TupleTypeNode

**Parameters:**
- `elements`: `readonly (TypeNode | NamedTupleMember)[]`

**Returns:** `TupleTypeNode`
sourceraw docstring

create-type-alias-declarationcljs

(create-type-alias-declaration node-factory)
(create-type-alias-declaration node-factory modifiers)
(create-type-alias-declaration node-factory modifiers name)
(create-type-alias-declaration node-factory modifiers name type-parameters)
(create-type-alias-declaration node-factory modifiers name type-parameters type)

Parameters:

  • modifiers: readonly ModifierLike[] | undefined
  • name: string | Identifier
  • type-parameters: readonly TypeParameterDeclaration[] | undefined
  • type: TypeNode

Returns: TypeAliasDeclaration

**Parameters:**
- `modifiers`: `readonly ModifierLike[] | undefined`
- `name`: `string | Identifier`
- `type-parameters`: `readonly TypeParameterDeclaration[] | undefined`
- `type`: `TypeNode`

**Returns:** `TypeAliasDeclaration`
sourceraw docstring

create-type-assertioncljs

(create-type-assertion node-factory type expression)

Parameters:

  • type: TypeNode
  • expression: Expression

Returns: TypeAssertion

**Parameters:**
- `type`: `TypeNode`
- `expression`: `Expression`

**Returns:** `TypeAssertion`
sourceraw docstring

create-type-literal-nodecljs

(create-type-literal-node node-factory)
(create-type-literal-node node-factory members)

Parameters:

  • members: readonly TypeElement[] | undefined

Returns: TypeLiteralNode

**Parameters:**
- `members`: `readonly TypeElement[] | undefined`

**Returns:** `TypeLiteralNode`
sourceraw docstring

create-type-of-expressioncljs

(create-type-of-expression node-factory expression)

Parameters:

  • expression: Expression

Returns: TypeOfExpression

**Parameters:**
- `expression`: `Expression`

**Returns:** `TypeOfExpression`
sourceraw docstring

create-type-operator-nodecljs

(create-type-operator-node node-factory operator type)

Parameters:

  • operator: SyntaxKind.KeyOfKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.UniqueKeyword
  • type: TypeNode

Returns: TypeOperatorNode

**Parameters:**
- `operator`: `SyntaxKind.KeyOfKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.UniqueKeyword`
- `type`: `TypeNode`

**Returns:** `TypeOperatorNode`
sourceraw docstring

create-type-parameter-declarationcljs

(create-type-parameter-declaration node-factory)
(create-type-parameter-declaration node-factory modifiers)
(create-type-parameter-declaration node-factory modifiers name)
(create-type-parameter-declaration node-factory modifiers name constraint)
(create-type-parameter-declaration node-factory
                                   modifiers
                                   name
                                   constraint
                                   default-type)

Parameters:

  • modifiers: readonly Modifier[] | undefined
  • name: string | Identifier
  • constraint: TypeNode | undefined
  • default-type: TypeNode | undefined

Returns: TypeParameterDeclaration

**Parameters:**
- `modifiers`: `readonly Modifier[] | undefined`
- `name`: `string | Identifier`
- `constraint`: `TypeNode | undefined`
- `default-type`: `TypeNode | undefined`

**Returns:** `TypeParameterDeclaration`
sourceraw docstring

create-type-predicate-nodecljs

(create-type-predicate-node node-factory)
(create-type-predicate-node node-factory asserts-modifier)
(create-type-predicate-node node-factory asserts-modifier parameter-name)
(create-type-predicate-node node-factory asserts-modifier parameter-name type)

Parameters:

  • asserts-modifier: AssertsKeyword | undefined
  • parameter-name: string | Identifier | ThisTypeNode
  • type: TypeNode | undefined

Returns: TypePredicateNode

**Parameters:**
- `asserts-modifier`: `AssertsKeyword | undefined`
- `parameter-name`: `string | Identifier | ThisTypeNode`
- `type`: `TypeNode | undefined`

**Returns:** `TypePredicateNode`
sourceraw docstring

create-type-query-nodecljs

(create-type-query-node node-factory expr-name)
(create-type-query-node node-factory expr-name type-arguments)

Parameters:

  • expr-name: EntityName
  • type-arguments: readonly TypeNode[] | undefined

Returns: TypeQueryNode

**Parameters:**
- `expr-name`: `EntityName`
- `type-arguments`: `readonly TypeNode[] | undefined`

**Returns:** `TypeQueryNode`
sourceraw docstring

create-type-reference-nodecljs

(create-type-reference-node node-factory type-name)
(create-type-reference-node node-factory type-name type-arguments)

Parameters:

  • type-name: string | EntityName
  • type-arguments: readonly TypeNode[] | undefined

Returns: TypeReferenceNode

**Parameters:**
- `type-name`: `string | EntityName`
- `type-arguments`: `readonly TypeNode[] | undefined`

**Returns:** `TypeReferenceNode`
sourceraw docstring

create-union-type-nodecljs

(create-union-type-node node-factory types)

Parameters:

  • types: readonly TypeNode[]

Returns: UnionTypeNode

**Parameters:**
- `types`: `readonly TypeNode[]`

**Returns:** `UnionTypeNode`
sourceraw docstring

create-unique-namecljs

(create-unique-name node-factory text)
(create-unique-name node-factory text flags)

Create a unique name based on the supplied text.

Parameters:

  • text: string
  • flags: GeneratedIdentifierFlags | undefined

Returns: Identifier

Create a unique name based on the supplied text.

**Parameters:**
- `text`: `string`
- `flags`: `GeneratedIdentifierFlags | undefined`

**Returns:** `Identifier`
sourceraw docstring

create-unique-private-namecljs

(create-unique-private-name node-factory)
(create-unique-private-name node-factory text)

Parameters:

  • text: string | undefined

Returns: PrivateIdentifier

**Parameters:**
- `text`: `string | undefined`

**Returns:** `PrivateIdentifier`
sourceraw docstring

create-unsigned-right-shiftcljs

(create-unsigned-right-shift node-factory left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `left`: `Expression`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

create-variable-declarationcljs

(create-variable-declaration node-factory name)
(create-variable-declaration node-factory name exclamation-token)
(create-variable-declaration node-factory name exclamation-token type)
(create-variable-declaration node-factory
                             name
                             exclamation-token
                             type
                             initializer)

Parameters:

  • name: string | BindingName
  • exclamation-token: ExclamationToken | undefined
  • type: TypeNode | undefined
  • initializer: Expression | undefined

Returns: VariableDeclaration

**Parameters:**
- `name`: `string | BindingName`
- `exclamation-token`: `ExclamationToken | undefined`
- `type`: `TypeNode | undefined`
- `initializer`: `Expression | undefined`

**Returns:** `VariableDeclaration`
sourceraw docstring

create-variable-declaration-listcljs

(create-variable-declaration-list node-factory declarations)
(create-variable-declaration-list node-factory declarations flags)

Parameters:

  • declarations: readonly VariableDeclaration[]
  • flags: NodeFlags | undefined

Returns: VariableDeclarationList

**Parameters:**
- `declarations`: `readonly VariableDeclaration[]`
- `flags`: `NodeFlags | undefined`

**Returns:** `VariableDeclarationList`
sourceraw docstring

create-variable-statementcljs

(create-variable-statement node-factory)
(create-variable-statement node-factory modifiers)
(create-variable-statement node-factory modifiers declaration-list)

Parameters:

  • modifiers: readonly ModifierLike[] | undefined
  • declaration-list: VariableDeclarationList | readonly VariableDeclaration[]

Returns: VariableStatement

**Parameters:**
- `modifiers`: `readonly ModifierLike[] | undefined`
- `declaration-list`: `VariableDeclarationList | readonly VariableDeclaration[]`

**Returns:** `VariableStatement`
sourceraw docstring

create-void-expressioncljs

(create-void-expression node-factory expression)

Parameters:

  • expression: Expression

Returns: VoidExpression

**Parameters:**
- `expression`: `Expression`

**Returns:** `VoidExpression`
sourceraw docstring

create-void-zerocljs

(create-void-zero node-factory)

Returns: VoidExpression

**Returns:** `VoidExpression`
sourceraw docstring

create-while-statementcljs

(create-while-statement node-factory expression statement)

Parameters:

  • expression: Expression
  • statement: Statement

Returns: WhileStatement

**Parameters:**
- `expression`: `Expression`
- `statement`: `Statement`

**Returns:** `WhileStatement`
sourceraw docstring

create-with-statementcljs

(create-with-statement node-factory expression statement)

Parameters:

  • expression: Expression
  • statement: Statement

Returns: WithStatement

**Parameters:**
- `expression`: `Expression`
- `statement`: `Statement`

**Returns:** `WithStatement`
sourceraw docstring

create-yield-expressioncljs

(create-yield-expression node-factory)
(create-yield-expression node-factory asterisk-token)
(create-yield-expression node-factory asterisk-token expression)

Parameters:

  • asterisk-token: undefined
  • expression: Expression | undefined

Returns: YieldExpression

**Parameters:**
- `asterisk-token`: `undefined`
- `expression`: `Expression | undefined`

**Returns:** `YieldExpression`
sourceraw docstring

generated-name-for-nodecljs

(generated-name-for-node node-factory)
(generated-name-for-node node-factory node)
(generated-name-for-node node-factory node flags)

Create a unique name generated for a node.

Parameters:

  • node: Node | undefined
  • flags: GeneratedIdentifierFlags | undefined

Returns: Identifier

Create a unique name generated for a node.

**Parameters:**
- `node`: `Node | undefined`
- `flags`: `GeneratedIdentifierFlags | undefined`

**Returns:** `Identifier`
sourceraw docstring

generated-private-name-for-nodecljs

(generated-private-name-for-node node-factory node)

Parameters:

  • node: Node

Returns: PrivateIdentifier

**Parameters:**
- `node`: `Node`

**Returns:** `PrivateIdentifier`
sourceraw docstring

replace-decorators-and-modifierscljs

(replace-decorators-and-modifiers node-factory node)
(replace-decorators-and-modifiers node-factory node modifiers)

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

Parameters:

  • node: T
  • modifiers: readonly ModifierLike[] | undefined

Returns: T

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

**Parameters:**
- `node`: `T`
- `modifiers`: `readonly ModifierLike[] | undefined`

**Returns:** `T`
sourceraw docstring

replace-modifierscljs

(replace-modifiers node-factory node)
(replace-modifiers node-factory node modifiers)

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

Parameters:

  • node: T
  • modifiers: ModifierFlags | readonly Modifier[] | undefined

Returns: T

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

**Parameters:**
- `node`: `T`
- `modifiers`: `ModifierFlags | readonly Modifier[] | undefined`

**Returns:** `T`
sourceraw docstring

replace-property-namecljs

(replace-property-name node-factory node name)

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

Parameters:

  • node: T
  • name: T["name"]

Returns: T

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

**Parameters:**
- `node`: `T`
- `name`: `T["name"]`

**Returns:** `T`
sourceraw docstring

restore-outer-expressionscljs

(restore-outer-expressions node-factory)
(restore-outer-expressions node-factory outer-expression)
(restore-outer-expressions node-factory outer-expression inner-expression)
(restore-outer-expressions node-factory outer-expression inner-expression kinds)

Parameters:

  • outer-expression: Expression | undefined
  • inner-expression: Expression
  • kinds: OuterExpressionKinds | undefined

Returns: Expression

**Parameters:**
- `outer-expression`: `Expression | undefined`
- `inner-expression`: `Expression`
- `kinds`: `OuterExpressionKinds | undefined`

**Returns:** `Expression`
sourceraw docstring

update-array-binding-patterncljs

(update-array-binding-pattern node-factory node elements)

Parameters:

  • node: ArrayBindingPattern
  • elements: readonly ArrayBindingElement[]

Returns: ArrayBindingPattern

**Parameters:**
- `node`: `ArrayBindingPattern`
- `elements`: `readonly ArrayBindingElement[]`

**Returns:** `ArrayBindingPattern`
sourceraw docstring

update-array-literal-expressioncljs

(update-array-literal-expression node-factory node elements)

Parameters:

  • node: ArrayLiteralExpression
  • elements: readonly Expression[]

Returns: ArrayLiteralExpression

**Parameters:**
- `node`: `ArrayLiteralExpression`
- `elements`: `readonly Expression[]`

**Returns:** `ArrayLiteralExpression`
sourceraw docstring

update-array-type-nodecljs

(update-array-type-node node-factory node element-type)

Parameters:

  • node: ArrayTypeNode
  • element-type: TypeNode

Returns: ArrayTypeNode

**Parameters:**
- `node`: `ArrayTypeNode`
- `element-type`: `TypeNode`

**Returns:** `ArrayTypeNode`
sourceraw docstring

update-arrow-functioncljs

(update-arrow-function node-factory node)
(update-arrow-function node-factory node modifiers)
(update-arrow-function node-factory node modifiers type-parameters)
(update-arrow-function node-factory node modifiers type-parameters parameters)
(update-arrow-function node-factory
                       node
                       modifiers
                       type-parameters
                       parameters
                       type)
(update-arrow-function node-factory
                       node
                       modifiers
                       type-parameters
                       parameters
                       type
                       equals-greater-than-token)
(update-arrow-function node-factory
                       node
                       modifiers
                       type-parameters
                       parameters
                       type
                       equals-greater-than-token
                       body)

Parameters:

  • node: ArrowFunction
  • modifiers: readonly Modifier[] | undefined
  • type-parameters: readonly TypeParameterDeclaration[] | undefined
  • parameters: readonly ParameterDeclaration[]
  • type: TypeNode | undefined
  • equals-greater-than-token: EqualsGreaterThanToken
  • body: ConciseBody

Returns: ArrowFunction

**Parameters:**
- `node`: `ArrowFunction`
- `modifiers`: `readonly Modifier[] | undefined`
- `type-parameters`: `readonly TypeParameterDeclaration[] | undefined`
- `parameters`: `readonly ParameterDeclaration[]`
- `type`: `TypeNode | undefined`
- `equals-greater-than-token`: `EqualsGreaterThanToken`
- `body`: `ConciseBody`

**Returns:** `ArrowFunction`
sourceraw docstring

update-as-expressioncljs

(update-as-expression node-factory node expression type)

Parameters:

  • node: AsExpression
  • expression: Expression
  • type: TypeNode

Returns: AsExpression

**Parameters:**
- `node`: `AsExpression`
- `expression`: `Expression`
- `type`: `TypeNode`

**Returns:** `AsExpression`
sourceraw docstring

update-assert-clausecljs

(update-assert-clause node-factory node elements)
(update-assert-clause node-factory node elements multi-line?)

Parameters:

  • node: AssertClause
  • elements: NodeArray<AssertEntry>
  • multi-line?: boolean | undefined

Returns: AssertClause

**Parameters:**
- `node`: `AssertClause`
- `elements`: `NodeArray<AssertEntry>`
- `multi-line?`: `boolean | undefined`

**Returns:** `AssertClause`
sourceraw docstring

update-assert-entrycljs

(update-assert-entry node-factory node name value)

Parameters:

  • node: AssertEntry
  • name: ImportAttributeName
  • value: Expression

Returns: AssertEntry

**Parameters:**
- `node`: `AssertEntry`
- `name`: `ImportAttributeName`
- `value`: `Expression`

**Returns:** `AssertEntry`
sourceraw docstring

update-await-expressioncljs

(update-await-expression node-factory node expression)

Parameters:

  • node: AwaitExpression
  • expression: Expression

Returns: AwaitExpression

**Parameters:**
- `node`: `AwaitExpression`
- `expression`: `Expression`

**Returns:** `AwaitExpression`
sourceraw docstring

update-binary-expressioncljs

(update-binary-expression node-factory node left operator right)

Parameters:

  • node: BinaryExpression
  • left: Expression
  • operator: BinaryOperator | BinaryOperatorToken
  • right: Expression

Returns: BinaryExpression

**Parameters:**
- `node`: `BinaryExpression`
- `left`: `Expression`
- `operator`: `BinaryOperator | BinaryOperatorToken`
- `right`: `Expression`

**Returns:** `BinaryExpression`
sourceraw docstring

update-binding-elementcljs

(update-binding-element node-factory node)
(update-binding-element node-factory node dot-dot-dot-token)
(update-binding-element node-factory node dot-dot-dot-token property-name)
(update-binding-element node-factory node dot-dot-dot-token property-name name)
(update-binding-element node-factory
                        node
                        dot-dot-dot-token
                        property-name
                        name
                        initializer)

Parameters:

  • node: BindingElement
  • dot-dot-dot-token: DotDotDotToken | undefined
  • property-name: PropertyName | undefined
  • name: BindingName
  • initializer: Expression | undefined

Returns: BindingElement

**Parameters:**
- `node`: `BindingElement`
- `dot-dot-dot-token`: `DotDotDotToken | undefined`
- `property-name`: `PropertyName | undefined`
- `name`: `BindingName`
- `initializer`: `Expression | undefined`

**Returns:** `BindingElement`
sourceraw docstring

update-blockcljs

(update-block node-factory node statements)

Parameters:

  • node: Block
  • statements: readonly Statement[]

Returns: Block

**Parameters:**
- `node`: `Block`
- `statements`: `readonly Statement[]`

**Returns:** `Block`
sourceraw docstring

update-break-statementcljs

(update-break-statement node-factory node)
(update-break-statement node-factory node label)

Parameters:

  • node: BreakStatement
  • label: Identifier | undefined

Returns: BreakStatement

**Parameters:**
- `node`: `BreakStatement`
- `label`: `Identifier | undefined`

**Returns:** `BreakStatement`
sourceraw docstring

update-bundlecljs

(update-bundle node-factory node source-files)
(update-bundle node-factory node source-files prepends)

Parameters:

  • node: Bundle
  • source-files: readonly SourceFile[]
  • prepends: readonly (UnparsedSource | InputFiles)[] | undefined

Returns: Bundle

**Parameters:**
- `node`: `Bundle`
- `source-files`: `readonly SourceFile[]`
- `prepends`: `readonly (UnparsedSource | InputFiles)[] | undefined`

**Returns:** `Bundle`
sourceraw docstring

update-call-chaincljs

(update-call-chain node-factory node expression)
(update-call-chain node-factory node expression question-dot-token)
(update-call-chain node-factory
                   node
                   expression
                   question-dot-token
                   type-arguments)
(update-call-chain node-factory
                   node
                   expression
                   question-dot-token
                   type-arguments
                   arguments-array)

Parameters:

  • node: CallChain
  • expression: Expression
  • question-dot-token: QuestionDotToken | undefined
  • type-arguments: readonly TypeNode[] | undefined
  • arguments-array: readonly Expression[]

Returns: CallChain

**Parameters:**
- `node`: `CallChain`
- `expression`: `Expression`
- `question-dot-token`: `QuestionDotToken | undefined`
- `type-arguments`: `readonly TypeNode[] | undefined`
- `arguments-array`: `readonly Expression[]`

**Returns:** `CallChain`
sourceraw docstring

update-call-expressioncljs

(update-call-expression node-factory node expression)
(update-call-expression node-factory node expression type-arguments)
(update-call-expression node-factory
                        node
                        expression
                        type-arguments
                        arguments-array)

Parameters:

  • node: CallExpression
  • expression: Expression
  • type-arguments: readonly TypeNode[] | undefined
  • arguments-array: readonly Expression[]

Returns: CallExpression

**Parameters:**
- `node`: `CallExpression`
- `expression`: `Expression`
- `type-arguments`: `readonly TypeNode[] | undefined`
- `arguments-array`: `readonly Expression[]`

**Returns:** `CallExpression`
sourceraw docstring

update-call-signaturecljs

(update-call-signature node-factory node)
(update-call-signature node-factory node type-parameters)
(update-call-signature node-factory node type-parameters parameters)
(update-call-signature node-factory node type-parameters parameters type)

Parameters:

  • node: CallSignatureDeclaration
  • type-parameters: NodeArray<TypeParameterDeclaration> | undefined
  • parameters: NodeArray<ParameterDeclaration>
  • type: TypeNode | undefined

Returns: CallSignatureDeclaration

**Parameters:**
- `node`: `CallSignatureDeclaration`
- `type-parameters`: `NodeArray<TypeParameterDeclaration> | undefined`
- `parameters`: `NodeArray<ParameterDeclaration>`
- `type`: `TypeNode | undefined`

**Returns:** `CallSignatureDeclaration`
sourceraw docstring

update-case-blockcljs

(update-case-block node-factory node clauses)

Parameters:

  • node: CaseBlock
  • clauses: readonly CaseOrDefaultClause[]

Returns: CaseBlock

**Parameters:**
- `node`: `CaseBlock`
- `clauses`: `readonly CaseOrDefaultClause[]`

**Returns:** `CaseBlock`
sourceraw docstring

update-case-clausecljs

(update-case-clause node-factory node expression statements)

Parameters:

  • node: CaseClause
  • expression: Expression
  • statements: readonly Statement[]

Returns: CaseClause

**Parameters:**
- `node`: `CaseClause`
- `expression`: `Expression`
- `statements`: `readonly Statement[]`

**Returns:** `CaseClause`
sourceraw docstring

update-catch-clausecljs

(update-catch-clause node-factory node)
(update-catch-clause node-factory node variable-declaration)
(update-catch-clause node-factory node variable-declaration block)

Parameters:

  • node: CatchClause
  • variable-declaration: VariableDeclaration | undefined
  • block: Block

Returns: CatchClause

**Parameters:**
- `node`: `CatchClause`
- `variable-declaration`: `VariableDeclaration | undefined`
- `block`: `Block`

**Returns:** `CatchClause`
sourceraw docstring

update-class-declarationcljs

(update-class-declaration node-factory node)
(update-class-declaration node-factory node modifiers)
(update-class-declaration node-factory node modifiers name)
(update-class-declaration node-factory node modifiers name type-parameters)
(update-class-declaration node-factory
                          node
                          modifiers
                          name
                          type-parameters
                          heritage-clauses)
(update-class-declaration node-factory
                          node
                          modifiers
                          name
                          type-parameters
                          heritage-clauses
                          members)

Parameters:

  • node: ClassDeclaration
  • modifiers: readonly ModifierLike[] | undefined
  • name: Identifier | undefined
  • type-parameters: readonly TypeParameterDeclaration[] | undefined
  • heritage-clauses: readonly HeritageClause[] | undefined
  • members: readonly ClassElement[]

Returns: ClassDeclaration

**Parameters:**
- `node`: `ClassDeclaration`
- `modifiers`: `readonly ModifierLike[] | undefined`
- `name`: `Identifier | undefined`
- `type-parameters`: `readonly TypeParameterDeclaration[] | undefined`
- `heritage-clauses`: `readonly HeritageClause[] | undefined`
- `members`: `readonly ClassElement[]`

**Returns:** `ClassDeclaration`
sourceraw docstring

update-class-expressioncljs

(update-class-expression node-factory node)
(update-class-expression node-factory node modifiers)
(update-class-expression node-factory node modifiers name)
(update-class-expression node-factory node modifiers name type-parameters)
(update-class-expression node-factory
                         node
                         modifiers
                         name
                         type-parameters
                         heritage-clauses)
(update-class-expression node-factory
                         node
                         modifiers
                         name
                         type-parameters
                         heritage-clauses
                         members)

Parameters:

  • node: ClassExpression
  • modifiers: readonly ModifierLike[] | undefined
  • name: Identifier | undefined
  • type-parameters: readonly TypeParameterDeclaration[] | undefined
  • heritage-clauses: readonly HeritageClause[] | undefined
  • members: readonly ClassElement[]

Returns: ClassExpression

**Parameters:**
- `node`: `ClassExpression`
- `modifiers`: `readonly ModifierLike[] | undefined`
- `name`: `Identifier | undefined`
- `type-parameters`: `readonly TypeParameterDeclaration[] | undefined`
- `heritage-clauses`: `readonly HeritageClause[] | undefined`
- `members`: `readonly ClassElement[]`

**Returns:** `ClassExpression`
sourceraw docstring

update-class-static-block-declarationcljs

(update-class-static-block-declaration node-factory node body)

Parameters:

  • node: ClassStaticBlockDeclaration
  • body: Block

Returns: ClassStaticBlockDeclaration

**Parameters:**
- `node`: `ClassStaticBlockDeclaration`
- `body`: `Block`

**Returns:** `ClassStaticBlockDeclaration`
sourceraw docstring

update-comma-list-expressioncljs

(update-comma-list-expression node-factory node elements)

Parameters:

  • node: CommaListExpression
  • elements: readonly Expression[]

Returns: CommaListExpression

**Parameters:**
- `node`: `CommaListExpression`
- `elements`: `readonly Expression[]`

**Returns:** `CommaListExpression`
sourceraw docstring

update-computed-property-namecljs

(update-computed-property-name node-factory node expression)

Parameters:

  • node: ComputedPropertyName
  • expression: Expression

Returns: ComputedPropertyName

**Parameters:**
- `node`: `ComputedPropertyName`
- `expression`: `Expression`

**Returns:** `ComputedPropertyName`
sourceraw docstring

update-conditional-expressioncljs

(update-conditional-expression node-factory
                               node
                               condition
                               question-token
                               when-true
                               colon-token
                               when-false)

Parameters:

  • node: ConditionalExpression
  • condition: Expression
  • question-token: QuestionToken
  • when-true: Expression
  • colon-token: ColonToken
  • when-false: Expression

Returns: ConditionalExpression

**Parameters:**
- `node`: `ConditionalExpression`
- `condition`: `Expression`
- `question-token`: `QuestionToken`
- `when-true`: `Expression`
- `colon-token`: `ColonToken`
- `when-false`: `Expression`

**Returns:** `ConditionalExpression`
sourceraw docstring

update-conditional-type-nodecljs

(update-conditional-type-node node-factory
                              node
                              check-type
                              extends-type
                              true-type
                              false-type)

Parameters:

  • node: ConditionalTypeNode
  • check-type: TypeNode
  • extends-type: TypeNode
  • true-type: TypeNode
  • false-type: TypeNode

Returns: ConditionalTypeNode

**Parameters:**
- `node`: `ConditionalTypeNode`
- `check-type`: `TypeNode`
- `extends-type`: `TypeNode`
- `true-type`: `TypeNode`
- `false-type`: `TypeNode`

**Returns:** `ConditionalTypeNode`
sourceraw docstring

update-construct-signaturecljs

(update-construct-signature node-factory node)
(update-construct-signature node-factory node type-parameters)
(update-construct-signature node-factory node type-parameters parameters)
(update-construct-signature node-factory node type-parameters parameters type)

Parameters:

  • node: ConstructSignatureDeclaration
  • type-parameters: NodeArray<TypeParameterDeclaration> | undefined
  • parameters: NodeArray<ParameterDeclaration>
  • type: TypeNode | undefined

Returns: ConstructSignatureDeclaration

**Parameters:**
- `node`: `ConstructSignatureDeclaration`
- `type-parameters`: `NodeArray<TypeParameterDeclaration> | undefined`
- `parameters`: `NodeArray<ParameterDeclaration>`
- `type`: `TypeNode | undefined`

**Returns:** `ConstructSignatureDeclaration`
sourceraw docstring

update-constructor-declarationcljs

(update-constructor-declaration node-factory node)
(update-constructor-declaration node-factory node modifiers)
(update-constructor-declaration node-factory node modifiers parameters)
(update-constructor-declaration node-factory node modifiers parameters body)

Parameters:

  • node: ConstructorDeclaration
  • modifiers: readonly ModifierLike[] | undefined
  • parameters: readonly ParameterDeclaration[]
  • body: Block | undefined

Returns: ConstructorDeclaration

**Parameters:**
- `node`: `ConstructorDeclaration`
- `modifiers`: `readonly ModifierLike[] | undefined`
- `parameters`: `readonly ParameterDeclaration[]`
- `body`: `Block | undefined`

**Returns:** `ConstructorDeclaration`
sourceraw docstring

update-constructor-type-nodecljs

(update-constructor-type-node node-factory node)
(update-constructor-type-node node-factory node modifiers)
(update-constructor-type-node node-factory node modifiers type-parameters)
(update-constructor-type-node node-factory
                              node
                              modifiers
                              type-parameters
                              parameters)
(update-constructor-type-node node-factory
                              node
                              modifiers
                              type-parameters
                              parameters
                              type)

Parameters:

  • node: ConstructorTypeNode
  • modifiers: readonly Modifier[] | undefined
  • type-parameters: NodeArray<TypeParameterDeclaration> | undefined
  • parameters: NodeArray<ParameterDeclaration>
  • type: TypeNode

Returns: ConstructorTypeNode

**Parameters:**
- `node`: `ConstructorTypeNode`
- `modifiers`: `readonly Modifier[] | undefined`
- `type-parameters`: `NodeArray<TypeParameterDeclaration> | undefined`
- `parameters`: `NodeArray<ParameterDeclaration>`
- `type`: `TypeNode`

**Returns:** `ConstructorTypeNode`
sourceraw docstring

update-continue-statementcljs

(update-continue-statement node-factory node)
(update-continue-statement node-factory node label)

Parameters:

  • node: ContinueStatement
  • label: Identifier | undefined

Returns: ContinueStatement

**Parameters:**
- `node`: `ContinueStatement`
- `label`: `Identifier | undefined`

**Returns:** `ContinueStatement`
sourceraw docstring

update-decoratorcljs

(update-decorator node-factory node expression)

Parameters:

  • node: Decorator
  • expression: Expression

Returns: Decorator

**Parameters:**
- `node`: `Decorator`
- `expression`: `Expression`

**Returns:** `Decorator`
sourceraw docstring

update-default-clausecljs

(update-default-clause node-factory node statements)

Parameters:

  • node: DefaultClause
  • statements: readonly Statement[]

Returns: DefaultClause

**Parameters:**
- `node`: `DefaultClause`
- `statements`: `readonly Statement[]`

**Returns:** `DefaultClause`
sourceraw docstring

update-delete-expressioncljs

(update-delete-expression node-factory node expression)

Parameters:

  • node: DeleteExpression
  • expression: Expression

Returns: DeleteExpression

**Parameters:**
- `node`: `DeleteExpression`
- `expression`: `Expression`

**Returns:** `DeleteExpression`
sourceraw docstring

update-do-statementcljs

(update-do-statement node-factory node statement expression)

Parameters:

  • node: DoStatement
  • statement: Statement
  • expression: Expression

Returns: DoStatement

**Parameters:**
- `node`: `DoStatement`
- `statement`: `Statement`
- `expression`: `Expression`

**Returns:** `DoStatement`
sourceraw docstring

update-element-access-chaincljs

(update-element-access-chain node-factory node expression)
(update-element-access-chain node-factory node expression question-dot-token)
(update-element-access-chain node-factory
                             node
                             expression
                             question-dot-token
                             argument-expression)

Parameters:

  • node: ElementAccessChain
  • expression: Expression
  • question-dot-token: QuestionDotToken | undefined
  • argument-expression: Expression

Returns: ElementAccessChain

**Parameters:**
- `node`: `ElementAccessChain`
- `expression`: `Expression`
- `question-dot-token`: `QuestionDotToken | undefined`
- `argument-expression`: `Expression`

**Returns:** `ElementAccessChain`
sourceraw docstring

update-element-access-expressioncljs

(update-element-access-expression node-factory
                                  node
                                  expression
                                  argument-expression)

Parameters:

  • node: ElementAccessExpression
  • expression: Expression
  • argument-expression: Expression

Returns: ElementAccessExpression

**Parameters:**
- `node`: `ElementAccessExpression`
- `expression`: `Expression`
- `argument-expression`: `Expression`

**Returns:** `ElementAccessExpression`
sourceraw docstring

update-enum-declarationcljs

(update-enum-declaration node-factory node)
(update-enum-declaration node-factory node modifiers)
(update-enum-declaration node-factory node modifiers name)
(update-enum-declaration node-factory node modifiers name members)

Parameters:

  • node: EnumDeclaration
  • modifiers: readonly ModifierLike[] | undefined
  • name: Identifier
  • members: readonly EnumMember[]

Returns: EnumDeclaration

**Parameters:**
- `node`: `EnumDeclaration`
- `modifiers`: `readonly ModifierLike[] | undefined`
- `name`: `Identifier`
- `members`: `readonly EnumMember[]`

**Returns:** `EnumDeclaration`
sourceraw docstring

update-enum-membercljs

(update-enum-member node-factory node name)
(update-enum-member node-factory node name initializer)

Parameters:

  • node: EnumMember
  • name: PropertyName
  • initializer: Expression | undefined

Returns: EnumMember

**Parameters:**
- `node`: `EnumMember`
- `name`: `PropertyName`
- `initializer`: `Expression | undefined`

**Returns:** `EnumMember`
sourceraw docstring

update-export-assignmentcljs

(update-export-assignment node-factory node)
(update-export-assignment node-factory node modifiers)
(update-export-assignment node-factory node modifiers expression)

Parameters:

  • node: ExportAssignment
  • modifiers: readonly ModifierLike[] | undefined
  • expression: Expression

Returns: ExportAssignment

**Parameters:**
- `node`: `ExportAssignment`
- `modifiers`: `readonly ModifierLike[] | undefined`
- `expression`: `Expression`

**Returns:** `ExportAssignment`
sourceraw docstring

update-export-declarationcljs

(update-export-declaration node-factory node)
(update-export-declaration node-factory node modifiers)
(update-export-declaration node-factory node modifiers type-only?)
(update-export-declaration node-factory node modifiers type-only? export-clause)
(update-export-declaration node-factory
                           node
                           modifiers
                           type-only?
                           export-clause
                           module-specifier)
(update-export-declaration node-factory
                           node
                           modifiers
                           type-only?
                           export-clause
                           module-specifier
                           attributes)

Parameters:

  • node: ExportDeclaration
  • modifiers: readonly ModifierLike[] | undefined
  • type-only?: boolean
  • export-clause: NamedExportBindings | undefined
  • module-specifier: Expression | undefined
  • attributes: ImportAttributes | undefined

Returns: ExportDeclaration

**Parameters:**
- `node`: `ExportDeclaration`
- `modifiers`: `readonly ModifierLike[] | undefined`
- `type-only?`: `boolean`
- `export-clause`: `NamedExportBindings | undefined`
- `module-specifier`: `Expression | undefined`
- `attributes`: `ImportAttributes | undefined`

**Returns:** `ExportDeclaration`
sourceraw docstring

update-export-specifiercljs

(update-export-specifier node-factory node type-only?)
(update-export-specifier node-factory node type-only? property-name)
(update-export-specifier node-factory node type-only? property-name name)

Parameters:

  • node: ExportSpecifier
  • type-only?: boolean
  • property-name: Identifier | undefined
  • name: Identifier

Returns: ExportSpecifier

**Parameters:**
- `node`: `ExportSpecifier`
- `type-only?`: `boolean`
- `property-name`: `Identifier | undefined`
- `name`: `Identifier`

**Returns:** `ExportSpecifier`
sourceraw docstring

update-expression-statementcljs

(update-expression-statement node-factory node expression)

Parameters:

  • node: ExpressionStatement
  • expression: Expression

Returns: ExpressionStatement

**Parameters:**
- `node`: `ExpressionStatement`
- `expression`: `Expression`

**Returns:** `ExpressionStatement`
sourceraw docstring

update-expression-with-type-argumentscljs

(update-expression-with-type-arguments node-factory node expression)
(update-expression-with-type-arguments node-factory
                                       node
                                       expression
                                       type-arguments)

Parameters:

  • node: ExpressionWithTypeArguments
  • expression: Expression
  • type-arguments: readonly TypeNode[] | undefined

Returns: ExpressionWithTypeArguments

**Parameters:**
- `node`: `ExpressionWithTypeArguments`
- `expression`: `Expression`
- `type-arguments`: `readonly TypeNode[] | undefined`

**Returns:** `ExpressionWithTypeArguments`
sourceraw docstring

update-external-module-referencecljs

(update-external-module-reference node-factory node expression)

Parameters:

  • node: ExternalModuleReference
  • expression: Expression

Returns: ExternalModuleReference

**Parameters:**
- `node`: `ExternalModuleReference`
- `expression`: `Expression`

**Returns:** `ExternalModuleReference`
sourceraw docstring

update-for-in-statementcljs

(update-for-in-statement node-factory node initializer expression statement)

Parameters:

  • node: ForInStatement
  • initializer: ForInitializer
  • expression: Expression
  • statement: Statement

Returns: ForInStatement

**Parameters:**
- `node`: `ForInStatement`
- `initializer`: `ForInitializer`
- `expression`: `Expression`
- `statement`: `Statement`

**Returns:** `ForInStatement`
sourceraw docstring

update-for-of-statementcljs

(update-for-of-statement node-factory node)
(update-for-of-statement node-factory node await-modifier)
(update-for-of-statement node-factory node await-modifier initializer)
(update-for-of-statement node-factory
                         node
                         await-modifier
                         initializer
                         expression)
(update-for-of-statement node-factory
                         node
                         await-modifier
                         initializer
                         expression
                         statement)

Parameters:

  • node: ForOfStatement
  • await-modifier: AwaitKeyword | undefined
  • initializer: ForInitializer
  • expression: Expression
  • statement: Statement

Returns: ForOfStatement

**Parameters:**
- `node`: `ForOfStatement`
- `await-modifier`: `AwaitKeyword | undefined`
- `initializer`: `ForInitializer`
- `expression`: `Expression`
- `statement`: `Statement`

**Returns:** `ForOfStatement`
sourceraw docstring

update-for-statementcljs

(update-for-statement node-factory node)
(update-for-statement node-factory node initializer)
(update-for-statement node-factory node initializer condition)
(update-for-statement node-factory node initializer condition incrementor)
(update-for-statement node-factory
                      node
                      initializer
                      condition
                      incrementor
                      statement)

Parameters:

  • node: ForStatement
  • initializer: ForInitializer | undefined
  • condition: Expression | undefined
  • incrementor: Expression | undefined
  • statement: Statement

Returns: ForStatement

**Parameters:**
- `node`: `ForStatement`
- `initializer`: `ForInitializer | undefined`
- `condition`: `Expression | undefined`
- `incrementor`: `Expression | undefined`
- `statement`: `Statement`

**Returns:** `ForStatement`
sourceraw docstring

update-function-declarationcljs

(update-function-declaration node-factory node)
(update-function-declaration node-factory node modifiers)
(update-function-declaration node-factory node modifiers asterisk-token)
(update-function-declaration node-factory node modifiers asterisk-token name)
(update-function-declaration node-factory
                             node
                             modifiers
                             asterisk-token
                             name
                             type-parameters)
(update-function-declaration node-factory
                             node
                             modifiers
                             asterisk-token
                             name
                             type-parameters
                             parameters)
(update-function-declaration node-factory
                             node
                             modifiers
                             asterisk-token
                             name
                             type-parameters
                             parameters
                             type)
(update-function-declaration node-factory
                             node
                             modifiers
                             asterisk-token
                             name
                             type-parameters
                             parameters
                             type
                             body)

Parameters:

  • node: FunctionDeclaration
  • modifiers: readonly ModifierLike[] | undefined
  • asterisk-token: AsteriskToken | undefined
  • name: Identifier | undefined
  • type-parameters: readonly TypeParameterDeclaration[] | undefined
  • parameters: readonly ParameterDeclaration[]
  • type: TypeNode | undefined
  • body: Block | undefined

Returns: FunctionDeclaration

**Parameters:**
- `node`: `FunctionDeclaration`
- `modifiers`: `readonly ModifierLike[] | undefined`
- `asterisk-token`: `AsteriskToken | undefined`
- `name`: `Identifier | undefined`
- `type-parameters`: `readonly TypeParameterDeclaration[] | undefined`
- `parameters`: `readonly ParameterDeclaration[]`
- `type`: `TypeNode | undefined`
- `body`: `Block | undefined`

**Returns:** `FunctionDeclaration`
sourceraw docstring

update-function-expressioncljs

(update-function-expression node-factory node)
(update-function-expression node-factory node modifiers)
(update-function-expression node-factory node modifiers asterisk-token)
(update-function-expression node-factory node modifiers asterisk-token name)
(update-function-expression node-factory
                            node
                            modifiers
                            asterisk-token
                            name
                            type-parameters)
(update-function-expression node-factory
                            node
                            modifiers
                            asterisk-token
                            name
                            type-parameters
                            parameters)
(update-function-expression node-factory
                            node
                            modifiers
                            asterisk-token
                            name
                            type-parameters
                            parameters
                            type)
(update-function-expression node-factory
                            node
                            modifiers
                            asterisk-token
                            name
                            type-parameters
                            parameters
                            type
                            body)

Parameters:

  • node: FunctionExpression
  • modifiers: readonly Modifier[] | undefined
  • asterisk-token: AsteriskToken | undefined
  • name: Identifier | undefined
  • type-parameters: readonly TypeParameterDeclaration[] | undefined
  • parameters: readonly ParameterDeclaration[]
  • type: TypeNode | undefined
  • body: Block

Returns: FunctionExpression

**Parameters:**
- `node`: `FunctionExpression`
- `modifiers`: `readonly Modifier[] | undefined`
- `asterisk-token`: `AsteriskToken | undefined`
- `name`: `Identifier | undefined`
- `type-parameters`: `readonly TypeParameterDeclaration[] | undefined`
- `parameters`: `readonly ParameterDeclaration[]`
- `type`: `TypeNode | undefined`
- `body`: `Block`

**Returns:** `FunctionExpression`
sourceraw docstring

update-function-type-nodecljs

(update-function-type-node node-factory node)
(update-function-type-node node-factory node type-parameters)
(update-function-type-node node-factory node type-parameters parameters)
(update-function-type-node node-factory node type-parameters parameters type)

Parameters:

  • node: FunctionTypeNode
  • type-parameters: NodeArray<TypeParameterDeclaration> | undefined
  • parameters: NodeArray<ParameterDeclaration>
  • type: TypeNode

Returns: FunctionTypeNode

**Parameters:**
- `node`: `FunctionTypeNode`
- `type-parameters`: `NodeArray<TypeParameterDeclaration> | undefined`
- `parameters`: `NodeArray<ParameterDeclaration>`
- `type`: `TypeNode`

**Returns:** `FunctionTypeNode`
sourceraw docstring

update-get-accessor-declarationcljs

(update-get-accessor-declaration node-factory node)
(update-get-accessor-declaration node-factory node modifiers)
(update-get-accessor-declaration node-factory node modifiers name)
(update-get-accessor-declaration node-factory node modifiers name parameters)
(update-get-accessor-declaration node-factory
                                 node
                                 modifiers
                                 name
                                 parameters
                                 type)
(update-get-accessor-declaration node-factory
                                 node
                                 modifiers
                                 name
                                 parameters
                                 type
                                 body)

Parameters:

  • node: GetAccessorDeclaration
  • modifiers: readonly ModifierLike[] | undefined
  • name: PropertyName
  • parameters: readonly ParameterDeclaration[]
  • type: TypeNode | undefined
  • body: Block | undefined

Returns: GetAccessorDeclaration

**Parameters:**
- `node`: `GetAccessorDeclaration`
- `modifiers`: `readonly ModifierLike[] | undefined`
- `name`: `PropertyName`
- `parameters`: `readonly ParameterDeclaration[]`
- `type`: `TypeNode | undefined`
- `body`: `Block | undefined`

**Returns:** `GetAccessorDeclaration`
sourceraw docstring

update-heritage-clausecljs

(update-heritage-clause node-factory node types)

Parameters:

  • node: HeritageClause
  • types: readonly ExpressionWithTypeArguments[]

Returns: HeritageClause

**Parameters:**
- `node`: `HeritageClause`
- `types`: `readonly ExpressionWithTypeArguments[]`

**Returns:** `HeritageClause`
sourceraw docstring

update-if-statementcljs

(update-if-statement node-factory node expression then-statement)
(update-if-statement node-factory node expression then-statement else-statement)

Parameters:

  • node: IfStatement
  • expression: Expression
  • then-statement: Statement
  • else-statement: Statement | undefined

Returns: IfStatement

**Parameters:**
- `node`: `IfStatement`
- `expression`: `Expression`
- `then-statement`: `Statement`
- `else-statement`: `Statement | undefined`

**Returns:** `IfStatement`
sourceraw docstring

update-import-attributecljs

(update-import-attribute node-factory node name value)

Parameters:

  • node: ImportAttribute
  • name: ImportAttributeName
  • value: Expression

Returns: ImportAttribute

**Parameters:**
- `node`: `ImportAttribute`
- `name`: `ImportAttributeName`
- `value`: `Expression`

**Returns:** `ImportAttribute`
sourceraw docstring

update-import-attributescljs

(update-import-attributes node-factory node elements)
(update-import-attributes node-factory node elements multi-line?)

Parameters:

  • node: ImportAttributes
  • elements: NodeArray<ImportAttribute>
  • multi-line?: boolean | undefined

Returns: ImportAttributes

**Parameters:**
- `node`: `ImportAttributes`
- `elements`: `NodeArray<ImportAttribute>`
- `multi-line?`: `boolean | undefined`

**Returns:** `ImportAttributes`
sourceraw docstring

update-import-clausecljs

(update-import-clause node-factory node type-only?)
(update-import-clause node-factory node type-only? name)
(update-import-clause node-factory node type-only? name named-bindings)

Parameters:

  • node: ImportClause
  • type-only?: boolean
  • name: Identifier | undefined
  • named-bindings: NamedImportBindings | undefined

Returns: ImportClause

**Parameters:**
- `node`: `ImportClause`
- `type-only?`: `boolean`
- `name`: `Identifier | undefined`
- `named-bindings`: `NamedImportBindings | undefined`

**Returns:** `ImportClause`
sourceraw docstring

update-import-declarationcljs

(update-import-declaration node-factory node)
(update-import-declaration node-factory node modifiers)
(update-import-declaration node-factory node modifiers import-clause)
(update-import-declaration node-factory
                           node
                           modifiers
                           import-clause
                           module-specifier)
(update-import-declaration node-factory
                           node
                           modifiers
                           import-clause
                           module-specifier
                           attributes)

Parameters:

  • node: ImportDeclaration
  • modifiers: readonly ModifierLike[] | undefined
  • import-clause: ImportClause | undefined
  • module-specifier: Expression
  • attributes: ImportAttributes | undefined

Returns: ImportDeclaration

**Parameters:**
- `node`: `ImportDeclaration`
- `modifiers`: `readonly ModifierLike[] | undefined`
- `import-clause`: `ImportClause | undefined`
- `module-specifier`: `Expression`
- `attributes`: `ImportAttributes | undefined`

**Returns:** `ImportDeclaration`
sourceraw docstring

update-import-equals-declarationcljs

(update-import-equals-declaration node-factory node)
(update-import-equals-declaration node-factory node modifiers)
(update-import-equals-declaration node-factory node modifiers type-only?)
(update-import-equals-declaration node-factory node modifiers type-only? name)
(update-import-equals-declaration node-factory
                                  node
                                  modifiers
                                  type-only?
                                  name
                                  module-reference)

Parameters:

  • node: ImportEqualsDeclaration
  • modifiers: readonly ModifierLike[] | undefined
  • type-only?: boolean
  • name: Identifier
  • module-reference: ModuleReference

Returns: ImportEqualsDeclaration

**Parameters:**
- `node`: `ImportEqualsDeclaration`
- `modifiers`: `readonly ModifierLike[] | undefined`
- `type-only?`: `boolean`
- `name`: `Identifier`
- `module-reference`: `ModuleReference`

**Returns:** `ImportEqualsDeclaration`
sourceraw docstring

update-import-specifiercljs

(update-import-specifier node-factory node type-only?)
(update-import-specifier node-factory node type-only? property-name)
(update-import-specifier node-factory node type-only? property-name name)

Parameters:

  • node: ImportSpecifier
  • type-only?: boolean
  • property-name: Identifier | undefined
  • name: Identifier

Returns: ImportSpecifier

**Parameters:**
- `node`: `ImportSpecifier`
- `type-only?`: `boolean`
- `property-name`: `Identifier | undefined`
- `name`: `Identifier`

**Returns:** `ImportSpecifier`
sourceraw docstring

update-import-type-assertion-containercljs

(update-import-type-assertion-container node-factory node clause)
(update-import-type-assertion-container node-factory node clause multi-line?)

Parameters:

  • node: ImportTypeAssertionContainer
  • clause: AssertClause
  • multi-line?: boolean | undefined

Returns: ImportTypeAssertionContainer

**Parameters:**
- `node`: `ImportTypeAssertionContainer`
- `clause`: `AssertClause`
- `multi-line?`: `boolean | undefined`

**Returns:** `ImportTypeAssertionContainer`
sourceraw docstring

update-import-type-nodecljs

(update-import-type-node node-factory node argument)
(update-import-type-node node-factory node argument attributes)
(update-import-type-node node-factory node argument attributes qualifier)
(update-import-type-node node-factory
                         node
                         argument
                         attributes
                         qualifier
                         type-arguments)
(update-import-type-node node-factory
                         node
                         argument
                         attributes
                         qualifier
                         type-arguments
                         type-of?)

Parameters:

  • node: ImportTypeNode
  • argument: TypeNode
  • attributes: ImportAttributes | undefined
  • qualifier: EntityName | undefined
  • type-arguments: readonly TypeNode[] | undefined
  • type-of?: boolean | undefined

Returns: ImportTypeNode

**Parameters:**
- `node`: `ImportTypeNode`
- `argument`: `TypeNode`
- `attributes`: `ImportAttributes | undefined`
- `qualifier`: `EntityName | undefined`
- `type-arguments`: `readonly TypeNode[] | undefined`
- `type-of?`: `boolean | undefined`

**Returns:** `ImportTypeNode`
sourceraw docstring

update-index-signaturecljs

(update-index-signature node-factory node)
(update-index-signature node-factory node modifiers)
(update-index-signature node-factory node modifiers parameters)
(update-index-signature node-factory node modifiers parameters type)

Parameters:

  • node: IndexSignatureDeclaration
  • modifiers: readonly ModifierLike[] | undefined
  • parameters: readonly ParameterDeclaration[]
  • type: TypeNode

Returns: IndexSignatureDeclaration

**Parameters:**
- `node`: `IndexSignatureDeclaration`
- `modifiers`: `readonly ModifierLike[] | undefined`
- `parameters`: `readonly ParameterDeclaration[]`
- `type`: `TypeNode`

**Returns:** `IndexSignatureDeclaration`
sourceraw docstring

update-indexed-access-type-nodecljs

(update-indexed-access-type-node node-factory node object-type index-type)

Parameters:

  • node: IndexedAccessTypeNode
  • object-type: TypeNode
  • index-type: TypeNode

Returns: IndexedAccessTypeNode

**Parameters:**
- `node`: `IndexedAccessTypeNode`
- `object-type`: `TypeNode`
- `index-type`: `TypeNode`

**Returns:** `IndexedAccessTypeNode`
sourceraw docstring

update-infer-type-nodecljs

(update-infer-type-node node-factory node type-parameter)

Parameters:

  • node: InferTypeNode
  • type-parameter: TypeParameterDeclaration

Returns: InferTypeNode

**Parameters:**
- `node`: `InferTypeNode`
- `type-parameter`: `TypeParameterDeclaration`

**Returns:** `InferTypeNode`
sourceraw docstring

update-interface-declarationcljs

(update-interface-declaration node-factory node)
(update-interface-declaration node-factory node modifiers)
(update-interface-declaration node-factory node modifiers name)
(update-interface-declaration node-factory node modifiers name type-parameters)
(update-interface-declaration node-factory
                              node
                              modifiers
                              name
                              type-parameters
                              heritage-clauses)
(update-interface-declaration node-factory
                              node
                              modifiers
                              name
                              type-parameters
                              heritage-clauses
                              members)

Parameters:

  • node: InterfaceDeclaration
  • modifiers: readonly ModifierLike[] | undefined
  • name: Identifier
  • type-parameters: readonly TypeParameterDeclaration[] | undefined
  • heritage-clauses: readonly HeritageClause[] | undefined
  • members: readonly TypeElement[]

Returns: InterfaceDeclaration

**Parameters:**
- `node`: `InterfaceDeclaration`
- `modifiers`: `readonly ModifierLike[] | undefined`
- `name`: `Identifier`
- `type-parameters`: `readonly TypeParameterDeclaration[] | undefined`
- `heritage-clauses`: `readonly HeritageClause[] | undefined`
- `members`: `readonly TypeElement[]`

**Returns:** `InterfaceDeclaration`
sourceraw docstring

update-intersection-type-nodecljs

(update-intersection-type-node node-factory node types)

Parameters:

  • node: IntersectionTypeNode
  • types: NodeArray<TypeNode>

Returns: IntersectionTypeNode

**Parameters:**
- `node`: `IntersectionTypeNode`
- `types`: `NodeArray<TypeNode>`

**Returns:** `IntersectionTypeNode`
sourceraw docstring

update-js-doc-augments-tagcljs

(update-js-doc-augments-tag node-factory node)
(update-js-doc-augments-tag node-factory node tag-name)
(update-js-doc-augments-tag node-factory node tag-name class-name)
(update-js-doc-augments-tag node-factory node tag-name class-name comment)

Parameters:

  • node: JSDocAugmentsTag
  • tag-name: Identifier | undefined
  • class-name: ExpressionWithTypeArguments & { readonly expression: Identifier | PropertyAccessEntityNameExpression; }
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocAugmentsTag

**Parameters:**
- `node`: `JSDocAugmentsTag`
- `tag-name`: `Identifier | undefined`
- `class-name`: `ExpressionWithTypeArguments & { readonly expression: Identifier | PropertyAccessEntityNameExpression; }`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocAugmentsTag`
sourceraw docstring

update-js-doc-author-tagcljs

(update-js-doc-author-tag node-factory node)
(update-js-doc-author-tag node-factory node tag-name)
(update-js-doc-author-tag node-factory node tag-name comment)

Parameters:

  • node: JSDocAuthorTag
  • tag-name: Identifier | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocAuthorTag

**Parameters:**
- `node`: `JSDocAuthorTag`
- `tag-name`: `Identifier | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocAuthorTag`
sourceraw docstring

update-js-doc-callback-tagcljs

(update-js-doc-callback-tag node-factory node)
(update-js-doc-callback-tag node-factory node tag-name)
(update-js-doc-callback-tag node-factory node tag-name type-expression)
(update-js-doc-callback-tag node-factory
                            node
                            tag-name
                            type-expression
                            full-name)
(update-js-doc-callback-tag node-factory
                            node
                            tag-name
                            type-expression
                            full-name
                            comment)

Parameters:

  • node: JSDocCallbackTag
  • tag-name: Identifier | undefined
  • type-expression: JSDocSignature
  • full-name: Identifier | JSDocNamespaceDeclaration | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocCallbackTag

**Parameters:**
- `node`: `JSDocCallbackTag`
- `tag-name`: `Identifier | undefined`
- `type-expression`: `JSDocSignature`
- `full-name`: `Identifier | JSDocNamespaceDeclaration | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocCallbackTag`
sourceraw docstring

update-js-doc-class-tagcljs

(update-js-doc-class-tag node-factory node)
(update-js-doc-class-tag node-factory node tag-name)
(update-js-doc-class-tag node-factory node tag-name comment)

Parameters:

  • node: JSDocClassTag
  • tag-name: Identifier | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocClassTag

**Parameters:**
- `node`: `JSDocClassTag`
- `tag-name`: `Identifier | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocClassTag`
sourceraw docstring

update-js-doc-commentcljs

(update-js-doc-comment node-factory node)
(update-js-doc-comment node-factory node comment)
(update-js-doc-comment node-factory node comment tags)

Parameters:

  • node: JSDoc
  • comment: string | NodeArray<JSDocComment> | undefined
  • tags: readonly JSDocTag[] | undefined

Returns: JSDoc

**Parameters:**
- `node`: `JSDoc`
- `comment`: `string | NodeArray<JSDocComment> | undefined`
- `tags`: `readonly JSDocTag[] | undefined`

**Returns:** `JSDoc`
sourceraw docstring

update-js-doc-deprecated-tagcljs

(update-js-doc-deprecated-tag node-factory node)
(update-js-doc-deprecated-tag node-factory node tag-name)
(update-js-doc-deprecated-tag node-factory node tag-name comment)

Parameters:

  • node: JSDocDeprecatedTag
  • tag-name: Identifier | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocDeprecatedTag

**Parameters:**
- `node`: `JSDocDeprecatedTag`
- `tag-name`: `Identifier | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocDeprecatedTag`
sourceraw docstring

update-js-doc-enum-tagcljs

(update-js-doc-enum-tag node-factory node)
(update-js-doc-enum-tag node-factory node tag-name)
(update-js-doc-enum-tag node-factory node tag-name type-expression)
(update-js-doc-enum-tag node-factory node tag-name type-expression comment)

Parameters:

  • node: JSDocEnumTag
  • tag-name: Identifier | undefined
  • type-expression: JSDocTypeExpression
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocEnumTag

**Parameters:**
- `node`: `JSDocEnumTag`
- `tag-name`: `Identifier | undefined`
- `type-expression`: `JSDocTypeExpression`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocEnumTag`
sourceraw docstring

update-js-doc-function-typecljs

(update-js-doc-function-type node-factory node parameters)
(update-js-doc-function-type node-factory node parameters type)

Parameters:

  • node: JSDocFunctionType
  • parameters: readonly ParameterDeclaration[]
  • type: TypeNode | undefined

Returns: JSDocFunctionType

**Parameters:**
- `node`: `JSDocFunctionType`
- `parameters`: `readonly ParameterDeclaration[]`
- `type`: `TypeNode | undefined`

**Returns:** `JSDocFunctionType`
sourceraw docstring

update-js-doc-implements-tagcljs

(update-js-doc-implements-tag node-factory node)
(update-js-doc-implements-tag node-factory node tag-name)
(update-js-doc-implements-tag node-factory node tag-name class-name)
(update-js-doc-implements-tag node-factory node tag-name class-name comment)

Parameters:

  • node: JSDocImplementsTag
  • tag-name: Identifier | undefined
  • class-name: ExpressionWithTypeArguments & { readonly expression: Identifier | PropertyAccessEntityNameExpression; }
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocImplementsTag

**Parameters:**
- `node`: `JSDocImplementsTag`
- `tag-name`: `Identifier | undefined`
- `class-name`: `ExpressionWithTypeArguments & { readonly expression: Identifier | PropertyAccessEntityNameExpression; }`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocImplementsTag`
sourceraw docstring

(update-js-doc-link node-factory node)
(update-js-doc-link node-factory node name)
(update-js-doc-link node-factory node name text)

Parameters:

  • node: JSDocLink
  • name: EntityName | JSDocMemberName | undefined
  • text: string

Returns: JSDocLink

**Parameters:**
- `node`: `JSDocLink`
- `name`: `EntityName | JSDocMemberName | undefined`
- `text`: `string`

**Returns:** `JSDocLink`
sourceraw docstring

(update-js-doc-link-code node-factory node)
(update-js-doc-link-code node-factory node name)
(update-js-doc-link-code node-factory node name text)

Parameters:

  • node: JSDocLinkCode
  • name: EntityName | JSDocMemberName | undefined
  • text: string

Returns: JSDocLinkCode

**Parameters:**
- `node`: `JSDocLinkCode`
- `name`: `EntityName | JSDocMemberName | undefined`
- `text`: `string`

**Returns:** `JSDocLinkCode`
sourceraw docstring

(update-js-doc-link-plain node-factory node)
(update-js-doc-link-plain node-factory node name)
(update-js-doc-link-plain node-factory node name text)

Parameters:

  • node: JSDocLinkPlain
  • name: EntityName | JSDocMemberName | undefined
  • text: string

Returns: JSDocLinkPlain

**Parameters:**
- `node`: `JSDocLinkPlain`
- `name`: `EntityName | JSDocMemberName | undefined`
- `text`: `string`

**Returns:** `JSDocLinkPlain`
sourceraw docstring

update-js-doc-member-namecljs

(update-js-doc-member-name node-factory node left right)

Parameters:

  • node: JSDocMemberName
  • left: EntityName | JSDocMemberName
  • right: Identifier

Returns: JSDocMemberName

**Parameters:**
- `node`: `JSDocMemberName`
- `left`: `EntityName | JSDocMemberName`
- `right`: `Identifier`

**Returns:** `JSDocMemberName`
sourceraw docstring

update-js-doc-name-referencecljs

(update-js-doc-name-reference node-factory node name)

Parameters:

  • node: JSDocNameReference
  • name: EntityName | JSDocMemberName

Returns: JSDocNameReference

**Parameters:**
- `node`: `JSDocNameReference`
- `name`: `EntityName | JSDocMemberName`

**Returns:** `JSDocNameReference`
sourceraw docstring

update-js-doc-namepath-typecljs

(update-js-doc-namepath-type node-factory node type)

Parameters:

  • node: JSDocNamepathType
  • type: TypeNode

Returns: JSDocNamepathType

**Parameters:**
- `node`: `JSDocNamepathType`
- `type`: `TypeNode`

**Returns:** `JSDocNamepathType`
sourceraw docstring

update-js-doc-non-nullable-typecljs

(update-js-doc-non-nullable-type node-factory node type)

Parameters:

  • node: JSDocNonNullableType
  • type: TypeNode

Returns: JSDocNonNullableType

**Parameters:**
- `node`: `JSDocNonNullableType`
- `type`: `TypeNode`

**Returns:** `JSDocNonNullableType`
sourceraw docstring

update-js-doc-nullable-typecljs

(update-js-doc-nullable-type node-factory node type)

Parameters:

  • node: JSDocNullableType
  • type: TypeNode

Returns: JSDocNullableType

**Parameters:**
- `node`: `JSDocNullableType`
- `type`: `TypeNode`

**Returns:** `JSDocNullableType`
sourceraw docstring

update-js-doc-optional-typecljs

(update-js-doc-optional-type node-factory node type)

Parameters:

  • node: JSDocOptionalType
  • type: TypeNode

Returns: JSDocOptionalType

**Parameters:**
- `node`: `JSDocOptionalType`
- `type`: `TypeNode`

**Returns:** `JSDocOptionalType`
sourceraw docstring

update-js-doc-overload-tagcljs

(update-js-doc-overload-tag node-factory node)
(update-js-doc-overload-tag node-factory node tag-name)
(update-js-doc-overload-tag node-factory node tag-name type-expression)
(update-js-doc-overload-tag node-factory node tag-name type-expression comment)

Parameters:

  • node: JSDocOverloadTag
  • tag-name: Identifier | undefined
  • type-expression: JSDocSignature
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocOverloadTag

**Parameters:**
- `node`: `JSDocOverloadTag`
- `tag-name`: `Identifier | undefined`
- `type-expression`: `JSDocSignature`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocOverloadTag`
sourceraw docstring

update-js-doc-override-tagcljs

(update-js-doc-override-tag node-factory node)
(update-js-doc-override-tag node-factory node tag-name)
(update-js-doc-override-tag node-factory node tag-name comment)

Parameters:

  • node: JSDocOverrideTag
  • tag-name: Identifier | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocOverrideTag

**Parameters:**
- `node`: `JSDocOverrideTag`
- `tag-name`: `Identifier | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocOverrideTag`
sourceraw docstring

update-js-doc-parameter-tagcljs

(update-js-doc-parameter-tag node-factory node)
(update-js-doc-parameter-tag node-factory node tag-name)
(update-js-doc-parameter-tag node-factory node tag-name name)
(update-js-doc-parameter-tag node-factory node tag-name name bracketed?)
(update-js-doc-parameter-tag node-factory
                             node
                             tag-name
                             name
                             bracketed?
                             type-expression)
(update-js-doc-parameter-tag node-factory
                             node
                             tag-name
                             name
                             bracketed?
                             type-expression
                             name-first?)
(update-js-doc-parameter-tag node-factory
                             node
                             tag-name
                             name
                             bracketed?
                             type-expression
                             name-first?
                             comment)

Parameters:

  • node: JSDocParameterTag
  • tag-name: Identifier | undefined
  • name: EntityName
  • bracketed?: boolean
  • type-expression: JSDocTypeExpression | undefined
  • name-first?: boolean
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocParameterTag

**Parameters:**
- `node`: `JSDocParameterTag`
- `tag-name`: `Identifier | undefined`
- `name`: `EntityName`
- `bracketed?`: `boolean`
- `type-expression`: `JSDocTypeExpression | undefined`
- `name-first?`: `boolean`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocParameterTag`
sourceraw docstring

update-js-doc-private-tagcljs

(update-js-doc-private-tag node-factory node)
(update-js-doc-private-tag node-factory node tag-name)
(update-js-doc-private-tag node-factory node tag-name comment)

Parameters:

  • node: JSDocPrivateTag
  • tag-name: Identifier | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocPrivateTag

**Parameters:**
- `node`: `JSDocPrivateTag`
- `tag-name`: `Identifier | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocPrivateTag`
sourceraw docstring

update-js-doc-property-tagcljs

(update-js-doc-property-tag node-factory node)
(update-js-doc-property-tag node-factory node tag-name)
(update-js-doc-property-tag node-factory node tag-name name)
(update-js-doc-property-tag node-factory node tag-name name bracketed?)
(update-js-doc-property-tag node-factory
                            node
                            tag-name
                            name
                            bracketed?
                            type-expression)
(update-js-doc-property-tag node-factory
                            node
                            tag-name
                            name
                            bracketed?
                            type-expression
                            name-first?)
(update-js-doc-property-tag node-factory
                            node
                            tag-name
                            name
                            bracketed?
                            type-expression
                            name-first?
                            comment)

Parameters:

  • node: JSDocPropertyTag
  • tag-name: Identifier | undefined
  • name: EntityName
  • bracketed?: boolean
  • type-expression: JSDocTypeExpression | undefined
  • name-first?: boolean
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocPropertyTag

**Parameters:**
- `node`: `JSDocPropertyTag`
- `tag-name`: `Identifier | undefined`
- `name`: `EntityName`
- `bracketed?`: `boolean`
- `type-expression`: `JSDocTypeExpression | undefined`
- `name-first?`: `boolean`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocPropertyTag`
sourceraw docstring

update-js-doc-protected-tagcljs

(update-js-doc-protected-tag node-factory node)
(update-js-doc-protected-tag node-factory node tag-name)
(update-js-doc-protected-tag node-factory node tag-name comment)

Parameters:

  • node: JSDocProtectedTag
  • tag-name: Identifier | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocProtectedTag

**Parameters:**
- `node`: `JSDocProtectedTag`
- `tag-name`: `Identifier | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocProtectedTag`
sourceraw docstring

update-js-doc-public-tagcljs

(update-js-doc-public-tag node-factory node)
(update-js-doc-public-tag node-factory node tag-name)
(update-js-doc-public-tag node-factory node tag-name comment)

Parameters:

  • node: JSDocPublicTag
  • tag-name: Identifier | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocPublicTag

**Parameters:**
- `node`: `JSDocPublicTag`
- `tag-name`: `Identifier | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocPublicTag`
sourceraw docstring

update-js-doc-readonly-tagcljs

(update-js-doc-readonly-tag node-factory node)
(update-js-doc-readonly-tag node-factory node tag-name)
(update-js-doc-readonly-tag node-factory node tag-name comment)

Parameters:

  • node: JSDocReadonlyTag
  • tag-name: Identifier | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocReadonlyTag

**Parameters:**
- `node`: `JSDocReadonlyTag`
- `tag-name`: `Identifier | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocReadonlyTag`
sourceraw docstring

update-js-doc-return-tagcljs

(update-js-doc-return-tag node-factory node)
(update-js-doc-return-tag node-factory node tag-name)
(update-js-doc-return-tag node-factory node tag-name type-expression)
(update-js-doc-return-tag node-factory node tag-name type-expression comment)

Parameters:

  • node: JSDocReturnTag
  • tag-name: Identifier | undefined
  • type-expression: JSDocTypeExpression | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocReturnTag

**Parameters:**
- `node`: `JSDocReturnTag`
- `tag-name`: `Identifier | undefined`
- `type-expression`: `JSDocTypeExpression | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocReturnTag`
sourceraw docstring

update-js-doc-satisfies-tagcljs

(update-js-doc-satisfies-tag node-factory node)
(update-js-doc-satisfies-tag node-factory node tag-name)
(update-js-doc-satisfies-tag node-factory node tag-name type-expression)
(update-js-doc-satisfies-tag node-factory node tag-name type-expression comment)

Parameters:

  • node: JSDocSatisfiesTag
  • tag-name: Identifier | undefined
  • type-expression: JSDocTypeExpression
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocSatisfiesTag

**Parameters:**
- `node`: `JSDocSatisfiesTag`
- `tag-name`: `Identifier | undefined`
- `type-expression`: `JSDocTypeExpression`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocSatisfiesTag`
sourceraw docstring

update-js-doc-see-tagcljs

(update-js-doc-see-tag node-factory node)
(update-js-doc-see-tag node-factory node tag-name)
(update-js-doc-see-tag node-factory node tag-name name-expression)
(update-js-doc-see-tag node-factory node tag-name name-expression comment)

Parameters:

  • node: JSDocSeeTag
  • tag-name: Identifier | undefined
  • name-expression: JSDocNameReference | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocSeeTag

**Parameters:**
- `node`: `JSDocSeeTag`
- `tag-name`: `Identifier | undefined`
- `name-expression`: `JSDocNameReference | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocSeeTag`
sourceraw docstring

update-js-doc-signaturecljs

(update-js-doc-signature node-factory node)
(update-js-doc-signature node-factory node type-parameters)
(update-js-doc-signature node-factory node type-parameters parameters)
(update-js-doc-signature node-factory node type-parameters parameters type)

Parameters:

  • node: JSDocSignature
  • type-parameters: readonly JSDocTemplateTag[] | undefined
  • parameters: readonly JSDocParameterTag[]
  • type: JSDocReturnTag | undefined

Returns: JSDocSignature

**Parameters:**
- `node`: `JSDocSignature`
- `type-parameters`: `readonly JSDocTemplateTag[] | undefined`
- `parameters`: `readonly JSDocParameterTag[]`
- `type`: `JSDocReturnTag | undefined`

**Returns:** `JSDocSignature`
sourceraw docstring

update-js-doc-template-tagcljs

(update-js-doc-template-tag node-factory node)
(update-js-doc-template-tag node-factory node tag-name)
(update-js-doc-template-tag node-factory node tag-name constraint)
(update-js-doc-template-tag node-factory
                            node
                            tag-name
                            constraint
                            type-parameters)
(update-js-doc-template-tag node-factory
                            node
                            tag-name
                            constraint
                            type-parameters
                            comment)

Parameters:

  • node: JSDocTemplateTag
  • tag-name: Identifier | undefined
  • constraint: JSDocTypeExpression | undefined
  • type-parameters: readonly TypeParameterDeclaration[]
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocTemplateTag

**Parameters:**
- `node`: `JSDocTemplateTag`
- `tag-name`: `Identifier | undefined`
- `constraint`: `JSDocTypeExpression | undefined`
- `type-parameters`: `readonly TypeParameterDeclaration[]`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocTemplateTag`
sourceraw docstring

update-js-doc-textcljs

(update-js-doc-text node-factory node text)

Parameters:

  • node: JSDocText
  • text: string

Returns: JSDocText

**Parameters:**
- `node`: `JSDocText`
- `text`: `string`

**Returns:** `JSDocText`
sourceraw docstring

update-js-doc-this-tagcljs

(update-js-doc-this-tag node-factory node)
(update-js-doc-this-tag node-factory node tag-name)
(update-js-doc-this-tag node-factory node tag-name type-expression)
(update-js-doc-this-tag node-factory node tag-name type-expression comment)

Parameters:

  • node: JSDocThisTag
  • tag-name: Identifier | undefined
  • type-expression: JSDocTypeExpression | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocThisTag

**Parameters:**
- `node`: `JSDocThisTag`
- `tag-name`: `Identifier | undefined`
- `type-expression`: `JSDocTypeExpression | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocThisTag`
sourceraw docstring

update-js-doc-throws-tagcljs

(update-js-doc-throws-tag node-factory node)
(update-js-doc-throws-tag node-factory node tag-name)
(update-js-doc-throws-tag node-factory node tag-name type-expression)
(update-js-doc-throws-tag node-factory node tag-name type-expression comment)

Parameters:

  • node: JSDocThrowsTag
  • tag-name: Identifier | undefined
  • type-expression: JSDocTypeExpression | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocThrowsTag

**Parameters:**
- `node`: `JSDocThrowsTag`
- `tag-name`: `Identifier | undefined`
- `type-expression`: `JSDocTypeExpression | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocThrowsTag`
sourceraw docstring

update-js-doc-type-expressioncljs

(update-js-doc-type-expression node-factory node type)

Parameters:

  • node: JSDocTypeExpression
  • type: TypeNode

Returns: JSDocTypeExpression

**Parameters:**
- `node`: `JSDocTypeExpression`
- `type`: `TypeNode`

**Returns:** `JSDocTypeExpression`
sourceraw docstring

update-js-doc-type-literalcljs

(update-js-doc-type-literal node-factory node)
(update-js-doc-type-literal node-factory node js-doc-property-tags)
(update-js-doc-type-literal node-factory node js-doc-property-tags array-type?)

Parameters:

  • node: JSDocTypeLiteral
  • js-doc-property-tags: readonly JSDocPropertyLikeTag[] | undefined
  • array-type?: boolean | undefined

Returns: JSDocTypeLiteral

**Parameters:**
- `node`: `JSDocTypeLiteral`
- `js-doc-property-tags`: `readonly JSDocPropertyLikeTag[] | undefined`
- `array-type?`: `boolean | undefined`

**Returns:** `JSDocTypeLiteral`
sourceraw docstring

update-js-doc-type-tagcljs

(update-js-doc-type-tag node-factory node)
(update-js-doc-type-tag node-factory node tag-name)
(update-js-doc-type-tag node-factory node tag-name type-expression)
(update-js-doc-type-tag node-factory node tag-name type-expression comment)

Parameters:

  • node: JSDocTypeTag
  • tag-name: Identifier | undefined
  • type-expression: JSDocTypeExpression
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocTypeTag

**Parameters:**
- `node`: `JSDocTypeTag`
- `tag-name`: `Identifier | undefined`
- `type-expression`: `JSDocTypeExpression`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocTypeTag`
sourceraw docstring

update-js-doc-typedef-tagcljs

(update-js-doc-typedef-tag node-factory node)
(update-js-doc-typedef-tag node-factory node tag-name)
(update-js-doc-typedef-tag node-factory node tag-name type-expression)
(update-js-doc-typedef-tag node-factory node tag-name type-expression full-name)
(update-js-doc-typedef-tag node-factory
                           node
                           tag-name
                           type-expression
                           full-name
                           comment)

Parameters:

  • node: JSDocTypedefTag
  • tag-name: Identifier | undefined
  • type-expression: JSDocTypeExpression | JSDocTypeLiteral | undefined
  • full-name: Identifier | JSDocNamespaceDeclaration | undefined
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocTypedefTag

**Parameters:**
- `node`: `JSDocTypedefTag`
- `tag-name`: `Identifier | undefined`
- `type-expression`: `JSDocTypeExpression | JSDocTypeLiteral | undefined`
- `full-name`: `Identifier | JSDocNamespaceDeclaration | undefined`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocTypedefTag`
sourceraw docstring

update-js-doc-unknown-tagcljs

(update-js-doc-unknown-tag node-factory node tag-name)
(update-js-doc-unknown-tag node-factory node tag-name comment)

Parameters:

  • node: JSDocUnknownTag
  • tag-name: Identifier
  • comment: string | NodeArray<JSDocComment> | undefined

Returns: JSDocUnknownTag

**Parameters:**
- `node`: `JSDocUnknownTag`
- `tag-name`: `Identifier`
- `comment`: `string | NodeArray<JSDocComment> | undefined`

**Returns:** `JSDocUnknownTag`
sourceraw docstring

update-js-doc-variadic-typecljs

(update-js-doc-variadic-type node-factory node type)

Parameters:

  • node: JSDocVariadicType
  • type: TypeNode

Returns: JSDocVariadicType

**Parameters:**
- `node`: `JSDocVariadicType`
- `type`: `TypeNode`

**Returns:** `JSDocVariadicType`
sourceraw docstring

update-jsx-attributecljs

(update-jsx-attribute node-factory node name)
(update-jsx-attribute node-factory node name initializer)

Parameters:

  • node: JsxAttribute
  • name: JsxAttributeName
  • initializer: JsxAttributeValue | undefined

Returns: JsxAttribute

**Parameters:**
- `node`: `JsxAttribute`
- `name`: `JsxAttributeName`
- `initializer`: `JsxAttributeValue | undefined`

**Returns:** `JsxAttribute`
sourceraw docstring

update-jsx-attributescljs

(update-jsx-attributes node-factory node properties)

Parameters:

  • node: JsxAttributes
  • properties: readonly JsxAttributeLike[]

Returns: JsxAttributes

**Parameters:**
- `node`: `JsxAttributes`
- `properties`: `readonly JsxAttributeLike[]`

**Returns:** `JsxAttributes`
sourceraw docstring

update-jsx-closing-elementcljs

(update-jsx-closing-element node-factory node tag-name)

Parameters:

  • node: JsxClosingElement
  • tag-name: JsxTagNameExpression

Returns: JsxClosingElement

**Parameters:**
- `node`: `JsxClosingElement`
- `tag-name`: `JsxTagNameExpression`

**Returns:** `JsxClosingElement`
sourceraw docstring

update-jsx-elementcljs

(update-jsx-element node-factory node opening-element children closing-element)

Parameters:

  • node: JsxElement
  • opening-element: JsxOpeningElement
  • children: readonly JsxChild[]
  • closing-element: JsxClosingElement

Returns: JsxElement

**Parameters:**
- `node`: `JsxElement`
- `opening-element`: `JsxOpeningElement`
- `children`: `readonly JsxChild[]`
- `closing-element`: `JsxClosingElement`

**Returns:** `JsxElement`
sourceraw docstring

update-jsx-expressioncljs

(update-jsx-expression node-factory node)
(update-jsx-expression node-factory node expression)

Parameters:

  • node: JsxExpression
  • expression: Expression | undefined

Returns: JsxExpression

**Parameters:**
- `node`: `JsxExpression`
- `expression`: `Expression | undefined`

**Returns:** `JsxExpression`
sourceraw docstring

update-jsx-fragmentcljs

(update-jsx-fragment node-factory
                     node
                     opening-fragment
                     children
                     closing-fragment)

Parameters:

  • node: JsxFragment
  • opening-fragment: JsxOpeningFragment
  • children: readonly JsxChild[]
  • closing-fragment: JsxClosingFragment

Returns: JsxFragment

**Parameters:**
- `node`: `JsxFragment`
- `opening-fragment`: `JsxOpeningFragment`
- `children`: `readonly JsxChild[]`
- `closing-fragment`: `JsxClosingFragment`

**Returns:** `JsxFragment`
sourceraw docstring

update-jsx-namespaced-namecljs

(update-jsx-namespaced-name node-factory node namespace name)

Parameters:

  • node: JsxNamespacedName
  • namespace: Identifier
  • name: Identifier

Returns: JsxNamespacedName

**Parameters:**
- `node`: `JsxNamespacedName`
- `namespace`: `Identifier`
- `name`: `Identifier`

**Returns:** `JsxNamespacedName`
sourceraw docstring

update-jsx-opening-elementcljs

(update-jsx-opening-element node-factory node tag-name)
(update-jsx-opening-element node-factory node tag-name type-arguments)
(update-jsx-opening-element node-factory
                            node
                            tag-name
                            type-arguments
                            attributes)

Parameters:

  • node: JsxOpeningElement
  • tag-name: JsxTagNameExpression
  • type-arguments: readonly TypeNode[] | undefined
  • attributes: JsxAttributes

Returns: JsxOpeningElement

**Parameters:**
- `node`: `JsxOpeningElement`
- `tag-name`: `JsxTagNameExpression`
- `type-arguments`: `readonly TypeNode[] | undefined`
- `attributes`: `JsxAttributes`

**Returns:** `JsxOpeningElement`
sourceraw docstring

update-jsx-self-closing-elementcljs

(update-jsx-self-closing-element node-factory node tag-name)
(update-jsx-self-closing-element node-factory node tag-name type-arguments)
(update-jsx-self-closing-element node-factory
                                 node
                                 tag-name
                                 type-arguments
                                 attributes)

Parameters:

  • node: JsxSelfClosingElement
  • tag-name: JsxTagNameExpression
  • type-arguments: readonly TypeNode[] | undefined
  • attributes: JsxAttributes

Returns: JsxSelfClosingElement

**Parameters:**
- `node`: `JsxSelfClosingElement`
- `tag-name`: `JsxTagNameExpression`
- `type-arguments`: `readonly TypeNode[] | undefined`
- `attributes`: `JsxAttributes`

**Returns:** `JsxSelfClosingElement`
sourceraw docstring

update-jsx-spread-attributecljs

(update-jsx-spread-attribute node-factory node expression)

Parameters:

  • node: JsxSpreadAttribute
  • expression: Expression

Returns: JsxSpreadAttribute

**Parameters:**
- `node`: `JsxSpreadAttribute`
- `expression`: `Expression`

**Returns:** `JsxSpreadAttribute`
sourceraw docstring

update-jsx-textcljs

(update-jsx-text node-factory node text)
(update-jsx-text node-factory node text contains-only-trivia-white-spaces?)

Parameters:

  • node: JsxText
  • text: string
  • contains-only-trivia-white-spaces?: boolean | undefined

Returns: JsxText

**Parameters:**
- `node`: `JsxText`
- `text`: `string`
- `contains-only-trivia-white-spaces?`: `boolean | undefined`

**Returns:** `JsxText`
sourceraw docstring

update-labeled-statementcljs

(update-labeled-statement node-factory node label statement)

Parameters:

  • node: LabeledStatement
  • label: Identifier
  • statement: Statement

Returns: LabeledStatement

**Parameters:**
- `node`: `LabeledStatement`
- `label`: `Identifier`
- `statement`: `Statement`

**Returns:** `LabeledStatement`
sourceraw docstring

update-literal-type-nodecljs

(update-literal-type-node node-factory node literal)

Parameters:

  • node: LiteralTypeNode
  • literal: LiteralExpression | NullLiteral | BooleanLiteral | PrefixUnaryExpression

Returns: LiteralTypeNode

**Parameters:**
- `node`: `LiteralTypeNode`
- `literal`: `LiteralExpression | NullLiteral | BooleanLiteral | PrefixUnaryExpression`

**Returns:** `LiteralTypeNode`
sourceraw docstring

update-mapped-type-nodecljs

(update-mapped-type-node node-factory node)
(update-mapped-type-node node-factory node readonly-token)
(update-mapped-type-node node-factory node readonly-token type-parameter)
(update-mapped-type-node node-factory
                         node
                         readonly-token
                         type-parameter
                         name-type)
(update-mapped-type-node node-factory
                         node
                         readonly-token
                         type-parameter
                         name-type
                         question-token)
(update-mapped-type-node node-factory
                         node
                         readonly-token
                         type-parameter
                         name-type
                         question-token
                         type)
(update-mapped-type-node node-factory
                         node
                         readonly-token
                         type-parameter
                         name-type
                         question-token
                         type
                         members)

Parameters:

  • node: MappedTypeNode
  • readonly-token: ReadonlyKeyword | PlusToken | MinusToken | undefined
  • type-parameter: TypeParameterDeclaration
  • name-type: TypeNode | undefined
  • question-token: QuestionToken | PlusToken | MinusToken | undefined
  • type: TypeNode | undefined
  • members: NodeArray<TypeElement> | undefined

Returns: MappedTypeNode

**Parameters:**
- `node`: `MappedTypeNode`
- `readonly-token`: `ReadonlyKeyword | PlusToken | MinusToken | undefined`
- `type-parameter`: `TypeParameterDeclaration`
- `name-type`: `TypeNode | undefined`
- `question-token`: `QuestionToken | PlusToken | MinusToken | undefined`
- `type`: `TypeNode | undefined`
- `members`: `NodeArray<TypeElement> | undefined`

**Returns:** `MappedTypeNode`
sourceraw docstring

update-meta-propertycljs

(update-meta-property node-factory node name)

Parameters:

  • node: MetaProperty
  • name: Identifier

Returns: MetaProperty

**Parameters:**
- `node`: `MetaProperty`
- `name`: `Identifier`

**Returns:** `MetaProperty`
sourceraw docstring

update-method-declarationcljs

(update-method-declaration node-factory node)
(update-method-declaration node-factory node modifiers)
(update-method-declaration node-factory node modifiers asterisk-token)
(update-method-declaration node-factory node modifiers asterisk-token name)
(update-method-declaration node-factory
                           node
                           modifiers
                           asterisk-token
                           name
                           question-token)
(update-method-declaration node-factory
                           node
                           modifiers
                           asterisk-token
                           name
                           question-token
                           type-parameters)
(update-method-declaration node-factory
                           node
                           modifiers
                           asterisk-token
                           name
                           question-token
                           type-parameters
                           parameters)
(update-method-declaration node-factory
                           node
                           modifiers
                           asterisk-token
                           name
                           question-token
                           type-parameters
                           parameters
                           type)
(update-method-declaration node-factory
                           node
                           modifiers
                           asterisk-token
                           name
                           question-token
                           type-parameters
                           parameters
                           type
                           body)

Parameters:

  • node: MethodDeclaration
  • modifiers: readonly ModifierLike[] | undefined
  • asterisk-token: AsteriskToken | undefined
  • name: PropertyName
  • question-token: QuestionToken | undefined
  • type-parameters: readonly TypeParameterDeclaration[] | undefined
  • parameters: readonly ParameterDeclaration[]
  • type: TypeNode | undefined
  • body: Block | undefined

Returns: MethodDeclaration

**Parameters:**
- `node`: `MethodDeclaration`
- `modifiers`: `readonly ModifierLike[] | undefined`
- `asterisk-token`: `AsteriskToken | undefined`
- `name`: `PropertyName`
- `question-token`: `QuestionToken | undefined`
- `type-parameters`: `readonly TypeParameterDeclaration[] | undefined`
- `parameters`: `readonly ParameterDeclaration[]`
- `type`: `TypeNode | undefined`
- `body`: `Block | undefined`

**Returns:** `MethodDeclaration`
sourceraw docstring

update-method-signaturecljs

(update-method-signature node-factory node)
(update-method-signature node-factory node modifiers)
(update-method-signature node-factory node modifiers name)
(update-method-signature node-factory node modifiers name question-token)
(update-method-signature node-factory
                         node
                         modifiers
                         name
                         question-token
                         type-parameters)
(update-method-signature node-factory
                         node
                         modifiers
                         name
                         question-token
                         type-parameters
                         parameters)
(update-method-signature node-factory
                         node
                         modifiers
                         name
                         question-token
                         type-parameters
                         parameters
                         type)

Parameters:

  • node: MethodSignature
  • modifiers: readonly Modifier[] | undefined
  • name: PropertyName
  • question-token: QuestionToken | undefined
  • type-parameters: NodeArray<TypeParameterDeclaration> | undefined
  • parameters: NodeArray<ParameterDeclaration>
  • type: TypeNode | undefined

Returns: MethodSignature

**Parameters:**
- `node`: `MethodSignature`
- `modifiers`: `readonly Modifier[] | undefined`
- `name`: `PropertyName`
- `question-token`: `QuestionToken | undefined`
- `type-parameters`: `NodeArray<TypeParameterDeclaration> | undefined`
- `parameters`: `NodeArray<ParameterDeclaration>`
- `type`: `TypeNode | undefined`

**Returns:** `MethodSignature`
sourceraw docstring

update-module-blockcljs

(update-module-block node-factory node statements)

Parameters:

  • node: ModuleBlock
  • statements: readonly Statement[]

Returns: ModuleBlock

**Parameters:**
- `node`: `ModuleBlock`
- `statements`: `readonly Statement[]`

**Returns:** `ModuleBlock`
sourceraw docstring

update-module-declarationcljs

(update-module-declaration node-factory node)
(update-module-declaration node-factory node modifiers)
(update-module-declaration node-factory node modifiers name)
(update-module-declaration node-factory node modifiers name body)

Parameters:

  • node: ModuleDeclaration
  • modifiers: readonly ModifierLike[] | undefined
  • name: ModuleName
  • body: ModuleBody | undefined

Returns: ModuleDeclaration

**Parameters:**
- `node`: `ModuleDeclaration`
- `modifiers`: `readonly ModifierLike[] | undefined`
- `name`: `ModuleName`
- `body`: `ModuleBody | undefined`

**Returns:** `ModuleDeclaration`
sourceraw docstring

update-named-exportscljs

(update-named-exports node-factory node elements)

Parameters:

  • node: NamedExports
  • elements: readonly ExportSpecifier[]

Returns: NamedExports

**Parameters:**
- `node`: `NamedExports`
- `elements`: `readonly ExportSpecifier[]`

**Returns:** `NamedExports`
sourceraw docstring

update-named-importscljs

(update-named-imports node-factory node elements)

Parameters:

  • node: NamedImports
  • elements: readonly ImportSpecifier[]

Returns: NamedImports

**Parameters:**
- `node`: `NamedImports`
- `elements`: `readonly ImportSpecifier[]`

**Returns:** `NamedImports`
sourceraw docstring

update-named-tuple-membercljs

(update-named-tuple-member node-factory node)
(update-named-tuple-member node-factory node dot-dot-dot-token)
(update-named-tuple-member node-factory node dot-dot-dot-token name)
(update-named-tuple-member node-factory
                           node
                           dot-dot-dot-token
                           name
                           question-token)
(update-named-tuple-member node-factory
                           node
                           dot-dot-dot-token
                           name
                           question-token
                           type)

Parameters:

  • node: NamedTupleMember
  • dot-dot-dot-token: DotDotDotToken | undefined
  • name: Identifier
  • question-token: QuestionToken | undefined
  • type: TypeNode

Returns: NamedTupleMember

**Parameters:**
- `node`: `NamedTupleMember`
- `dot-dot-dot-token`: `DotDotDotToken | undefined`
- `name`: `Identifier`
- `question-token`: `QuestionToken | undefined`
- `type`: `TypeNode`

**Returns:** `NamedTupleMember`
sourceraw docstring

update-namespace-exportcljs

(update-namespace-export node-factory node name)

Parameters:

  • node: NamespaceExport
  • name: Identifier

Returns: NamespaceExport

**Parameters:**
- `node`: `NamespaceExport`
- `name`: `Identifier`

**Returns:** `NamespaceExport`
sourceraw docstring

update-namespace-export-declarationcljs

(update-namespace-export-declaration node-factory node name)

Parameters:

  • node: NamespaceExportDeclaration
  • name: Identifier

Returns: NamespaceExportDeclaration

**Parameters:**
- `node`: `NamespaceExportDeclaration`
- `name`: `Identifier`

**Returns:** `NamespaceExportDeclaration`
sourceraw docstring

update-namespace-importcljs

(update-namespace-import node-factory node name)

Parameters:

  • node: NamespaceImport
  • name: Identifier

Returns: NamespaceImport

**Parameters:**
- `node`: `NamespaceImport`
- `name`: `Identifier`

**Returns:** `NamespaceImport`
sourceraw docstring

update-new-expressioncljs

(update-new-expression node-factory node expression)
(update-new-expression node-factory node expression type-arguments)
(update-new-expression node-factory
                       node
                       expression
                       type-arguments
                       arguments-array)

Parameters:

  • node: NewExpression
  • expression: Expression
  • type-arguments: readonly TypeNode[] | undefined
  • arguments-array: readonly Expression[] | undefined

Returns: NewExpression

**Parameters:**
- `node`: `NewExpression`
- `expression`: `Expression`
- `type-arguments`: `readonly TypeNode[] | undefined`
- `arguments-array`: `readonly Expression[] | undefined`

**Returns:** `NewExpression`
sourceraw docstring

update-non-null-chaincljs

(update-non-null-chain node-factory node expression)

Parameters:

  • node: NonNullChain
  • expression: Expression

Returns: NonNullChain

**Parameters:**
- `node`: `NonNullChain`
- `expression`: `Expression`

**Returns:** `NonNullChain`
sourceraw docstring

update-non-null-expressioncljs

(update-non-null-expression node-factory node expression)

Parameters:

  • node: NonNullExpression
  • expression: Expression

Returns: NonNullExpression

**Parameters:**
- `node`: `NonNullExpression`
- `expression`: `Expression`

**Returns:** `NonNullExpression`
sourceraw docstring

update-object-binding-patterncljs

(update-object-binding-pattern node-factory node elements)

Parameters:

  • node: ObjectBindingPattern
  • elements: readonly BindingElement[]

Returns: ObjectBindingPattern

**Parameters:**
- `node`: `ObjectBindingPattern`
- `elements`: `readonly BindingElement[]`

**Returns:** `ObjectBindingPattern`
sourceraw docstring

update-object-literal-expressioncljs

(update-object-literal-expression node-factory node properties)

Parameters:

  • node: ObjectLiteralExpression
  • properties: readonly ObjectLiteralElementLike[]

Returns: ObjectLiteralExpression

**Parameters:**
- `node`: `ObjectLiteralExpression`
- `properties`: `readonly ObjectLiteralElementLike[]`

**Returns:** `ObjectLiteralExpression`
sourceraw docstring

update-optional-type-nodecljs

(update-optional-type-node node-factory node type)

Parameters:

  • node: OptionalTypeNode
  • type: TypeNode

Returns: OptionalTypeNode

**Parameters:**
- `node`: `OptionalTypeNode`
- `type`: `TypeNode`

**Returns:** `OptionalTypeNode`
sourceraw docstring

update-parameter-declarationcljs

(update-parameter-declaration node-factory node)
(update-parameter-declaration node-factory node modifiers)
(update-parameter-declaration node-factory node modifiers dot-dot-dot-token)
(update-parameter-declaration node-factory
                              node
                              modifiers
                              dot-dot-dot-token
                              name)
(update-parameter-declaration node-factory
                              node
                              modifiers
                              dot-dot-dot-token
                              name
                              question-token)
(update-parameter-declaration node-factory
                              node
                              modifiers
                              dot-dot-dot-token
                              name
                              question-token
                              type)
(update-parameter-declaration node-factory
                              node
                              modifiers
                              dot-dot-dot-token
                              name
                              question-token
                              type
                              initializer)

Parameters:

  • node: ParameterDeclaration
  • modifiers: readonly ModifierLike[] | undefined
  • dot-dot-dot-token: DotDotDotToken | undefined
  • name: string | BindingName
  • question-token: QuestionToken | undefined
  • type: TypeNode | undefined
  • initializer: Expression | undefined

Returns: ParameterDeclaration

**Parameters:**
- `node`: `ParameterDeclaration`
- `modifiers`: `readonly ModifierLike[] | undefined`
- `dot-dot-dot-token`: `DotDotDotToken | undefined`
- `name`: `string | BindingName`
- `question-token`: `QuestionToken | undefined`
- `type`: `TypeNode | undefined`
- `initializer`: `Expression | undefined`

**Returns:** `ParameterDeclaration`
sourceraw docstring

update-parenthesized-expressioncljs

(update-parenthesized-expression node-factory node expression)

Parameters:

  • node: ParenthesizedExpression
  • expression: Expression

Returns: ParenthesizedExpression

**Parameters:**
- `node`: `ParenthesizedExpression`
- `expression`: `Expression`

**Returns:** `ParenthesizedExpression`
sourceraw docstring

update-parenthesized-typecljs

(update-parenthesized-type node-factory node type)

Parameters:

  • node: ParenthesizedTypeNode
  • type: TypeNode

Returns: ParenthesizedTypeNode

**Parameters:**
- `node`: `ParenthesizedTypeNode`
- `type`: `TypeNode`

**Returns:** `ParenthesizedTypeNode`
sourceraw docstring

update-partially-emitted-expressioncljs

(update-partially-emitted-expression node-factory node expression)

Parameters:

  • node: PartiallyEmittedExpression
  • expression: Expression

Returns: PartiallyEmittedExpression

**Parameters:**
- `node`: `PartiallyEmittedExpression`
- `expression`: `Expression`

**Returns:** `PartiallyEmittedExpression`
sourceraw docstring

update-postfix-unary-expressioncljs

(update-postfix-unary-expression node-factory node operand)

Parameters:

  • node: PostfixUnaryExpression
  • operand: Expression

Returns: PostfixUnaryExpression

**Parameters:**
- `node`: `PostfixUnaryExpression`
- `operand`: `Expression`

**Returns:** `PostfixUnaryExpression`
sourceraw docstring

update-prefix-unary-expressioncljs

(update-prefix-unary-expression node-factory node operand)

Parameters:

  • node: PrefixUnaryExpression
  • operand: Expression

Returns: PrefixUnaryExpression

**Parameters:**
- `node`: `PrefixUnaryExpression`
- `operand`: `Expression`

**Returns:** `PrefixUnaryExpression`
sourceraw docstring

update-property-access-chaincljs

(update-property-access-chain node-factory node expression)
(update-property-access-chain node-factory node expression question-dot-token)
(update-property-access-chain node-factory
                              node
                              expression
                              question-dot-token
                              name)

Parameters:

  • node: PropertyAccessChain
  • expression: Expression
  • question-dot-token: QuestionDotToken | undefined
  • name: MemberName

Returns: PropertyAccessChain

**Parameters:**
- `node`: `PropertyAccessChain`
- `expression`: `Expression`
- `question-dot-token`: `QuestionDotToken | undefined`
- `name`: `MemberName`

**Returns:** `PropertyAccessChain`
sourceraw docstring

update-property-access-expressioncljs

(update-property-access-expression node-factory node expression name)

Parameters:

  • node: PropertyAccessExpression
  • expression: Expression
  • name: MemberName

Returns: PropertyAccessExpression

**Parameters:**
- `node`: `PropertyAccessExpression`
- `expression`: `Expression`
- `name`: `MemberName`

**Returns:** `PropertyAccessExpression`
sourceraw docstring

update-property-assignmentcljs

(update-property-assignment node-factory node name initializer)

Parameters:

  • node: PropertyAssignment
  • name: PropertyName
  • initializer: Expression

Returns: PropertyAssignment

**Parameters:**
- `node`: `PropertyAssignment`
- `name`: `PropertyName`
- `initializer`: `Expression`

**Returns:** `PropertyAssignment`
sourceraw docstring

update-property-declarationcljs

(update-property-declaration node-factory node)
(update-property-declaration node-factory node modifiers)
(update-property-declaration node-factory node modifiers name)
(update-property-declaration node-factory
                             node
                             modifiers
                             name
                             question-or-exclamation-token)
(update-property-declaration node-factory
                             node
                             modifiers
                             name
                             question-or-exclamation-token
                             type)
(update-property-declaration node-factory
                             node
                             modifiers
                             name
                             question-or-exclamation-token
                             type
                             initializer)

Parameters:

  • node: PropertyDeclaration
  • modifiers: readonly ModifierLike[] | undefined
  • name: string | PropertyName
  • question-or-exclamation-token: QuestionToken | ExclamationToken | undefined
  • type: TypeNode | undefined
  • initializer: Expression | undefined

Returns: PropertyDeclaration

**Parameters:**
- `node`: `PropertyDeclaration`
- `modifiers`: `readonly ModifierLike[] | undefined`
- `name`: `string | PropertyName`
- `question-or-exclamation-token`: `QuestionToken | ExclamationToken | undefined`
- `type`: `TypeNode | undefined`
- `initializer`: `Expression | undefined`

**Returns:** `PropertyDeclaration`
sourceraw docstring

update-property-signaturecljs

(update-property-signature node-factory node)
(update-property-signature node-factory node modifiers)
(update-property-signature node-factory node modifiers name)
(update-property-signature node-factory node modifiers name question-token)
(update-property-signature node-factory node modifiers name question-token type)

Parameters:

  • node: PropertySignature
  • modifiers: readonly Modifier[] | undefined
  • name: PropertyName
  • question-token: QuestionToken | undefined
  • type: TypeNode | undefined

Returns: PropertySignature

**Parameters:**
- `node`: `PropertySignature`
- `modifiers`: `readonly Modifier[] | undefined`
- `name`: `PropertyName`
- `question-token`: `QuestionToken | undefined`
- `type`: `TypeNode | undefined`

**Returns:** `PropertySignature`
sourceraw docstring

update-qualified-namecljs

(update-qualified-name node-factory node left right)

Parameters:

  • node: QualifiedName
  • left: EntityName
  • right: Identifier

Returns: QualifiedName

**Parameters:**
- `node`: `QualifiedName`
- `left`: `EntityName`
- `right`: `Identifier`

**Returns:** `QualifiedName`
sourceraw docstring

update-rest-type-nodecljs

(update-rest-type-node node-factory node type)

Parameters:

  • node: RestTypeNode
  • type: TypeNode

Returns: RestTypeNode

**Parameters:**
- `node`: `RestTypeNode`
- `type`: `TypeNode`

**Returns:** `RestTypeNode`
sourceraw docstring

update-return-statementcljs

(update-return-statement node-factory node)
(update-return-statement node-factory node expression)

Parameters:

  • node: ReturnStatement
  • expression: Expression | undefined

Returns: ReturnStatement

**Parameters:**
- `node`: `ReturnStatement`
- `expression`: `Expression | undefined`

**Returns:** `ReturnStatement`
sourceraw docstring

update-satisfies-expressioncljs

(update-satisfies-expression node-factory node expression type)

Parameters:

  • node: SatisfiesExpression
  • expression: Expression
  • type: TypeNode

Returns: SatisfiesExpression

**Parameters:**
- `node`: `SatisfiesExpression`
- `expression`: `Expression`
- `type`: `TypeNode`

**Returns:** `SatisfiesExpression`
sourceraw docstring

update-set-accessor-declarationcljs

(update-set-accessor-declaration node-factory node)
(update-set-accessor-declaration node-factory node modifiers)
(update-set-accessor-declaration node-factory node modifiers name)
(update-set-accessor-declaration node-factory node modifiers name parameters)
(update-set-accessor-declaration node-factory
                                 node
                                 modifiers
                                 name
                                 parameters
                                 body)

Parameters:

  • node: SetAccessorDeclaration
  • modifiers: readonly ModifierLike[] | undefined
  • name: PropertyName
  • parameters: readonly ParameterDeclaration[]
  • body: Block | undefined

Returns: SetAccessorDeclaration

**Parameters:**
- `node`: `SetAccessorDeclaration`
- `modifiers`: `readonly ModifierLike[] | undefined`
- `name`: `PropertyName`
- `parameters`: `readonly ParameterDeclaration[]`
- `body`: `Block | undefined`

**Returns:** `SetAccessorDeclaration`
sourceraw docstring

update-shorthand-property-assignmentcljs

(update-shorthand-property-assignment node-factory node name)
(update-shorthand-property-assignment node-factory
                                      node
                                      name
                                      object-assignment-initializer)

Parameters:

  • node: ShorthandPropertyAssignment
  • name: Identifier
  • object-assignment-initializer: Expression | undefined

Returns: ShorthandPropertyAssignment

**Parameters:**
- `node`: `ShorthandPropertyAssignment`
- `name`: `Identifier`
- `object-assignment-initializer`: `Expression | undefined`

**Returns:** `ShorthandPropertyAssignment`
sourceraw docstring

update-source-filecljs

(update-source-file node-factory node statements)
(update-source-file node-factory node statements declaration-file?)
(update-source-file node-factory
                    node
                    statements
                    declaration-file?
                    referenced-files)
(update-source-file node-factory
                    node
                    statements
                    declaration-file?
                    referenced-files
                    type-references)
(update-source-file node-factory
                    node
                    statements
                    declaration-file?
                    referenced-files
                    type-references
                    has-no-default-lib?)
(update-source-file node-factory
                    node
                    statements
                    declaration-file?
                    referenced-files
                    type-references
                    has-no-default-lib?
                    lib-references)

Parameters:

  • node: SourceFile
  • statements: readonly Statement[]
  • declaration-file?: boolean | undefined
  • referenced-files: readonly FileReference[] | undefined
  • type-references: readonly FileReference[] | undefined
  • has-no-default-lib?: boolean | undefined
  • lib-references: readonly FileReference[] | undefined

Returns: SourceFile

**Parameters:**
- `node`: `SourceFile`
- `statements`: `readonly Statement[]`
- `declaration-file?`: `boolean | undefined`
- `referenced-files`: `readonly FileReference[] | undefined`
- `type-references`: `readonly FileReference[] | undefined`
- `has-no-default-lib?`: `boolean | undefined`
- `lib-references`: `readonly FileReference[] | undefined`

**Returns:** `SourceFile`
sourceraw docstring

update-spread-assignmentcljs

(update-spread-assignment node-factory node expression)

Parameters:

  • node: SpreadAssignment
  • expression: Expression

Returns: SpreadAssignment

**Parameters:**
- `node`: `SpreadAssignment`
- `expression`: `Expression`

**Returns:** `SpreadAssignment`
sourceraw docstring

update-spread-elementcljs

(update-spread-element node-factory node expression)

Parameters:

  • node: SpreadElement
  • expression: Expression

Returns: SpreadElement

**Parameters:**
- `node`: `SpreadElement`
- `expression`: `Expression`

**Returns:** `SpreadElement`
sourceraw docstring

update-switch-statementcljs

(update-switch-statement node-factory node expression case-block)

Parameters:

  • node: SwitchStatement
  • expression: Expression
  • case-block: CaseBlock

Returns: SwitchStatement

**Parameters:**
- `node`: `SwitchStatement`
- `expression`: `Expression`
- `case-block`: `CaseBlock`

**Returns:** `SwitchStatement`
sourceraw docstring

update-tagged-template-expressioncljs

(update-tagged-template-expression node-factory node tag)
(update-tagged-template-expression node-factory node tag type-arguments)
(update-tagged-template-expression node-factory
                                   node
                                   tag
                                   type-arguments
                                   template)

Parameters:

  • node: TaggedTemplateExpression
  • tag: Expression
  • type-arguments: readonly TypeNode[] | undefined
  • template: TemplateLiteral

Returns: TaggedTemplateExpression

**Parameters:**
- `node`: `TaggedTemplateExpression`
- `tag`: `Expression`
- `type-arguments`: `readonly TypeNode[] | undefined`
- `template`: `TemplateLiteral`

**Returns:** `TaggedTemplateExpression`
sourceraw docstring

update-template-expressioncljs

(update-template-expression node-factory node head template-spans)

Parameters:

  • node: TemplateExpression
  • head: TemplateHead
  • template-spans: readonly TemplateSpan[]

Returns: TemplateExpression

**Parameters:**
- `node`: `TemplateExpression`
- `head`: `TemplateHead`
- `template-spans`: `readonly TemplateSpan[]`

**Returns:** `TemplateExpression`
sourceraw docstring

update-template-literal-typecljs

(update-template-literal-type node-factory node head template-spans)

Parameters:

  • node: TemplateLiteralTypeNode
  • head: TemplateHead
  • template-spans: readonly TemplateLiteralTypeSpan[]

Returns: TemplateLiteralTypeNode

**Parameters:**
- `node`: `TemplateLiteralTypeNode`
- `head`: `TemplateHead`
- `template-spans`: `readonly TemplateLiteralTypeSpan[]`

**Returns:** `TemplateLiteralTypeNode`
sourceraw docstring

update-template-literal-type-spancljs

(update-template-literal-type-span node-factory node type literal)

Parameters:

  • node: TemplateLiteralTypeSpan
  • type: TypeNode
  • literal: TemplateMiddle | TemplateTail

Returns: TemplateLiteralTypeSpan

**Parameters:**
- `node`: `TemplateLiteralTypeSpan`
- `type`: `TypeNode`
- `literal`: `TemplateMiddle | TemplateTail`

**Returns:** `TemplateLiteralTypeSpan`
sourceraw docstring

update-template-spancljs

(update-template-span node-factory node expression literal)

Parameters:

  • node: TemplateSpan
  • expression: Expression
  • literal: TemplateMiddle | TemplateTail

Returns: TemplateSpan

**Parameters:**
- `node`: `TemplateSpan`
- `expression`: `Expression`
- `literal`: `TemplateMiddle | TemplateTail`

**Returns:** `TemplateSpan`
sourceraw docstring

update-throw-statementcljs

(update-throw-statement node-factory node expression)

Parameters:

  • node: ThrowStatement
  • expression: Expression

Returns: ThrowStatement

**Parameters:**
- `node`: `ThrowStatement`
- `expression`: `Expression`

**Returns:** `ThrowStatement`
sourceraw docstring

update-try-statementcljs

(update-try-statement node-factory node try-block)
(update-try-statement node-factory node try-block catch-clause)
(update-try-statement node-factory node try-block catch-clause finally-block)

Parameters:

  • node: TryStatement
  • try-block: Block
  • catch-clause: CatchClause | undefined
  • finally-block: Block | undefined

Returns: TryStatement

**Parameters:**
- `node`: `TryStatement`
- `try-block`: `Block`
- `catch-clause`: `CatchClause | undefined`
- `finally-block`: `Block | undefined`

**Returns:** `TryStatement`
sourceraw docstring

update-tuple-type-nodecljs

(update-tuple-type-node node-factory node elements)

Parameters:

  • node: TupleTypeNode
  • elements: readonly (TypeNode | NamedTupleMember)[]

Returns: TupleTypeNode

**Parameters:**
- `node`: `TupleTypeNode`
- `elements`: `readonly (TypeNode | NamedTupleMember)[]`

**Returns:** `TupleTypeNode`
sourceraw docstring

update-type-alias-declarationcljs

(update-type-alias-declaration node-factory node)
(update-type-alias-declaration node-factory node modifiers)
(update-type-alias-declaration node-factory node modifiers name)
(update-type-alias-declaration node-factory node modifiers name type-parameters)
(update-type-alias-declaration node-factory
                               node
                               modifiers
                               name
                               type-parameters
                               type)

Parameters:

  • node: TypeAliasDeclaration
  • modifiers: readonly ModifierLike[] | undefined
  • name: Identifier
  • type-parameters: readonly TypeParameterDeclaration[] | undefined
  • type: TypeNode

Returns: TypeAliasDeclaration

**Parameters:**
- `node`: `TypeAliasDeclaration`
- `modifiers`: `readonly ModifierLike[] | undefined`
- `name`: `Identifier`
- `type-parameters`: `readonly TypeParameterDeclaration[] | undefined`
- `type`: `TypeNode`

**Returns:** `TypeAliasDeclaration`
sourceraw docstring

update-type-assertioncljs

(update-type-assertion node-factory node type expression)

Parameters:

  • node: TypeAssertion
  • type: TypeNode
  • expression: Expression

Returns: TypeAssertion

**Parameters:**
- `node`: `TypeAssertion`
- `type`: `TypeNode`
- `expression`: `Expression`

**Returns:** `TypeAssertion`
sourceraw docstring

update-type-literal-nodecljs

(update-type-literal-node node-factory node members)

Parameters:

  • node: TypeLiteralNode
  • members: NodeArray<TypeElement>

Returns: TypeLiteralNode

**Parameters:**
- `node`: `TypeLiteralNode`
- `members`: `NodeArray<TypeElement>`

**Returns:** `TypeLiteralNode`
sourceraw docstring

update-type-of-expressioncljs

(update-type-of-expression node-factory node expression)

Parameters:

  • node: TypeOfExpression
  • expression: Expression

Returns: TypeOfExpression

**Parameters:**
- `node`: `TypeOfExpression`
- `expression`: `Expression`

**Returns:** `TypeOfExpression`
sourceraw docstring

update-type-operator-nodecljs

(update-type-operator-node node-factory node type)

Parameters:

  • node: TypeOperatorNode
  • type: TypeNode

Returns: TypeOperatorNode

**Parameters:**
- `node`: `TypeOperatorNode`
- `type`: `TypeNode`

**Returns:** `TypeOperatorNode`
sourceraw docstring

update-type-parameter-declarationcljs

(update-type-parameter-declaration node-factory node)
(update-type-parameter-declaration node-factory node modifiers)
(update-type-parameter-declaration node-factory node modifiers name)
(update-type-parameter-declaration node-factory node modifiers name constraint)
(update-type-parameter-declaration node-factory
                                   node
                                   modifiers
                                   name
                                   constraint
                                   default-type)

Parameters:

  • node: TypeParameterDeclaration
  • modifiers: readonly Modifier[] | undefined
  • name: Identifier
  • constraint: TypeNode | undefined
  • default-type: TypeNode | undefined

Returns: TypeParameterDeclaration

**Parameters:**
- `node`: `TypeParameterDeclaration`
- `modifiers`: `readonly Modifier[] | undefined`
- `name`: `Identifier`
- `constraint`: `TypeNode | undefined`
- `default-type`: `TypeNode | undefined`

**Returns:** `TypeParameterDeclaration`
sourceraw docstring

update-type-predicate-nodecljs

(update-type-predicate-node node-factory node)
(update-type-predicate-node node-factory node asserts-modifier)
(update-type-predicate-node node-factory node asserts-modifier parameter-name)
(update-type-predicate-node node-factory
                            node
                            asserts-modifier
                            parameter-name
                            type)

Parameters:

  • node: TypePredicateNode
  • asserts-modifier: AssertsKeyword | undefined
  • parameter-name: Identifier | ThisTypeNode
  • type: TypeNode | undefined

Returns: TypePredicateNode

**Parameters:**
- `node`: `TypePredicateNode`
- `asserts-modifier`: `AssertsKeyword | undefined`
- `parameter-name`: `Identifier | ThisTypeNode`
- `type`: `TypeNode | undefined`

**Returns:** `TypePredicateNode`
sourceraw docstring

update-type-query-nodecljs

(update-type-query-node node-factory node expr-name)
(update-type-query-node node-factory node expr-name type-arguments)

Parameters:

  • node: TypeQueryNode
  • expr-name: EntityName
  • type-arguments: readonly TypeNode[] | undefined

Returns: TypeQueryNode

**Parameters:**
- `node`: `TypeQueryNode`
- `expr-name`: `EntityName`
- `type-arguments`: `readonly TypeNode[] | undefined`

**Returns:** `TypeQueryNode`
sourceraw docstring

update-type-reference-nodecljs

(update-type-reference-node node-factory node type-name)
(update-type-reference-node node-factory node type-name type-arguments)

Parameters:

  • node: TypeReferenceNode
  • type-name: EntityName
  • type-arguments: NodeArray<TypeNode> | undefined

Returns: TypeReferenceNode

**Parameters:**
- `node`: `TypeReferenceNode`
- `type-name`: `EntityName`
- `type-arguments`: `NodeArray<TypeNode> | undefined`

**Returns:** `TypeReferenceNode`
sourceraw docstring

update-union-type-nodecljs

(update-union-type-node node-factory node types)

Parameters:

  • node: UnionTypeNode
  • types: NodeArray<TypeNode>

Returns: UnionTypeNode

**Parameters:**
- `node`: `UnionTypeNode`
- `types`: `NodeArray<TypeNode>`

**Returns:** `UnionTypeNode`
sourceraw docstring

update-variable-declarationcljs

(update-variable-declaration node-factory node name)
(update-variable-declaration node-factory node name exclamation-token)
(update-variable-declaration node-factory node name exclamation-token type)
(update-variable-declaration node-factory
                             node
                             name
                             exclamation-token
                             type
                             initializer)

Parameters:

  • node: VariableDeclaration
  • name: BindingName
  • exclamation-token: ExclamationToken | undefined
  • type: TypeNode | undefined
  • initializer: Expression | undefined

Returns: VariableDeclaration

**Parameters:**
- `node`: `VariableDeclaration`
- `name`: `BindingName`
- `exclamation-token`: `ExclamationToken | undefined`
- `type`: `TypeNode | undefined`
- `initializer`: `Expression | undefined`

**Returns:** `VariableDeclaration`
sourceraw docstring

update-variable-declaration-listcljs

(update-variable-declaration-list node-factory node declarations)

Parameters:

  • node: VariableDeclarationList
  • declarations: readonly VariableDeclaration[]

Returns: VariableDeclarationList

**Parameters:**
- `node`: `VariableDeclarationList`
- `declarations`: `readonly VariableDeclaration[]`

**Returns:** `VariableDeclarationList`
sourceraw docstring

update-variable-statementcljs

(update-variable-statement node-factory node)
(update-variable-statement node-factory node modifiers)
(update-variable-statement node-factory node modifiers declaration-list)

Parameters:

  • node: VariableStatement
  • modifiers: readonly ModifierLike[] | undefined
  • declaration-list: VariableDeclarationList

Returns: VariableStatement

**Parameters:**
- `node`: `VariableStatement`
- `modifiers`: `readonly ModifierLike[] | undefined`
- `declaration-list`: `VariableDeclarationList`

**Returns:** `VariableStatement`
sourceraw docstring

update-void-expressioncljs

(update-void-expression node-factory node expression)

Parameters:

  • node: VoidExpression
  • expression: Expression

Returns: VoidExpression

**Parameters:**
- `node`: `VoidExpression`
- `expression`: `Expression`

**Returns:** `VoidExpression`
sourceraw docstring

update-while-statementcljs

(update-while-statement node-factory node expression statement)

Parameters:

  • node: WhileStatement
  • expression: Expression
  • statement: Statement

Returns: WhileStatement

**Parameters:**
- `node`: `WhileStatement`
- `expression`: `Expression`
- `statement`: `Statement`

**Returns:** `WhileStatement`
sourceraw docstring

update-with-statementcljs

(update-with-statement node-factory node expression statement)

Parameters:

  • node: WithStatement
  • expression: Expression
  • statement: Statement

Returns: WithStatement

**Parameters:**
- `node`: `WithStatement`
- `expression`: `Expression`
- `statement`: `Statement`

**Returns:** `WithStatement`
sourceraw docstring

update-yield-expressioncljs

(update-yield-expression node-factory node)
(update-yield-expression node-factory node asterisk-token)
(update-yield-expression node-factory node asterisk-token expression)

Parameters:

  • node: YieldExpression
  • asterisk-token: AsteriskToken | undefined
  • expression: Expression | undefined

Returns: YieldExpression

**Parameters:**
- `node`: `YieldExpression`
- `asterisk-token`: `AsteriskToken | undefined`
- `expression`: `Expression | undefined`

**Returns:** `YieldExpression`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close