(child-at literal-type-node index)
(child-at literal-type-node index source-file)
Parameters:
index
: number
source-file
: SourceFile | undefined
Returns: Node
**Parameters:** - `index`: `number` - `source-file`: `SourceFile | undefined` **Returns:** `Node`
(child-count literal-type-node)
(child-count literal-type-node source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(children literal-type-node)
(children literal-type-node source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node[]
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node[]`
(first-token literal-type-node)
(first-token literal-type-node source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(for-each-child literal-type-node cb-node)
(for-each-child literal-type-node 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 literal-type-node)
Returns: number
**Returns:** `number`
(full-text literal-type-node)
(full-text literal-type-node source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(full-width literal-type-node)
Returns: number
**Returns:** `number`
(kind literal-type-node)
Returns: SyntaxKind.LiteralType
**Returns:** `SyntaxKind.LiteralType`
(last-token literal-type-node)
(last-token literal-type-node source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(leading-trivia-width literal-type-node)
(leading-trivia-width literal-type-node source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(literal literal-type-node)
Returns: LiteralExpression | NullLiteral | BooleanLiteral | PrefixUnaryExpression
**Returns:** `LiteralExpression | NullLiteral | BooleanLiteral | PrefixUnaryExpression`
(source-file literal-type-node)
Returns: SourceFile
**Returns:** `SourceFile`
(start literal-type-node)
(start literal-type-node source-file)
(start literal-type-node 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 literal-type-node)
(text literal-type-node source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(width literal-type-node)
(width literal-type-node 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