(child-at interface-declaration index)
(child-at interface-declaration index source-file)
Parameters:
index
: number
source-file
: SourceFile | undefined
Returns: Node
**Parameters:** - `index`: `number` - `source-file`: `SourceFile | undefined` **Returns:** `Node`
(child-count interface-declaration)
(child-count interface-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(children interface-declaration)
(children interface-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node[]
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node[]`
(first-token interface-declaration)
(first-token interface-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(flags interface-declaration)
Returns: NodeFlags
**Returns:** `NodeFlags`
(for-each-child interface-declaration cb-node)
(for-each-child interface-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 interface-declaration)
Returns: number
**Returns:** `number`
(full-text interface-declaration)
(full-text interface-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(full-width interface-declaration)
Returns: number
**Returns:** `number`
(heritage-clauses interface-declaration)
Returns: NodeArray<HeritageClause> | undefined
**Returns:** `NodeArray<HeritageClause> | undefined`
(kind interface-declaration)
Returns: SyntaxKind.InterfaceDeclaration
**Returns:** `SyntaxKind.InterfaceDeclaration`
(last-token interface-declaration)
(last-token interface-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: Node | undefined
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `Node | undefined`
(leading-trivia-width interface-declaration)
(leading-trivia-width interface-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: number
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `number`
(members interface-declaration)
Returns: NodeArray<TypeElement>
**Returns:** `NodeArray<TypeElement>`
(modifiers interface-declaration)
Returns: NodeArray<ModifierLike> | undefined
**Returns:** `NodeArray<ModifierLike> | undefined`
(name interface-declaration)
Returns: Identifier
**Returns:** `Identifier`
(source-file interface-declaration)
Returns: SourceFile
**Returns:** `SourceFile`
(start interface-declaration)
(start interface-declaration source-file)
(start interface-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 interface-declaration)
(text interface-declaration source-file)
Parameters:
source-file
: SourceFile | undefined
Returns: string
**Parameters:** - `source-file`: `SourceFile | undefined` **Returns:** `string`
(type-parameters interface-declaration)
Returns: NodeArray<TypeParameterDeclaration> | undefined
**Returns:** `NodeArray<TypeParameterDeclaration> | undefined`
(width interface-declaration)
(width interface-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