(child-at jsx-text index)
(child-at jsx-text index source-file)
Parameters:
index
: number
source-file
: SourceFile | undefined
Returns: Node
**Parameters:** - `index`: `number` - `source-file`: `SourceFile | undefined` **Returns:** `Node`
(child-count jsx-text)
(child-count jsx-text source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(children jsx-text)
(children jsx-text source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node[]
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node[]`
(contains-only-trivia-white-spaces? jsx-text)
Returns: boolean
**Returns:** `boolean`
(first-token jsx-text)
(first-token jsx-text source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(for-each-child jsx-text cb-node)
(for-each-child jsx-text 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 jsx-text)
(full-text jsx-text source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(get-text jsx-text)
(get-text jsx-text source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(has-extended-unicode-escape? jsx-text)
Returns: boolean | undefined
**Returns:** `boolean | undefined`
(kind jsx-text)
Returns: SyntaxKind.JsxText
**Returns:** `SyntaxKind.JsxText`
(last-token jsx-text)
(last-token jsx-text source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(leading-trivia-width jsx-text)
(leading-trivia-width jsx-text source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(parent jsx-text)
Returns: JsxElement | JsxFragment
**Returns:** `JsxElement | JsxFragment`
(source-file jsx-text)
Returns: SourceFile
**Returns:** `SourceFile`
(start jsx-text)
(start jsx-text source-file)
(start jsx-text 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`
(unterminated? jsx-text)
Returns: boolean | undefined
**Returns:** `boolean | undefined`
(width jsx-text)
(width jsx-text 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