Liking cljdoc? Tell your friends :D

dots.typescript.import-declaration


assert-clausecljs

(assert-clause import-declaration)

Returns: AssertClause | undefined

**Returns:** `AssertClause | undefined`
sourceraw docstring

attributescljs

(attributes import-declaration)

Returns: ImportAttributes | undefined

**Returns:** `ImportAttributes | undefined`
sourceraw docstring

child-atcljs

(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`
sourceraw docstring

child-countcljs

(child-count import-declaration)
(child-count import-declaration source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: number

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `number`
sourceraw docstring

childrencljs

(children import-declaration)
(children import-declaration source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node[]

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `Node[]`
sourceraw docstring

endcljs

(end import-declaration)

Returns: number

**Returns:** `number`
sourceraw docstring

first-tokencljs

(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`
sourceraw docstring

flagscljs

(flags import-declaration)

Returns: NodeFlags

**Returns:** `NodeFlags`
sourceraw docstring

for-each-childcljs

(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`
sourceraw docstring

full-startcljs

(full-start import-declaration)

Returns: number

**Returns:** `number`
sourceraw docstring

full-textcljs

(full-text import-declaration)
(full-text import-declaration source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: string

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `string`
sourceraw docstring

full-widthcljs

(full-width import-declaration)

Returns: number

**Returns:** `number`
sourceraw docstring

get-endcljs

(get-end import-declaration)

Returns: number

**Returns:** `number`
sourceraw docstring

import-clausecljs

(import-clause import-declaration)

Returns: ImportClause | undefined

**Returns:** `ImportClause | undefined`
sourceraw docstring

kindcljs

(kind import-declaration)

Returns: SyntaxKind.ImportDeclaration

**Returns:** `SyntaxKind.ImportDeclaration`
sourceraw docstring

last-tokencljs

(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`
sourceraw docstring

leading-trivia-widthcljs

(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`
sourceraw docstring

modifierscljs

(modifiers import-declaration)

Returns: NodeArray<ModifierLike> | undefined

**Returns:** `NodeArray<ModifierLike> | undefined`
sourceraw docstring

module-specifiercljs

(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`
sourceraw docstring

parentcljs

(parent import-declaration)

Returns: SourceFile | ModuleBlock

**Returns:** `SourceFile | ModuleBlock`
sourceraw docstring

poscljs

(pos import-declaration)

Returns: number

**Returns:** `number`
sourceraw docstring

source-filecljs

(source-file import-declaration)

Returns: SourceFile

**Returns:** `SourceFile`
sourceraw docstring

startcljs

(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`
sourceraw docstring

textcljs

(text import-declaration)
(text import-declaration source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: string

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `string`
sourceraw docstring

widthcljs

(width import-declaration)
(width import-declaration source-file)

Parameters:

  • source-file: SourceFileLike | undefined

Returns: number

**Parameters:**
- `source-file`: `SourceFileLike | undefined`

**Returns:** `number`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close