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 var _declarationBrand: Any?
Link copied to clipboard
abstract var _expressionBrand: Any?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract var _unaryExpressionBrand: Any?
Link copied to clipboard
Link copied to clipboard
abstract val end: Double
Link copied to clipboard
abstract val flags: NodeFlags
Link copied to clipboard
abstract val kind: SyntaxKind
Link copied to clipboard
abstract val parent: Node
Link copied to clipboard
abstract val pos: Double
Link copied to clipboard
abstract val properties: NodeArray<T>

Functions

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