(assert-clause import-declaration)
Returns: AssertClause | undefined
**Returns:** `AssertClause | undefined`
(attributes import-declaration)
Returns: ImportAttributes | undefined
**Returns:** `ImportAttributes | undefined`
(child-at import-declaration index)
(child-at import-declaration index source-file)
Parameters:
index
: number
source-file
: SourceFile | undefined
Returns: Node
**Parameters:** - `index`: `number` - `source-file`: `SourceFile | undefined` **Returns:** `Node`
(child-count import-declaration)
(child-count import-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(children import-declaration)
(children import-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node[]
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node[]`
(first-token import-declaration)
(first-token import-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(for-each-child import-declaration cb-node)
(for-each-child import-declaration 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-declaration)
Returns: number
**Returns:** `number`
(full-text import-declaration)
(full-text import-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(full-width import-declaration)
Returns: number
**Returns:** `number`
(import-clause import-declaration)
Returns: ImportClause | undefined
**Returns:** `ImportClause | undefined`
(kind import-declaration)
Returns: SyntaxKind.ImportDeclaration
**Returns:** `SyntaxKind.ImportDeclaration`
(last-token import-declaration)
(last-token import-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(leading-trivia-width import-declaration)
(leading-trivia-width import-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(modifiers import-declaration)
Returns: NodeArray<ModifierLike> | undefined
**Returns:** `NodeArray<ModifierLike> | undefined`
(module-specifier import-declaration)
If this is not a StringLiteral it will be a grammar error.
Returns: Expression
If this is not a StringLiteral it will be a grammar error. **Returns:** `Expression`
(parent import-declaration)
Returns: SourceFile | ModuleBlock
**Returns:** `SourceFile | ModuleBlock`
(source-file import-declaration)
Returns: SourceFile
**Returns:** `SourceFile`
(start import-declaration)
(start import-declaration source-file)
(start import-declaration 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-declaration)
(text import-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(width import-declaration)
(width import-declaration 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