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