(child-at import-attributes index)
(child-at import-attributes index source-file)
Parameters:
index
: number
source-file
: SourceFile | undefined
Returns: Node
**Parameters:** - `index`: `number` - `source-file`: `SourceFile | undefined` **Returns:** `Node`
(child-count import-attributes)
(child-count import-attributes source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(children import-attributes)
(children import-attributes source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node[]
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node[]`
(elements import-attributes)
Returns: NodeArray<ImportAttribute>
**Returns:** `NodeArray<ImportAttribute>`
(first-token import-attributes)
(first-token import-attributes source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(for-each-child import-attributes cb-node)
(for-each-child import-attributes 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 import-attributes)
Returns: number
**Returns:** `number`
(full-text import-attributes)
(full-text import-attributes source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(full-width import-attributes)
Returns: number
**Returns:** `number`
(kind import-attributes)
Returns: SyntaxKind.ImportAttributes
**Returns:** `SyntaxKind.ImportAttributes`
(last-token import-attributes)
(last-token import-attributes source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(leading-trivia-width import-attributes)
(leading-trivia-width import-attributes source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(multi-line? import-attributes)
Returns: boolean | undefined
**Returns:** `boolean | undefined`
(parent import-attributes)
Returns: ExportDeclaration | ImportDeclaration
**Returns:** `ExportDeclaration | ImportDeclaration`
(source-file import-attributes)
Returns: SourceFile
**Returns:** `SourceFile`
(start import-attributes)
(start import-attributes source-file)
(start import-attributes 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 import-attributes)
(text import-attributes source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(token import-attributes)
Returns: SyntaxKind.WithKeyword | SyntaxKind.AssertKeyword
**Returns:** `SyntaxKind.WithKeyword | SyntaxKind.AssertKeyword`
(width import-attributes)
(width import-attributes 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