Liking cljdoc? Tell your friends :D

dots.typescript.import-clause


child-atcljs

(child-at import-clause index)
(child-at import-clause 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-clause)
(child-count import-clause source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: number

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

**Returns:** `number`
sourceraw docstring

childrencljs

(children import-clause)
(children import-clause source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node[]

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

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

endcljs

(end import-clause)

Returns: number

**Returns:** `number`
sourceraw docstring

first-tokencljs

(first-token import-clause)
(first-token import-clause source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node | undefined

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

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

flagscljs

(flags import-clause)

Returns: NodeFlags

**Returns:** `NodeFlags`
sourceraw docstring

for-each-childcljs

(for-each-child import-clause cb-node)
(for-each-child import-clause 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-clause)

Returns: number

**Returns:** `number`
sourceraw docstring

full-textcljs

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

Parameters:

  • source-file: SourceFile | undefined

Returns: string

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

**Returns:** `string`
sourceraw docstring

full-widthcljs

(full-width import-clause)

Returns: number

**Returns:** `number`
sourceraw docstring

get-endcljs

(get-end import-clause)

Returns: number

**Returns:** `number`
sourceraw docstring

kindcljs

(kind import-clause)

Returns: SyntaxKind.ImportClause

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

last-tokencljs

(last-token import-clause)
(last-token import-clause 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-clause)
(leading-trivia-width import-clause source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: number

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

**Returns:** `number`
sourceraw docstring

namecljs

(name import-clause)

Returns: Identifier | undefined

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

named-bindingscljs

(named-bindings import-clause)

Returns: NamedImportBindings | undefined

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

parentcljs

(parent import-clause)

Returns: ImportDeclaration

**Returns:** `ImportDeclaration`
sourceraw docstring

poscljs

(pos import-clause)

Returns: number

**Returns:** `number`
sourceraw docstring

source-filecljs

(source-file import-clause)

Returns: SourceFile

**Returns:** `SourceFile`
sourceraw docstring

startcljs

(start import-clause)
(start import-clause source-file)
(start import-clause 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-clause)
(text import-clause source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: string

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

**Returns:** `string`
sourceraw docstring

type-only?cljs

(type-only? import-clause)

Returns: boolean

**Returns:** `boolean`
sourceraw docstring

widthcljs

(width import-clause)
(width import-clause 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