Liking cljdoc? Tell your friends :D
ClojureScript only.

dots.typescript.factory


create-addcljs

(create-add 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 elements)

Parameters:

  • elements: readonly ArrayBindingElement[]

Returns: ArrayBindingPattern

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

**Returns:** `ArrayBindingPattern`
sourceraw docstring

create-array-literal-expressioncljs

(create-array-literal-expression)
(create-array-literal-expression elements)
(create-array-literal-expression 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 element-type)

Parameters:

  • element-type: TypeNode

Returns: ArrayTypeNode

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

**Returns:** `ArrayTypeNode`
sourceraw docstring

create-arrow-functioncljs

(create-arrow-function)
(create-arrow-function modifiers)
(create-arrow-function modifiers type-parameters)
(create-arrow-function modifiers type-parameters parameters)
(create-arrow-function modifiers type-parameters parameters type)
(create-arrow-function modifiers
                       type-parameters
                       parameters
                       type
                       equals-greater-than-token)
(create-arrow-function 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 expression type)

Parameters:

  • expression: Expression
  • type: TypeNode

Returns: AsExpression

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

**Returns:** `AsExpression`
sourceraw docstring

create-assert-clausecljs

(create-assert-clause elements)
(create-assert-clause 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 name value)

Parameters:

  • name: ImportAttributeName
  • value: Expression

Returns: AssertEntry

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

**Returns:** `AssertEntry`
sourceraw docstring

create-assignmentcljs

(create-assignment 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 expression)

Parameters:

  • expression: Expression

Returns: AwaitExpression

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

**Returns:** `AwaitExpression`
sourceraw docstring

create-big-int-literalcljs

(create-big-int-literal value)

Parameters:

  • value: string | PseudoBigInt

Returns: BigIntLiteral

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

**Returns:** `BigIntLiteral`
sourceraw docstring

create-binary-expressioncljs

(create-binary-expression 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)
(create-binding-element dot-dot-dot-token)
(create-binding-element dot-dot-dot-token property-name)
(create-binding-element dot-dot-dot-token property-name name)
(create-binding-element 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 left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

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

**Returns:** `BinaryExpression`
sourceraw docstring

create-bitwise-notcljs

(create-bitwise-not operand)

Parameters:

  • operand: Expression

Returns: PrefixUnaryExpression

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

**Returns:** `PrefixUnaryExpression`
sourceraw docstring

create-bitwise-orcljs

(create-bitwise-or left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

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

**Returns:** `BinaryExpression`
sourceraw docstring

create-bitwise-xorcljs

(create-bitwise-xor left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

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

**Returns:** `BinaryExpression`
sourceraw docstring

create-blockcljs

(create-block statements)
(create-block 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)
(create-break-statement label)

Parameters:

  • label: string | Identifier | undefined

Returns: BreakStatement

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

**Returns:** `BreakStatement`
sourceraw docstring

create-bundlecljs

(create-bundle source-files)
(create-bundle 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 expression)
(create-call-chain expression question-dot-token)
(create-call-chain expression question-dot-token type-arguments)
(create-call-chain 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 expression)
(create-call-expression expression type-arguments)
(create-call-expression 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)
(create-call-signature type-parameters)
(create-call-signature type-parameters parameters)
(create-call-signature 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 clauses)

Parameters:

  • clauses: readonly CaseOrDefaultClause[]

Returns: CaseBlock

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

**Returns:** `CaseBlock`
sourceraw docstring

create-case-clausecljs

(create-case-clause 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)
(create-catch-clause variable-declaration)
(create-catch-clause 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)
(create-class-declaration modifiers)
(create-class-declaration modifiers name)
(create-class-declaration modifiers name type-parameters)
(create-class-declaration modifiers name type-parameters heritage-clauses)
(create-class-declaration 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)
(create-class-expression modifiers)
(create-class-expression modifiers name)
(create-class-expression modifiers name type-parameters)
(create-class-expression modifiers name type-parameters heritage-clauses)
(create-class-expression 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 body)

Parameters:

  • body: Block

Returns: ClassStaticBlockDeclaration

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

**Returns:** `ClassStaticBlockDeclaration`
sourceraw docstring

create-commacljs

(create-comma 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 elements)

Parameters:

  • elements: readonly Expression[]

Returns: CommaListExpression

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

**Returns:** `CommaListExpression`
sourceraw docstring

create-computed-property-namecljs

(create-computed-property-name expression)

Parameters:

  • expression: Expression

Returns: ComputedPropertyName

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

**Returns:** `ComputedPropertyName`
sourceraw docstring

create-conditional-expressioncljs

(create-conditional-expression condition)
(create-conditional-expression condition question-token)
(create-conditional-expression condition question-token when-true)
(create-conditional-expression condition question-token when-true colon-token)
(create-conditional-expression 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 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)
(create-construct-signature type-parameters)
(create-construct-signature type-parameters parameters)
(create-construct-signature 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)
(create-constructor-declaration modifiers)
(create-constructor-declaration modifiers parameters)
(create-constructor-declaration 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)
(create-constructor-type-node modifiers)
(create-constructor-type-node modifiers type-parameters)
(create-constructor-type-node modifiers type-parameters parameters)
(create-constructor-type-node 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)
(create-continue-statement label)

Parameters:

  • label: string | Identifier | undefined

Returns: ContinueStatement

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

**Returns:** `ContinueStatement`
sourceraw docstring

create-debugger-statementcljs

(create-debugger-statement)

Returns: DebuggerStatement

**Returns:** `DebuggerStatement`
sourceraw docstring

create-decoratorcljs

(create-decorator expression)

Parameters:

  • expression: Expression

Returns: Decorator

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

**Returns:** `Decorator`
sourceraw docstring

create-default-clausecljs

(create-default-clause statements)

Parameters:

  • statements: readonly Statement[]

Returns: DefaultClause

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

**Returns:** `DefaultClause`
sourceraw docstring

create-delete-expressioncljs

(create-delete-expression expression)

Parameters:

  • expression: Expression

Returns: DeleteExpression

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

**Returns:** `DeleteExpression`
sourceraw docstring

create-dividecljs

(create-divide left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

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

**Returns:** `BinaryExpression`
sourceraw docstring

create-do-statementcljs

(create-do-statement 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 expression)
(create-element-access-chain expression question-dot-token)
(create-element-access-chain 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 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)

Returns: EmptyStatement

**Returns:** `EmptyStatement`
sourceraw docstring

create-enum-declarationcljs

(create-enum-declaration)
(create-enum-declaration modifiers)
(create-enum-declaration modifiers name)
(create-enum-declaration 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 name)
(create-enum-member 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 left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

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

**Returns:** `BinaryExpression`
sourceraw docstring

create-exponentcljs

(create-exponent left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

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

**Returns:** `BinaryExpression`
sourceraw docstring

create-export-assignmentcljs

(create-export-assignment)
(create-export-assignment modifiers)
(create-export-assignment modifiers export-equals?)
(create-export-assignment 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)
(create-export-declaration modifiers)
(create-export-declaration modifiers type-only?)
(create-export-declaration modifiers type-only? export-clause)
(create-export-declaration modifiers type-only? export-clause module-specifier)
(create-export-declaration 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 expression)

Parameters:

  • expression: Expression

Returns: ExportAssignment

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

**Returns:** `ExportAssignment`
sourceraw docstring

create-export-specifiercljs

(create-export-specifier type-only?)
(create-export-specifier type-only? property-name)
(create-export-specifier 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 expression)

Parameters:

  • expression: Expression

Returns: ExpressionStatement

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

**Returns:** `ExpressionStatement`
sourceraw docstring

create-expression-with-type-argumentscljs

(create-expression-with-type-arguments expression)
(create-expression-with-type-arguments 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 export-name)

Parameters:

  • export-name: Identifier

Returns: ExportDeclaration

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

**Returns:** `ExportDeclaration`
sourceraw docstring

create-external-module-referencecljs

(create-external-module-reference expression)

Parameters:

  • expression: Expression

Returns: ExternalModuleReference

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

**Returns:** `ExternalModuleReference`
sourceraw docstring

create-falsecljs

(create-false)

Returns: FalseLiteral

**Returns:** `FalseLiteral`
sourceraw docstring

create-for-in-statementcljs

(create-for-in-statement 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)
(create-for-of-statement await-modifier)
(create-for-of-statement await-modifier initializer)
(create-for-of-statement await-modifier initializer expression)
(create-for-of-statement 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)
(create-for-statement initializer)
(create-for-statement initializer condition)
(create-for-statement initializer condition incrementor)
(create-for-statement 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)
(create-function-declaration modifiers)
(create-function-declaration modifiers asterisk-token)
(create-function-declaration modifiers asterisk-token name)
(create-function-declaration modifiers asterisk-token name type-parameters)
(create-function-declaration modifiers
                             asterisk-token
                             name
                             type-parameters
                             parameters)
(create-function-declaration modifiers
                             asterisk-token
                             name
                             type-parameters
                             parameters
                             type)
(create-function-declaration 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)
(create-function-expression modifiers)
(create-function-expression modifiers asterisk-token)
(create-function-expression modifiers asterisk-token name)
(create-function-expression modifiers asterisk-token name type-parameters)
(create-function-expression modifiers
                            asterisk-token
                            name
                            type-parameters
                            parameters)
(create-function-expression modifiers
                            asterisk-token
                            name
                            type-parameters
                            parameters
                            type)
(create-function-expression 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)
(create-function-type-node type-parameters)
(create-function-type-node type-parameters parameters)
(create-function-type-node 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)
(create-get-accessor-declaration modifiers)
(create-get-accessor-declaration modifiers name)
(create-get-accessor-declaration modifiers name parameters)
(create-get-accessor-declaration modifiers name parameters type)
(create-get-accessor-declaration 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 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 left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

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

**Returns:** `BinaryExpression`
sourceraw docstring

create-heritage-clausecljs

(create-heritage-clause 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 text)

Parameters:

  • text: string

Returns: Identifier

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

**Returns:** `Identifier`
sourceraw docstring

create-if-statementcljs

(create-if-statement expression then-statement)
(create-if-statement 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 statements)
(create-immediately-invoked-arrow-function 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 statements)
(create-immediately-invoked-function-expression 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 name value)

Parameters:

  • name: ImportAttributeName
  • value: Expression

Returns: ImportAttribute

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

**Returns:** `ImportAttribute`
sourceraw docstring

create-import-attributescljs

(create-import-attributes elements)
(create-import-attributes 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 type-only?)
(create-import-clause type-only? name)
(create-import-clause 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)
(create-import-declaration modifiers)
(create-import-declaration modifiers import-clause)
(create-import-declaration modifiers import-clause module-specifier)
(create-import-declaration 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)
(create-import-equals-declaration modifiers)
(create-import-equals-declaration modifiers type-only?)
(create-import-equals-declaration modifiers type-only? name)
(create-import-equals-declaration 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 type-only?)
(create-import-specifier type-only? property-name)
(create-import-specifier 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 clause)
(create-import-type-assertion-container 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 argument)
(create-import-type-node argument attributes)
(create-import-type-node argument attributes qualifier)
(create-import-type-node argument attributes qualifier type-arguments)
(create-import-type-node 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)
(create-index-signature modifiers)
(create-index-signature modifiers parameters)
(create-index-signature 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 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 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 type-parameter)

Parameters:

  • type-parameter: TypeParameterDeclaration

Returns: InferTypeNode

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

**Returns:** `InferTypeNode`
sourceraw docstring

create-interface-declarationcljs

(create-interface-declaration)
(create-interface-declaration modifiers)
(create-interface-declaration modifiers name)
(create-interface-declaration modifiers name type-parameters)
(create-interface-declaration modifiers name type-parameters heritage-clauses)
(create-interface-declaration 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 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)

Returns: JSDocAllType

**Returns:** `JSDocAllType`
sourceraw docstring

create-js-doc-augments-tagcljs

(create-js-doc-augments-tag)
(create-js-doc-augments-tag tag-name)
(create-js-doc-augments-tag tag-name class-name)
(create-js-doc-augments-tag 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)
(create-js-doc-author-tag tag-name)
(create-js-doc-author-tag 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)
(create-js-doc-callback-tag tag-name)
(create-js-doc-callback-tag tag-name type-expression)
(create-js-doc-callback-tag tag-name type-expression full-name)
(create-js-doc-callback-tag 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)
(create-js-doc-class-tag tag-name)
(create-js-doc-class-tag 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)
(create-js-doc-comment comment)
(create-js-doc-comment 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)
(create-js-doc-deprecated-tag tag-name)
(create-js-doc-deprecated-tag 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)
(create-js-doc-enum-tag tag-name)
(create-js-doc-enum-tag tag-name type-expression)
(create-js-doc-enum-tag 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 parameters)
(create-js-doc-function-type 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)
(create-js-doc-implements-tag tag-name)
(create-js-doc-implements-tag tag-name class-name)
(create-js-doc-implements-tag 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)
(create-js-doc-link name)
(create-js-doc-link 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)
(create-js-doc-link-code name)
(create-js-doc-link-code 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)
(create-js-doc-link-plain name)
(create-js-doc-link-plain 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 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 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 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 type)
(create-js-doc-non-nullable-type 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 type)
(create-js-doc-nullable-type 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 type)

Parameters:

  • type: TypeNode

Returns: JSDocOptionalType

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

**Returns:** `JSDocOptionalType`
sourceraw docstring

create-js-doc-overload-tagcljs

(create-js-doc-overload-tag)
(create-js-doc-overload-tag tag-name)
(create-js-doc-overload-tag tag-name type-expression)
(create-js-doc-overload-tag 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)
(create-js-doc-override-tag tag-name)
(create-js-doc-override-tag 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)
(create-js-doc-parameter-tag tag-name)
(create-js-doc-parameter-tag tag-name name)
(create-js-doc-parameter-tag tag-name name bracketed?)
(create-js-doc-parameter-tag tag-name name bracketed? type-expression)
(create-js-doc-parameter-tag tag-name
                             name
                             bracketed?
                             type-expression
                             name-first?)
(create-js-doc-parameter-tag 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)
(create-js-doc-private-tag tag-name)
(create-js-doc-private-tag 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)
(create-js-doc-property-tag tag-name)
(create-js-doc-property-tag tag-name name)
(create-js-doc-property-tag tag-name name bracketed?)
(create-js-doc-property-tag tag-name name bracketed? type-expression)
(create-js-doc-property-tag tag-name
                            name
                            bracketed?
                            type-expression
                            name-first?)
(create-js-doc-property-tag 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)
(create-js-doc-protected-tag tag-name)
(create-js-doc-protected-tag 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)
(create-js-doc-public-tag tag-name)
(create-js-doc-public-tag 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)
(create-js-doc-readonly-tag tag-name)
(create-js-doc-readonly-tag 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)
(create-js-doc-return-tag tag-name)
(create-js-doc-return-tag tag-name type-expression)
(create-js-doc-return-tag 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)
(create-js-doc-satisfies-tag tag-name)
(create-js-doc-satisfies-tag tag-name type-expression)
(create-js-doc-satisfies-tag 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)
(create-js-doc-see-tag tag-name)
(create-js-doc-see-tag tag-name name-expression)
(create-js-doc-see-tag 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)
(create-js-doc-signature type-parameters)
(create-js-doc-signature type-parameters parameters)
(create-js-doc-signature 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)
(create-js-doc-template-tag tag-name)
(create-js-doc-template-tag tag-name constraint)
(create-js-doc-template-tag tag-name constraint type-parameters)
(create-js-doc-template-tag 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 text)

Parameters:

  • text: string

Returns: JSDocText

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

**Returns:** `JSDocText`
sourceraw docstring

create-js-doc-this-tagcljs

(create-js-doc-this-tag)
(create-js-doc-this-tag tag-name)
(create-js-doc-this-tag tag-name type-expression)
(create-js-doc-this-tag 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 tag-name)
(create-js-doc-throws-tag tag-name type-expression)
(create-js-doc-throws-tag 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 type)

Parameters:

  • type: TypeNode

Returns: JSDocTypeExpression

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

**Returns:** `JSDocTypeExpression`
sourceraw docstring

create-js-doc-type-literalcljs

(create-js-doc-type-literal)
(create-js-doc-type-literal js-doc-property-tags)
(create-js-doc-type-literal 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)
(create-js-doc-type-tag tag-name)
(create-js-doc-type-tag tag-name type-expression)
(create-js-doc-type-tag 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)
(create-js-doc-typedef-tag tag-name)
(create-js-doc-typedef-tag tag-name type-expression)
(create-js-doc-typedef-tag tag-name type-expression full-name)
(create-js-doc-typedef-tag 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 tag-name)
(create-js-doc-unknown-tag 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)

Returns: JSDocUnknownType

**Returns:** `JSDocUnknownType`
sourceraw docstring

create-js-doc-variadic-typecljs

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

Parameters:

  • type: TypeNode

Returns: JSDocVariadicType

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

**Returns:** `JSDocVariadicType`
sourceraw docstring

create-jsx-attributecljs

(create-jsx-attribute name)
(create-jsx-attribute 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 properties)

Parameters:

  • properties: readonly JsxAttributeLike[]

Returns: JsxAttributes

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

**Returns:** `JsxAttributes`
sourceraw docstring

create-jsx-closing-elementcljs

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

Parameters:

  • tag-name: JsxTagNameExpression

Returns: JsxClosingElement

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

**Returns:** `JsxClosingElement`
sourceraw docstring

create-jsx-elementcljs

(create-jsx-element 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)
(create-jsx-expression dot-dot-dot-token)
(create-jsx-expression 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 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)

Returns: JsxClosingFragment

**Returns:** `JsxClosingFragment`
sourceraw docstring

create-jsx-namespaced-namecljs

(create-jsx-namespaced-name 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 tag-name)
(create-jsx-opening-element tag-name type-arguments)
(create-jsx-opening-element 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)

Returns: JsxOpeningFragment

**Returns:** `JsxOpeningFragment`
sourceraw docstring

create-jsx-self-closing-elementcljs

(create-jsx-self-closing-element tag-name)
(create-jsx-self-closing-element tag-name type-arguments)
(create-jsx-self-closing-element 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 expression)

Parameters:

  • expression: Expression

Returns: JsxSpreadAttribute

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

**Returns:** `JsxSpreadAttribute`
sourceraw docstring

create-jsx-textcljs

(create-jsx-text text)
(create-jsx-text 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 kind)

Parameters:

  • kind: TKind

Returns: KeywordTypeNode<TKind>

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

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

create-labeled-statementcljs

(create-labeled-statement 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 left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

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

**Returns:** `BinaryExpression`
sourceraw docstring

create-less-thancljs

(create-less-than 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 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 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 left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

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

**Returns:** `BinaryExpression`
sourceraw docstring

create-logical-notcljs

(create-logical-not operand)

Parameters:

  • operand: Expression

Returns: PrefixUnaryExpression

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

**Returns:** `PrefixUnaryExpression`
sourceraw docstring

create-logical-orcljs

(create-logical-or left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

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

**Returns:** `BinaryExpression`
sourceraw docstring

create-loop-variablecljs

(create-loop-variable)
(create-loop-variable 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)
(create-mapped-type-node readonly-token)
(create-mapped-type-node readonly-token type-parameter)
(create-mapped-type-node readonly-token type-parameter name-type)
(create-mapped-type-node readonly-token type-parameter name-type question-token)
(create-mapped-type-node readonly-token
                         type-parameter
                         name-type
                         question-token
                         type)
(create-mapped-type-node 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 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)
(create-method-declaration modifiers)
(create-method-declaration modifiers asterisk-token)
(create-method-declaration modifiers asterisk-token name)
(create-method-declaration modifiers asterisk-token name question-token)
(create-method-declaration modifiers
                           asterisk-token
                           name
                           question-token
                           type-parameters)
(create-method-declaration modifiers
                           asterisk-token
                           name
                           question-token
                           type-parameters
                           parameters)
(create-method-declaration modifiers
                           asterisk-token
                           name
                           question-token
                           type-parameters
                           parameters
                           type)
(create-method-declaration 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)
(create-method-signature modifiers)
(create-method-signature modifiers name)
(create-method-signature modifiers name question-token)
(create-method-signature modifiers name question-token type-parameters)
(create-method-signature modifiers
                         name
                         question-token
                         type-parameters
                         parameters)
(create-method-signature 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 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 flags)

Parameters:

  • flags: ModifierFlags

Returns: Modifier[] | undefined

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

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

create-module-blockcljs

(create-module-block statements)

Parameters:

  • statements: readonly Statement[]

Returns: ModuleBlock

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

**Returns:** `ModuleBlock`
sourceraw docstring

create-module-declarationcljs

(create-module-declaration)
(create-module-declaration modifiers)
(create-module-declaration modifiers name)
(create-module-declaration modifiers name body)
(create-module-declaration 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 left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

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

**Returns:** `BinaryExpression`
sourceraw docstring

create-multiplycljs

(create-multiply left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

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

**Returns:** `BinaryExpression`
sourceraw docstring

create-named-exportscljs

(create-named-exports elements)

Parameters:

  • elements: readonly ExportSpecifier[]

Returns: NamedExports

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

**Returns:** `NamedExports`
sourceraw docstring

create-named-importscljs

(create-named-imports elements)

Parameters:

  • elements: readonly ImportSpecifier[]

Returns: NamedImports

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

**Returns:** `NamedImports`
sourceraw docstring

create-named-tuple-membercljs

(create-named-tuple-member)
(create-named-tuple-member dot-dot-dot-token)
(create-named-tuple-member dot-dot-dot-token name)
(create-named-tuple-member dot-dot-dot-token name question-token)
(create-named-tuple-member 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 name)

Parameters:

  • name: Identifier

Returns: NamespaceExport

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

**Returns:** `NamespaceExport`
sourceraw docstring

create-namespace-export-declarationcljs

(create-namespace-export-declaration name)

Parameters:

  • name: string | Identifier

Returns: NamespaceExportDeclaration

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

**Returns:** `NamespaceExportDeclaration`
sourceraw docstring

create-namespace-importcljs

(create-namespace-import name)

Parameters:

  • name: Identifier

Returns: NamespaceImport

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

**Returns:** `NamespaceImport`
sourceraw docstring

create-new-expressioncljs

(create-new-expression expression)
(create-new-expression expression type-arguments)
(create-new-expression 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)
(create-no-substitution-template-literal text)
(create-no-substitution-template-literal 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)
(create-node-array elements)
(create-node-array 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 expression)

Parameters:

  • expression: Expression

Returns: NonNullChain

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

**Returns:** `NonNullChain`
sourceraw docstring

create-non-null-expressioncljs

(create-non-null-expression expression)

Parameters:

  • expression: Expression

Returns: NonNullExpression

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

**Returns:** `NonNullExpression`
sourceraw docstring

create-not-emitted-statementcljs

(create-not-emitted-statement original)

Parameters:

  • original: Node

Returns: NotEmittedStatement

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

**Returns:** `NotEmittedStatement`
sourceraw docstring

create-nullcljs

(create-null)

Returns: NullLiteral

**Returns:** `NullLiteral`
sourceraw docstring

create-numeric-literalcljs

(create-numeric-literal value)
(create-numeric-literal 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 elements)

Parameters:

  • elements: readonly BindingElement[]

Returns: ObjectBindingPattern

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

**Returns:** `ObjectBindingPattern`
sourceraw docstring

create-object-literal-expressioncljs

(create-object-literal-expression)
(create-object-literal-expression properties)
(create-object-literal-expression 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)

Returns: OmittedExpression

**Returns:** `OmittedExpression`
sourceraw docstring

create-optional-type-nodecljs

(create-optional-type-node type)

Parameters:

  • type: TypeNode

Returns: OptionalTypeNode

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

**Returns:** `OptionalTypeNode`
sourceraw docstring

create-parameter-declarationcljs

(create-parameter-declaration)
(create-parameter-declaration modifiers)
(create-parameter-declaration modifiers dot-dot-dot-token)
(create-parameter-declaration modifiers dot-dot-dot-token name)
(create-parameter-declaration modifiers dot-dot-dot-token name question-token)
(create-parameter-declaration modifiers
                              dot-dot-dot-token
                              name
                              question-token
                              type)
(create-parameter-declaration 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 expression)

Parameters:

  • expression: Expression

Returns: ParenthesizedExpression

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

**Returns:** `ParenthesizedExpression`
sourceraw docstring

create-parenthesized-typecljs

(create-parenthesized-type type)

Parameters:

  • type: TypeNode

Returns: ParenthesizedTypeNode

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

**Returns:** `ParenthesizedTypeNode`
sourceraw docstring

create-partially-emitted-expressioncljs

(create-partially-emitted-expression expression)
(create-partially-emitted-expression 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 operand)

Parameters:

  • operand: Expression

Returns: PostfixUnaryExpression

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

**Returns:** `PostfixUnaryExpression`
sourceraw docstring

create-postfix-incrementcljs

(create-postfix-increment operand)

Parameters:

  • operand: Expression

Returns: PostfixUnaryExpression

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

**Returns:** `PostfixUnaryExpression`
sourceraw docstring

create-postfix-unary-expressioncljs

(create-postfix-unary-expression operand operator)

Parameters:

  • operand: Expression
  • operator: PostfixUnaryOperator

Returns: PostfixUnaryExpression

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

**Returns:** `PostfixUnaryExpression`
sourceraw docstring

create-prefix-decrementcljs

(create-prefix-decrement operand)

Parameters:

  • operand: Expression

Returns: PrefixUnaryExpression

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

**Returns:** `PrefixUnaryExpression`
sourceraw docstring

create-prefix-incrementcljs

(create-prefix-increment operand)

Parameters:

  • operand: Expression

Returns: PrefixUnaryExpression

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

**Returns:** `PrefixUnaryExpression`
sourceraw docstring

create-prefix-minuscljs

(create-prefix-minus operand)

Parameters:

  • operand: Expression

Returns: PrefixUnaryExpression

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

**Returns:** `PrefixUnaryExpression`
sourceraw docstring

create-prefix-pluscljs

(create-prefix-plus operand)

Parameters:

  • operand: Expression

Returns: PrefixUnaryExpression

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

**Returns:** `PrefixUnaryExpression`
sourceraw docstring

create-prefix-unary-expressioncljs

(create-prefix-unary-expression operator operand)

Parameters:

  • operator: PrefixUnaryOperator
  • operand: Expression

Returns: PrefixUnaryExpression

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

**Returns:** `PrefixUnaryExpression`
sourceraw docstring

create-private-identifiercljs

(create-private-identifier text)

Parameters:

  • text: string

Returns: PrivateIdentifier

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

**Returns:** `PrivateIdentifier`
sourceraw docstring

create-property-access-chaincljs

(create-property-access-chain expression)
(create-property-access-chain expression question-dot-token)
(create-property-access-chain 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 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 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)
(create-property-declaration modifiers)
(create-property-declaration modifiers name)
(create-property-declaration modifiers name question-or-exclamation-token)
(create-property-declaration modifiers name question-or-exclamation-token type)
(create-property-declaration 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)
(create-property-signature modifiers)
(create-property-signature modifiers name)
(create-property-signature modifiers name question-token)
(create-property-signature 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 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 text)

Parameters:

  • text: string

Returns: RegularExpressionLiteral

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

**Returns:** `RegularExpressionLiteral`
sourceraw docstring

create-rest-type-nodecljs

(create-rest-type-node type)

Parameters:

  • type: TypeNode

Returns: RestTypeNode

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

**Returns:** `RestTypeNode`
sourceraw docstring

create-return-statementcljs

(create-return-statement)
(create-return-statement expression)

Parameters:

  • expression: Expression | undefined

Returns: ReturnStatement

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

**Returns:** `ReturnStatement`
sourceraw docstring

create-right-shiftcljs

(create-right-shift left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

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

**Returns:** `BinaryExpression`
sourceraw docstring

create-satisfies-expressioncljs

(create-satisfies-expression 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)

Returns: SemicolonClassElement

**Returns:** `SemicolonClassElement`
sourceraw docstring

create-set-accessor-declarationcljs

(create-set-accessor-declaration)
(create-set-accessor-declaration modifiers)
(create-set-accessor-declaration modifiers name)
(create-set-accessor-declaration modifiers name parameters)
(create-set-accessor-declaration 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 name)
(create-shorthand-property-assignment 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 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 expression)

Parameters:

  • expression: Expression

Returns: SpreadAssignment

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

**Returns:** `SpreadAssignment`
sourceraw docstring

create-spread-elementcljs

(create-spread-element expression)

Parameters:

  • expression: Expression

Returns: SpreadElement

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

**Returns:** `SpreadElement`
sourceraw docstring

create-strict-equalitycljs

(create-strict-equality left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

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

**Returns:** `BinaryExpression`
sourceraw docstring

create-strict-inequalitycljs

(create-strict-inequality left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

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

**Returns:** `BinaryExpression`
sourceraw docstring

create-string-literalcljs

(create-string-literal text)
(create-string-literal 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 source-node)
(create-string-literal-from-node 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 left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

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

**Returns:** `BinaryExpression`
sourceraw docstring

create-supercljs

(create-super)

Returns: SuperExpression

**Returns:** `SuperExpression`
sourceraw docstring

create-switch-statementcljs

(create-switch-statement 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 tag)
(create-tagged-template-expression tag type-arguments)
(create-tagged-template-expression 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)
(create-temp-variable record-temp-variable)
(create-temp-variable 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 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)
(create-template-head text)
(create-template-head text raw-text)
(create-template-head 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 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 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)
(create-template-middle text)
(create-template-middle text raw-text)
(create-template-middle 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 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)
(create-template-tail text)
(create-template-tail text raw-text)
(create-template-tail 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)

Returns: ThisExpression

**Returns:** `ThisExpression`
sourceraw docstring

create-this-type-nodecljs

(create-this-type-node)

Returns: ThisTypeNode

**Returns:** `ThisTypeNode`
sourceraw docstring

create-throw-statementcljs

(create-throw-statement expression)

Parameters:

  • expression: Expression

Returns: ThrowStatement

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

**Returns:** `ThrowStatement`
sourceraw docstring

create-tokencljs

(create-token token)

Parameters:

  • token: TKind

Returns: KeywordToken<TKind>

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

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

create-truecljs

(create-true)

Returns: TrueLiteral

**Returns:** `TrueLiteral`
sourceraw docstring

create-try-statementcljs

(create-try-statement try-block)
(create-try-statement try-block catch-clause)
(create-try-statement 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 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)
(create-type-alias-declaration modifiers)
(create-type-alias-declaration modifiers name)
(create-type-alias-declaration modifiers name type-parameters)
(create-type-alias-declaration 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 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)
(create-type-literal-node 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 expression)

Parameters:

  • expression: Expression

Returns: TypeOfExpression

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

**Returns:** `TypeOfExpression`
sourceraw docstring

create-type-operator-nodecljs

(create-type-operator-node 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)
(create-type-parameter-declaration modifiers)
(create-type-parameter-declaration modifiers name)
(create-type-parameter-declaration modifiers name constraint)
(create-type-parameter-declaration 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)
(create-type-predicate-node asserts-modifier)
(create-type-predicate-node asserts-modifier parameter-name)
(create-type-predicate-node 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 expr-name)
(create-type-query-node 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 type-name)
(create-type-reference-node 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 types)

Parameters:

  • types: readonly TypeNode[]

Returns: UnionTypeNode

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

**Returns:** `UnionTypeNode`
sourceraw docstring

create-unique-namecljs

(create-unique-name text)
(create-unique-name 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)
(create-unique-private-name text)

Parameters:

  • text: string | undefined

Returns: PrivateIdentifier

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

**Returns:** `PrivateIdentifier`
sourceraw docstring

create-unsigned-right-shiftcljs

(create-unsigned-right-shift left right)

Parameters:

  • left: Expression
  • right: Expression

Returns: BinaryExpression

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

**Returns:** `BinaryExpression`
sourceraw docstring

create-variable-declarationcljs

(create-variable-declaration name)
(create-variable-declaration name exclamation-token)
(create-variable-declaration name exclamation-token type)
(create-variable-declaration 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 declarations)
(create-variable-declaration-list 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)
(create-variable-statement modifiers)
(create-variable-statement 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 expression)

Parameters:

  • expression: Expression

Returns: VoidExpression

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

**Returns:** `VoidExpression`
sourceraw docstring

create-void-zerocljs

(create-void-zero)

Returns: VoidExpression

**Returns:** `VoidExpression`
sourceraw docstring

create-while-statementcljs

(create-while-statement expression statement)

Parameters:

  • expression: Expression
  • statement: Statement

Returns: WhileStatement

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

**Returns:** `WhileStatement`
sourceraw docstring

create-with-statementcljs

(create-with-statement expression statement)

Parameters:

  • expression: Expression
  • statement: Statement

Returns: WithStatement

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

**Returns:** `WithStatement`
sourceraw docstring

create-yield-expressioncljs

(create-yield-expression)
(create-yield-expression asterisk-token)
(create-yield-expression 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)
(generated-name-for-node node)
(generated-name-for-node 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)

Parameters:

  • node: Node

Returns: PrivateIdentifier

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

**Returns:** `PrivateIdentifier`
sourceraw docstring

replace-decorators-and-modifierscljs

(replace-decorators-and-modifiers node)
(replace-decorators-and-modifiers 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)
(replace-modifiers 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 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)
(restore-outer-expressions outer-expression)
(restore-outer-expressions outer-expression inner-expression)
(restore-outer-expressions 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 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 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 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)
(update-arrow-function node modifiers)
(update-arrow-function node modifiers type-parameters)
(update-arrow-function node modifiers type-parameters parameters)
(update-arrow-function node modifiers type-parameters parameters type)
(update-arrow-function node
                       modifiers
                       type-parameters
                       parameters
                       type
                       equals-greater-than-token)
(update-arrow-function 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 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 elements)
(update-assert-clause 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 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 expression)

Parameters:

  • node: AwaitExpression
  • expression: Expression

Returns: AwaitExpression

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

**Returns:** `AwaitExpression`
sourceraw docstring

update-binary-expressioncljs

(update-binary-expression 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)
(update-binding-element node dot-dot-dot-token)
(update-binding-element node dot-dot-dot-token property-name)
(update-binding-element node dot-dot-dot-token property-name name)
(update-binding-element 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 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)
(update-break-statement 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 source-files)
(update-bundle 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 expression)
(update-call-chain node expression question-dot-token)
(update-call-chain node expression question-dot-token type-arguments)
(update-call-chain 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 expression)
(update-call-expression node expression type-arguments)
(update-call-expression 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)
(update-call-signature node type-parameters)
(update-call-signature node type-parameters parameters)
(update-call-signature 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 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 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)
(update-catch-clause node variable-declaration)
(update-catch-clause 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)
(update-class-declaration node modifiers)
(update-class-declaration node modifiers name)
(update-class-declaration node modifiers name type-parameters)
(update-class-declaration node modifiers name type-parameters heritage-clauses)
(update-class-declaration 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)
(update-class-expression node modifiers)
(update-class-expression node modifiers name)
(update-class-expression node modifiers name type-parameters)
(update-class-expression node modifiers name type-parameters heritage-clauses)
(update-class-expression 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 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 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 expression)

Parameters:

  • node: ComputedPropertyName
  • expression: Expression

Returns: ComputedPropertyName

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

**Returns:** `ComputedPropertyName`
sourceraw docstring

update-conditional-expressioncljs

(update-conditional-expression 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 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)
(update-construct-signature node type-parameters)
(update-construct-signature node type-parameters parameters)
(update-construct-signature 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)
(update-constructor-declaration node modifiers)
(update-constructor-declaration node modifiers parameters)
(update-constructor-declaration 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)
(update-constructor-type-node node modifiers)
(update-constructor-type-node node modifiers type-parameters)
(update-constructor-type-node node modifiers type-parameters parameters)
(update-constructor-type-node 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)
(update-continue-statement 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 expression)

Parameters:

  • node: Decorator
  • expression: Expression

Returns: Decorator

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

**Returns:** `Decorator`
sourceraw docstring

update-default-clausecljs

(update-default-clause 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 expression)

Parameters:

  • node: DeleteExpression
  • expression: Expression

Returns: DeleteExpression

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

**Returns:** `DeleteExpression`
sourceraw docstring

update-do-statementcljs

(update-do-statement 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 expression)
(update-element-access-chain node expression question-dot-token)
(update-element-access-chain 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 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)
(update-enum-declaration node modifiers)
(update-enum-declaration node modifiers name)
(update-enum-declaration 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 name)
(update-enum-member 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)
(update-export-assignment node modifiers)
(update-export-assignment 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)
(update-export-declaration node modifiers)
(update-export-declaration node modifiers type-only?)
(update-export-declaration node modifiers type-only? export-clause)
(update-export-declaration node
                           modifiers
                           type-only?
                           export-clause
                           module-specifier)
(update-export-declaration 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 type-only?)
(update-export-specifier node type-only? property-name)
(update-export-specifier 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 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 expression)
(update-expression-with-type-arguments 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 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 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)
(update-for-of-statement node await-modifier)
(update-for-of-statement node await-modifier initializer)
(update-for-of-statement node await-modifier initializer expression)
(update-for-of-statement 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)
(update-for-statement node initializer)
(update-for-statement node initializer condition)
(update-for-statement node initializer condition incrementor)
(update-for-statement 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)
(update-function-declaration node modifiers)
(update-function-declaration node modifiers asterisk-token)
(update-function-declaration node modifiers asterisk-token name)
(update-function-declaration node modifiers asterisk-token name type-parameters)
(update-function-declaration node
                             modifiers
                             asterisk-token
                             name
                             type-parameters
                             parameters)
(update-function-declaration node
                             modifiers
                             asterisk-token
                             name
                             type-parameters
                             parameters
                             type)
(update-function-declaration 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)
(update-function-expression node modifiers)
(update-function-expression node modifiers asterisk-token)
(update-function-expression node modifiers asterisk-token name)
(update-function-expression node modifiers asterisk-token name type-parameters)
(update-function-expression node
                            modifiers
                            asterisk-token
                            name
                            type-parameters
                            parameters)
(update-function-expression node
                            modifiers
                            asterisk-token
                            name
                            type-parameters
                            parameters
                            type)
(update-function-expression 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)
(update-function-type-node node type-parameters)
(update-function-type-node node type-parameters parameters)
(update-function-type-node 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)
(update-get-accessor-declaration node modifiers)
(update-get-accessor-declaration node modifiers name)
(update-get-accessor-declaration node modifiers name parameters)
(update-get-accessor-declaration node modifiers name parameters type)
(update-get-accessor-declaration 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 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 expression then-statement)
(update-if-statement 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 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 elements)
(update-import-attributes 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 type-only?)
(update-import-clause node type-only? name)
(update-import-clause 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)
(update-import-declaration node modifiers)
(update-import-declaration node modifiers import-clause)
(update-import-declaration node modifiers import-clause module-specifier)
(update-import-declaration 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)
(update-import-equals-declaration node modifiers)
(update-import-equals-declaration node modifiers type-only?)
(update-import-equals-declaration node modifiers type-only? name)
(update-import-equals-declaration 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 type-only?)
(update-import-specifier node type-only? property-name)
(update-import-specifier 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 clause)
(update-import-type-assertion-container 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 argument)
(update-import-type-node node argument attributes)
(update-import-type-node node argument attributes qualifier)
(update-import-type-node node argument attributes qualifier type-arguments)
(update-import-type-node 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)
(update-index-signature node modifiers)
(update-index-signature node modifiers parameters)
(update-index-signature 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 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 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)
(update-interface-declaration node modifiers)
(update-interface-declaration node modifiers name)
(update-interface-declaration node modifiers name type-parameters)
(update-interface-declaration node
                              modifiers
                              name
                              type-parameters
                              heritage-clauses)
(update-interface-declaration 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 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)
(update-js-doc-augments-tag node tag-name)
(update-js-doc-augments-tag node tag-name class-name)
(update-js-doc-augments-tag 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)
(update-js-doc-author-tag node tag-name)
(update-js-doc-author-tag 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)
(update-js-doc-callback-tag node tag-name)
(update-js-doc-callback-tag node tag-name type-expression)
(update-js-doc-callback-tag node tag-name type-expression full-name)
(update-js-doc-callback-tag 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)
(update-js-doc-class-tag node tag-name)
(update-js-doc-class-tag 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)
(update-js-doc-comment node comment)
(update-js-doc-comment 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)
(update-js-doc-deprecated-tag node tag-name)
(update-js-doc-deprecated-tag 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)
(update-js-doc-enum-tag node tag-name)
(update-js-doc-enum-tag node tag-name type-expression)
(update-js-doc-enum-tag 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 parameters)
(update-js-doc-function-type 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)
(update-js-doc-implements-tag node tag-name)
(update-js-doc-implements-tag node tag-name class-name)
(update-js-doc-implements-tag 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)
(update-js-doc-link node name)
(update-js-doc-link 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)
(update-js-doc-link-code node name)
(update-js-doc-link-code 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)
(update-js-doc-link-plain node name)
(update-js-doc-link-plain 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 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 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 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 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 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 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)
(update-js-doc-overload-tag node tag-name)
(update-js-doc-overload-tag node tag-name type-expression)
(update-js-doc-overload-tag 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)
(update-js-doc-override-tag node tag-name)
(update-js-doc-override-tag 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)
(update-js-doc-parameter-tag node tag-name)
(update-js-doc-parameter-tag node tag-name name)
(update-js-doc-parameter-tag node tag-name name bracketed?)
(update-js-doc-parameter-tag node tag-name name bracketed? type-expression)
(update-js-doc-parameter-tag node
                             tag-name
                             name
                             bracketed?
                             type-expression
                             name-first?)
(update-js-doc-parameter-tag 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)
(update-js-doc-private-tag node tag-name)
(update-js-doc-private-tag 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)
(update-js-doc-property-tag node tag-name)
(update-js-doc-property-tag node tag-name name)
(update-js-doc-property-tag node tag-name name bracketed?)
(update-js-doc-property-tag node tag-name name bracketed? type-expression)
(update-js-doc-property-tag node
                            tag-name
                            name
                            bracketed?
                            type-expression
                            name-first?)
(update-js-doc-property-tag 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)
(update-js-doc-protected-tag node tag-name)
(update-js-doc-protected-tag 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)
(update-js-doc-public-tag node tag-name)
(update-js-doc-public-tag 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)
(update-js-doc-readonly-tag node tag-name)
(update-js-doc-readonly-tag 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)
(update-js-doc-return-tag node tag-name)
(update-js-doc-return-tag node tag-name type-expression)
(update-js-doc-return-tag 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)
(update-js-doc-satisfies-tag node tag-name)
(update-js-doc-satisfies-tag node tag-name type-expression)
(update-js-doc-satisfies-tag 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)
(update-js-doc-see-tag node tag-name)
(update-js-doc-see-tag node tag-name name-expression)
(update-js-doc-see-tag 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)
(update-js-doc-signature node type-parameters)
(update-js-doc-signature node type-parameters parameters)
(update-js-doc-signature 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)
(update-js-doc-template-tag node tag-name)
(update-js-doc-template-tag node tag-name constraint)
(update-js-doc-template-tag node tag-name constraint type-parameters)
(update-js-doc-template-tag 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 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)
(update-js-doc-this-tag node tag-name)
(update-js-doc-this-tag node tag-name type-expression)
(update-js-doc-this-tag 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)
(update-js-doc-throws-tag node tag-name)
(update-js-doc-throws-tag node tag-name type-expression)
(update-js-doc-throws-tag 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 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)
(update-js-doc-type-literal node js-doc-property-tags)
(update-js-doc-type-literal 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)
(update-js-doc-type-tag node tag-name)
(update-js-doc-type-tag node tag-name type-expression)
(update-js-doc-type-tag 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)
(update-js-doc-typedef-tag node tag-name)
(update-js-doc-typedef-tag node tag-name type-expression)
(update-js-doc-typedef-tag node tag-name type-expression full-name)
(update-js-doc-typedef-tag 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 tag-name)
(update-js-doc-unknown-tag 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 type)

Parameters:

  • node: JSDocVariadicType
  • type: TypeNode

Returns: JSDocVariadicType

**Parameters:**
- `node`: `JSDocVariadicType`
- `type`: `TypeNode`

**Returns:** `JSDocVariadicType`
sourceraw docstring

update-jsx-attributecljs

(update-jsx-attribute node name)
(update-jsx-attribute 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 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 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 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)
(update-jsx-expression 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 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 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 tag-name)
(update-jsx-opening-element node tag-name type-arguments)
(update-jsx-opening-element 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 tag-name)
(update-jsx-self-closing-element node tag-name type-arguments)
(update-jsx-self-closing-element 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 expression)

Parameters:

  • node: JsxSpreadAttribute
  • expression: Expression

Returns: JsxSpreadAttribute

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

**Returns:** `JsxSpreadAttribute`
sourceraw docstring

update-jsx-textcljs

(update-jsx-text node text)
(update-jsx-text 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 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 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)
(update-mapped-type-node node readonly-token)
(update-mapped-type-node node readonly-token type-parameter)
(update-mapped-type-node node readonly-token type-parameter name-type)
(update-mapped-type-node node
                         readonly-token
                         type-parameter
                         name-type
                         question-token)
(update-mapped-type-node node
                         readonly-token
                         type-parameter
                         name-type
                         question-token
                         type)
(update-mapped-type-node 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 name)

Parameters:

  • node: MetaProperty
  • name: Identifier

Returns: MetaProperty

**Parameters:**
- `node`: `MetaProperty`
- `name`: `Identifier`

**Returns:** `MetaProperty`
sourceraw docstring

update-method-declarationcljs

(update-method-declaration node)
(update-method-declaration node modifiers)
(update-method-declaration node modifiers asterisk-token)
(update-method-declaration node modifiers asterisk-token name)
(update-method-declaration node modifiers asterisk-token name question-token)
(update-method-declaration node
                           modifiers
                           asterisk-token
                           name
                           question-token
                           type-parameters)
(update-method-declaration node
                           modifiers
                           asterisk-token
                           name
                           question-token
                           type-parameters
                           parameters)
(update-method-declaration node
                           modifiers
                           asterisk-token
                           name
                           question-token
                           type-parameters
                           parameters
                           type)
(update-method-declaration 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)
(update-method-signature node modifiers)
(update-method-signature node modifiers name)
(update-method-signature node modifiers name question-token)
(update-method-signature node modifiers name question-token type-parameters)
(update-method-signature node
                         modifiers
                         name
                         question-token
                         type-parameters
                         parameters)
(update-method-signature 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 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)
(update-module-declaration node modifiers)
(update-module-declaration node modifiers name)
(update-module-declaration 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 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 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)
(update-named-tuple-member node dot-dot-dot-token)
(update-named-tuple-member node dot-dot-dot-token name)
(update-named-tuple-member node dot-dot-dot-token name question-token)
(update-named-tuple-member 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 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 name)

Parameters:

  • node: NamespaceExportDeclaration
  • name: Identifier

Returns: NamespaceExportDeclaration

**Parameters:**
- `node`: `NamespaceExportDeclaration`
- `name`: `Identifier`

**Returns:** `NamespaceExportDeclaration`
sourceraw docstring

update-namespace-importcljs

(update-namespace-import 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 expression)
(update-new-expression node expression type-arguments)
(update-new-expression 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 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 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 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 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 type)

Parameters:

  • node: OptionalTypeNode
  • type: TypeNode

Returns: OptionalTypeNode

**Parameters:**
- `node`: `OptionalTypeNode`
- `type`: `TypeNode`

**Returns:** `OptionalTypeNode`
sourceraw docstring

update-parameter-declarationcljs

(update-parameter-declaration node)
(update-parameter-declaration node modifiers)
(update-parameter-declaration node modifiers dot-dot-dot-token)
(update-parameter-declaration node modifiers dot-dot-dot-token name)
(update-parameter-declaration node
                              modifiers
                              dot-dot-dot-token
                              name
                              question-token)
(update-parameter-declaration node
                              modifiers
                              dot-dot-dot-token
                              name
                              question-token
                              type)
(update-parameter-declaration 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 expression)

Parameters:

  • node: ParenthesizedExpression
  • expression: Expression

Returns: ParenthesizedExpression

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

**Returns:** `ParenthesizedExpression`
sourceraw docstring

update-parenthesized-typecljs

(update-parenthesized-type 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 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 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 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 expression)
(update-property-access-chain node expression question-dot-token)
(update-property-access-chain 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 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 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)
(update-property-declaration node modifiers)
(update-property-declaration node modifiers name)
(update-property-declaration node modifiers name question-or-exclamation-token)
(update-property-declaration node
                             modifiers
                             name
                             question-or-exclamation-token
                             type)
(update-property-declaration 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)
(update-property-signature node modifiers)
(update-property-signature node modifiers name)
(update-property-signature node modifiers name question-token)
(update-property-signature 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 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 type)

Parameters:

  • node: RestTypeNode
  • type: TypeNode

Returns: RestTypeNode

**Parameters:**
- `node`: `RestTypeNode`
- `type`: `TypeNode`

**Returns:** `RestTypeNode`
sourceraw docstring

update-return-statementcljs

(update-return-statement node)
(update-return-statement 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 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)
(update-set-accessor-declaration node modifiers)
(update-set-accessor-declaration node modifiers name)
(update-set-accessor-declaration node modifiers name parameters)
(update-set-accessor-declaration 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 name)
(update-shorthand-property-assignment 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 statements)
(update-source-file node statements declaration-file?)
(update-source-file node statements declaration-file? referenced-files)
(update-source-file node
                    statements
                    declaration-file?
                    referenced-files
                    type-references)
(update-source-file node
                    statements
                    declaration-file?
                    referenced-files
                    type-references
                    has-no-default-lib?)
(update-source-file 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 expression)

Parameters:

  • node: SpreadAssignment
  • expression: Expression

Returns: SpreadAssignment

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

**Returns:** `SpreadAssignment`
sourceraw docstring

update-spread-elementcljs

(update-spread-element 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 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 tag)
(update-tagged-template-expression node tag type-arguments)
(update-tagged-template-expression 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 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 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 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 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 expression)

Parameters:

  • node: ThrowStatement
  • expression: Expression

Returns: ThrowStatement

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

**Returns:** `ThrowStatement`
sourceraw docstring

update-try-statementcljs

(update-try-statement node try-block)
(update-try-statement node try-block catch-clause)
(update-try-statement 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 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)
(update-type-alias-declaration node modifiers)
(update-type-alias-declaration node modifiers name)
(update-type-alias-declaration node modifiers name type-parameters)
(update-type-alias-declaration 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 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 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 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 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)
(update-type-parameter-declaration node modifiers)
(update-type-parameter-declaration node modifiers name)
(update-type-parameter-declaration node modifiers name constraint)
(update-type-parameter-declaration 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)
(update-type-predicate-node node asserts-modifier)
(update-type-predicate-node node asserts-modifier parameter-name)
(update-type-predicate-node 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 expr-name)
(update-type-query-node 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 type-name)
(update-type-reference-node 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 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 name)
(update-variable-declaration node name exclamation-token)
(update-variable-declaration node name exclamation-token type)
(update-variable-declaration 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 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)
(update-variable-statement node modifiers)
(update-variable-statement 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 expression)

Parameters:

  • node: VoidExpression
  • expression: Expression

Returns: VoidExpression

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

**Returns:** `VoidExpression`
sourceraw docstring

update-while-statementcljs

(update-while-statement 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 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)
(update-yield-expression node asterisk-token)
(update-yield-expression 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