This is either an export =
or an export default
declaration.
Unless isExportEquals
is set, this node was parsed as an export default
.
This is either an `export =` or an `export default` declaration. Unless `isExportEquals` is set, this node was parsed as an `export default`.
(child-at export-assignment index)
(child-at export-assignment index source-file)
Parameters:
index
: number
source-file
: SourceFile | undefined
Returns: Node
**Parameters:** - `index`: `number` - `source-file`: `SourceFile | undefined` **Returns:** `Node`
(child-count export-assignment)
(child-count export-assignment source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(children export-assignment)
(children export-assignment source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node[]
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node[]`
(export-equals? export-assignment)
Returns: boolean | undefined
**Returns:** `boolean | undefined`
(expression export-assignment)
Returns: Expression
**Returns:** `Expression`
(first-token export-assignment)
(first-token export-assignment source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(for-each-child export-assignment cb-node)
(for-each-child export-assignment cb-node cb-node-array)
Parameters:
cb-node
: (node: Node) => T | undefined
cb-node-array
: ((nodes: NodeArray<Node>) => T | undefined) | undefined
Returns: T | undefined
**Parameters:** - `cb-node`: `(node: Node) => T | undefined` - `cb-node-array`: `((nodes: NodeArray<Node>) => T | undefined) | undefined` **Returns:** `T | undefined`
(full-start export-assignment)
Returns: number
**Returns:** `number`
(full-text export-assignment)
(full-text export-assignment source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(full-width export-assignment)
Returns: number
**Returns:** `number`
(kind export-assignment)
Returns: SyntaxKind.ExportAssignment
**Returns:** `SyntaxKind.ExportAssignment`
(last-token export-assignment)
(last-token export-assignment source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(leading-trivia-width export-assignment)
(leading-trivia-width export-assignment source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(modifiers export-assignment)
Returns: NodeArray<ModifierLike> | undefined
**Returns:** `NodeArray<ModifierLike> | undefined`
(name export-assignment)
Returns: Identifier | StringLiteral | NumericLiteral | undefined
**Returns:** `Identifier | StringLiteral | NumericLiteral | undefined`
(parent export-assignment)
Returns: SourceFile
**Returns:** `SourceFile`
(source-file export-assignment)
Returns: SourceFile
**Returns:** `SourceFile`
(start export-assignment)
(start export-assignment source-file)
(start export-assignment source-file include-js-doc-comment?)
Parameters:
source-file
: SourceFile | undefined
include-js-doc-comment?
: boolean | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` - `include-js-doc-comment?`: `boolean | undefined` **Returns:** `number`
(text export-assignment)
(text export-assignment source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(width export-assignment)
(width export-assignment source-file)
Parameters:
source-file
: SourceFileLike | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFileLike | undefined` **Returns:** `number`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close