Liking cljdoc? Tell your friends :D

dots.typescript.object-literal-expression-base

This interface is a base interface for ObjectLiteralExpression and JSXAttributes to extend from. JSXAttributes is similar to ObjectLiteralExpression in that it contains array of properties; however, JSXAttributes' properties can only be JSXAttribute or JSXSpreadAttribute. ObjectLiteralExpression, on the other hand, can only have properties of type ObjectLiteralElement (e.g. PropertyAssignment, ShorthandPropertyAssignment etc.)

This interface is a base interface for ObjectLiteralExpression and JSXAttributes to extend from. JSXAttributes is similar to
ObjectLiteralExpression in that it contains array of properties; however, JSXAttributes' properties can only be
JSXAttribute or JSXSpreadAttribute. ObjectLiteralExpression, on the other hand, can only have properties of type
ObjectLiteralElement (e.g. PropertyAssignment, ShorthandPropertyAssignment etc.)
raw docstring

child-atcljs

(child-at object-literal-expression-base index)
(child-at object-literal-expression-base index source-file)

Parameters:

  • index: number
  • source-file: SourceFile | undefined

Returns: Node

**Parameters:**
- `index`: `number`
- `source-file`: `SourceFile | undefined`

**Returns:** `Node`
sourceraw docstring

child-countcljs

(child-count object-literal-expression-base)
(child-count object-literal-expression-base source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: number

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `number`
sourceraw docstring

childrencljs

(children object-literal-expression-base)
(children object-literal-expression-base source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node[]

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `Node[]`
sourceraw docstring

endcljs

(end object-literal-expression-base)

Returns: number

**Returns:** `number`
sourceraw docstring

first-tokencljs

(first-token object-literal-expression-base)
(first-token object-literal-expression-base source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node | undefined

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `Node | undefined`
sourceraw docstring

flagscljs

(flags object-literal-expression-base)

Returns: NodeFlags

**Returns:** `NodeFlags`
sourceraw docstring

for-each-childcljs

(for-each-child object-literal-expression-base cb-node)
(for-each-child object-literal-expression-base 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`
sourceraw docstring

full-startcljs

(full-start object-literal-expression-base)

Returns: number

**Returns:** `number`
sourceraw docstring

full-textcljs

(full-text object-literal-expression-base)
(full-text object-literal-expression-base source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: string

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `string`
sourceraw docstring

full-widthcljs

(full-width object-literal-expression-base)

Returns: number

**Returns:** `number`
sourceraw docstring

get-endcljs

(get-end object-literal-expression-base)

Returns: number

**Returns:** `number`
sourceraw docstring

kindcljs

(kind object-literal-expression-base)

Returns: SyntaxKind

**Returns:** `SyntaxKind`
sourceraw docstring

last-tokencljs

(last-token object-literal-expression-base)
(last-token object-literal-expression-base source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: Node | undefined

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `Node | undefined`
sourceraw docstring

leading-trivia-widthcljs

(leading-trivia-width object-literal-expression-base)
(leading-trivia-width object-literal-expression-base source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: number

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `number`
sourceraw docstring

parentcljs

(parent object-literal-expression-base)

Returns: Node

**Returns:** `Node`
sourceraw docstring

poscljs

(pos object-literal-expression-base)

Returns: number

**Returns:** `number`
sourceraw docstring

propertiescljs

(properties object-literal-expression-base)

Returns: NodeArray<T>

**Returns:** `NodeArray<T>`
sourceraw docstring

source-filecljs

(source-file object-literal-expression-base)

Returns: SourceFile

**Returns:** `SourceFile`
sourceraw docstring

startcljs

(start object-literal-expression-base)
(start object-literal-expression-base source-file)
(start object-literal-expression-base 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`
sourceraw docstring

textcljs

(text object-literal-expression-base)
(text object-literal-expression-base source-file)

Parameters:

  • source-file: SourceFile | undefined

Returns: string

**Parameters:**
- `source-file`: `SourceFile | undefined`

**Returns:** `string`
sourceraw docstring

widthcljs

(width object-literal-expression-base)
(width object-literal-expression-base source-file)

Parameters:

  • source-file: SourceFileLike | undefined

Returns: number

**Parameters:**
- `source-file`: `SourceFileLike | undefined`

**Returns:** `number`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close