(child-at type-parameter-declaration index)
(child-at type-parameter-declaration index source-file)
Parameters:
index
: number
source-file
: SourceFile | undefined
Returns: Node
**Parameters:** - `index`: `number` - `source-file`: `SourceFile | undefined` **Returns:** `Node`
(child-count type-parameter-declaration)
(child-count type-parameter-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(children type-parameter-declaration)
(children type-parameter-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node[]
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node[]`
(constraint type-parameter-declaration)
Note: Consider calling getEffectiveConstraintOfTypeParameter
Returns: TypeNode | undefined
Note: Consider calling `getEffectiveConstraintOfTypeParameter` **Returns:** `TypeNode | undefined`
(default type-parameter-declaration)
Returns: TypeNode | undefined
**Returns:** `TypeNode | undefined`
(expression type-parameter-declaration)
Returns: Expression | undefined
**Returns:** `Expression | undefined`
(first-token type-parameter-declaration)
(first-token type-parameter-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(flags type-parameter-declaration)
Returns: NodeFlags
**Returns:** `NodeFlags`
(for-each-child type-parameter-declaration cb-node)
(for-each-child type-parameter-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`
(full-start type-parameter-declaration)
Returns: number
**Returns:** `number`
(full-text type-parameter-declaration)
(full-text type-parameter-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(full-width type-parameter-declaration)
Returns: number
**Returns:** `number`
(get-end type-parameter-declaration)
Returns: number
**Returns:** `number`
(kind type-parameter-declaration)
Returns: SyntaxKind.TypeParameter
**Returns:** `SyntaxKind.TypeParameter`
(last-token type-parameter-declaration)
(last-token type-parameter-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(leading-trivia-width type-parameter-declaration)
(leading-trivia-width type-parameter-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(modifiers type-parameter-declaration)
Returns: NodeArray<Modifier> | undefined
**Returns:** `NodeArray<Modifier> | undefined`
(name type-parameter-declaration)
Returns: Identifier
**Returns:** `Identifier`
(parent type-parameter-declaration)
Returns: DeclarationWithTypeParameterChildren | InferTypeNode
**Returns:** `DeclarationWithTypeParameterChildren | InferTypeNode`
(source-file type-parameter-declaration)
Returns: SourceFile
**Returns:** `SourceFile`
(start type-parameter-declaration)
(start type-parameter-declaration source-file)
(start type-parameter-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`
(text type-parameter-declaration)
(text type-parameter-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(width type-parameter-declaration)
(width type-parameter-declaration 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