ObjectLiteralExpressionBase

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.)

Inheritors

Properties

Link copied to clipboard
abstract external var _declarationBrand: Any?
Link copied to clipboard
abstract external var _expressionBrand: Any?
Link copied to clipboard
abstract external var _leftHandSideExpressionBrand: Any?
Link copied to clipboard
abstract external var _memberExpressionBrand: Any?
Link copied to clipboard
abstract external var _primaryExpressionBrand: Any?
Link copied to clipboard
abstract external var _unaryExpressionBrand: Any?
Link copied to clipboard
abstract external var _updateExpressionBrand: Any?
Link copied to clipboard
abstract external val end: Int
Link copied to clipboard
abstract external val flags: NodeFlags
Link copied to clipboard
abstract external val kind: SyntaxKind
Link copied to clipboard
abstract external val parent: Node?
Link copied to clipboard
abstract external val pos: Int
Link copied to clipboard
abstract external val properties: NodeArray<T>

Functions

Link copied to clipboard
abstract external fun <T> forEachChild(cbNode: (node: Node) -> T?, cbNodeArray: (NodeArray<Node>) -> T? = definedExternally): T?
Link copied to clipboard
abstract external fun getChildAt(index: Int, sourceFile: SourceFile = definedExternally): Node
Link copied to clipboard
abstract external fun getChildCount(sourceFile: SourceFile = definedExternally): Int
Link copied to clipboard
abstract external fun getChildren(sourceFile: SourceFile = definedExternally): ReadonlyArray<Node>
Link copied to clipboard
abstract external fun getEnd(): Int
Link copied to clipboard
abstract external fun getFirstToken(sourceFile: SourceFile = definedExternally): Node?
Link copied to clipboard
abstract external fun getFullStart(): Int
Link copied to clipboard
abstract external fun getFullText(sourceFile: SourceFile = definedExternally): String
Link copied to clipboard
abstract external fun getFullWidth(): Int
Link copied to clipboard
abstract external fun getLastToken(sourceFile: SourceFile = definedExternally): Node?
Link copied to clipboard
abstract external fun getLeadingTriviaWidth(sourceFile: SourceFile = definedExternally): Int
Link copied to clipboard
abstract external fun getSourceFile(): SourceFile?
Link copied to clipboard
abstract external fun getStart(sourceFile: SourceFile = definedExternally, includeJsDocComment: Boolean = definedExternally): Int
Link copied to clipboard
abstract external fun getText(sourceFile: SourceFile = definedExternally): String
Link copied to clipboard
abstract external fun getWidth(sourceFile: SourceFileLike = definedExternally): Int