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: Double
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: Double
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: (nodes: NodeArray<Node>) -> T? = definedExternally): T?
Link copied to clipboard
abstract external fun getChildAt(index: Double, sourceFile: SourceFile = definedExternally): Node
Link copied to clipboard
abstract external fun getChildCount(sourceFile: SourceFile = definedExternally): Double
Link copied to clipboard
abstract external fun getChildren(sourceFile: SourceFile = definedExternally): ReadonlyArray<Node>
Link copied to clipboard
abstract external fun getEnd(): Double
Link copied to clipboard
abstract external fun getFirstToken(sourceFile: SourceFile = definedExternally): Node?
Link copied to clipboard
abstract external fun getFullStart(): Double
Link copied to clipboard
abstract external fun getFullText(sourceFile: SourceFile = definedExternally): String
Link copied to clipboard
abstract external fun getFullWidth(): Double
Link copied to clipboard
abstract external fun getLastToken(sourceFile: SourceFile = definedExternally): Node?
Link copied to clipboard
abstract external fun getLeadingTriviaWidth(sourceFile: SourceFile = definedExternally): Double
Link copied to clipboard
abstract external fun getSourceFile(): SourceFile
Link copied to clipboard
abstract external fun getStart(sourceFile: SourceFile = definedExternally, includeJsDocComment: Boolean = definedExternally): Double
Link copied to clipboard
abstract external fun getText(sourceFile: SourceFile = definedExternally): String
Link copied to clipboard
abstract external fun getWidth(sourceFile: SourceFileLike = definedExternally): Double