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.)
(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`
(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`
(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[]`
(end object-literal-expression-base)
Returns: number
**Returns:** `number`
(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`
(flags object-literal-expression-base)
Returns: NodeFlags
**Returns:** `NodeFlags`
(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`
(full-start object-literal-expression-base)
Returns: number
**Returns:** `number`
(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`
(full-width object-literal-expression-base)
Returns: number
**Returns:** `number`
(get-end object-literal-expression-base)
Returns: number
**Returns:** `number`
(kind object-literal-expression-base)
Returns: SyntaxKind
**Returns:** `SyntaxKind`
(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`
(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`
(parent object-literal-expression-base)
Returns: Node
**Returns:** `Node`
(pos object-literal-expression-base)
Returns: number
**Returns:** `number`
(properties object-literal-expression-base)
Returns: NodeArray<T>
**Returns:** `NodeArray<T>`
(source-file object-literal-expression-base)
Returns: SourceFile
**Returns:** `SourceFile`
(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`
(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`
(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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close