ObjectLiteralExpression

/** * An object literal expression. */ 

Inherit from PrimaryExpression

Primary key: id: int

schema ObjectLiteralExpression extends PrimaryExpression { @primary id: int } 

ObjectLiteralExpression::getAnAncestor

/** * Gets an ancestor of this node. */ 
pub fn getAnAncestor(self: ObjectLiteralExpression) -> *Node; 

ObjectLiteralExpression::getStartLineNumber

pub fn getStartLineNumber(self: ObjectLiteralExpression) -> int; 

ObjectLiteralExpression::getChild

/** * Gets the `i`th child of this node. */ 
pub fn getChild(self: ObjectLiteralExpression, i: int) -> Node; 

ObjectLiteralExpression::getATrailingComment

/** * Gets the trailing comments of it */ 
pub fn getATrailingComment(self: ObjectLiteralExpression) -> *Comment; 

ObjectLiteralExpression::getAnAncestorByLevel

/** * Gets an ancestor of this node by the level of the hierarchy. * * @param level: the number of levels to go up in the hierarchy. */ 
pub fn getAnAncestorByLevel(self: ObjectLiteralExpression, level: int) -> Node; 

ObjectLiteralExpression::getEndLineNumber

pub fn getEndLineNumber(self: ObjectLiteralExpression) -> int; 

ObjectLiteralExpression::getADescendant

/** * Gets a descendant of this node. */ 
pub fn getADescendant(self: ObjectLiteralExpression) -> *Node; 

ObjectLiteralExpression::getEnclosingFunction

/** * Gets the enclosing function of it */ 
pub fn getEnclosingFunction(self: ObjectLiteralExpression) -> FunctionLikeDeclaration; 

ObjectLiteralExpression::getParentOid

/** * Gets the parent oid of this node. */ 
pub fn getParentOid(self: ObjectLiteralExpression) -> int; 

ObjectLiteralExpression::getADescendantByLevel

/** * Gets a descendant of this node by the level of the hierarchy. * * @param level: the number of levels to go up in the hierarchy. */ 
pub fn getADescendantByLevel(self: ObjectLiteralExpression, level: int) -> *Node; 

ObjectLiteralExpression::getLocation

/** * Gets the location of this node. */ 
pub fn getLocation(self: ObjectLiteralExpression) -> Location; 

ObjectLiteralExpression::getAnAncestorEnclosingFunction

/** * Gets an ancestor enclosing function of it */ 
pub fn getAnAncestorEnclosingFunction(self: ObjectLiteralExpression) -> *FunctionLikeDeclaration; 

ObjectLiteralExpression::getSymbol

/** * Gets the symbol associated with this node. */ 
pub fn getSymbol(self: ObjectLiteralExpression) -> Symbol; 

ObjectLiteralExpression::getRoot

/** * Gets the root top-level of this node. */ 
pub fn getRoot(self: ObjectLiteralExpression) -> TopLevelDO; 

ObjectLiteralExpression::getAProperty

/** * Get a property, which is an ObjectLiteralElement. */ 
pub fn getAProperty(self: ObjectLiteralExpression) -> *ObjectLiteralElement; 

ObjectLiteralExpression::getIndex

pub fn getIndex(self: ObjectLiteralExpression) -> int; 

ObjectLiteralExpression::getPropertyAssignmentByName

/** * Get the PropertyAssignment of this ObjectLiteralExpression by name. */ 
pub fn getPropertyAssignmentByName(self: ObjectLiteralExpression, name: string) -> PropertyAssignment; 

ObjectLiteralExpression::__all__

Data constraint method.

pub fn __all__(db: JavascriptDB) -> *ObjectLiteralExpression; 

ObjectLiteralExpression::getKind

/** * Get the syntax kind of this node */ 
pub fn getKind(self: ObjectLiteralExpression) -> int; 

ObjectLiteralExpression::getAModifier

/** * Gets a modifier. */ 
pub fn getAModifier(self: ObjectLiteralExpression) -> *Modifier; 

ObjectLiteralExpression::getText

/** * Gets the text of this node. */ 
pub fn getText(self: ObjectLiteralExpression) -> string; 

ObjectLiteralExpression::getModifier

/** * Gets the `i`th modifier. */ 
pub fn getModifier(self: ObjectLiteralExpression, i: int) -> Modifier; 

ObjectLiteralExpression::getProperty

/** * Get the `i`th property. */ 
pub fn getProperty(self: ObjectLiteralExpression, i: int) -> ObjectLiteralElement; 

ObjectLiteralExpression::hasProperty

/** * Determine whether this ObjectLiteralExpression has a property with the specified name. */ 
pub fn hasProperty(self: ObjectLiteralExpression, name: string) -> bool; 

ObjectLiteralExpression::getADecorator

/** * Gets a decorator. */ 
pub fn getADecorator(self: ObjectLiteralExpression) -> *Decorator; 

ObjectLiteralExpression::getAComment

/** * Gets the comments related to it */ 
pub fn getAComment(self: ObjectLiteralExpression) -> *Comment; 

ObjectLiteralExpression::getFile

/** * Gets the file of this node. */ 
pub fn getFile(self: ObjectLiteralExpression) -> File; 

ObjectLiteralExpression::getPropertyByName

/** * Get the property of this ObjectLiteralExpression by name. */ 
pub fn getPropertyByName(self: ObjectLiteralExpression, name: string) -> ObjectLiteralElement; 

ObjectLiteralExpression::getALeadingComment

/** * Gets the leading comments of it */ 
pub fn getALeadingComment(self: ObjectLiteralExpression) -> *Comment; 

ObjectLiteralExpression::getDecorator

/** * Gets the `i`th decorator. */ 
pub fn getDecorator(self: ObjectLiteralExpression, i: int) -> Decorator; 

ObjectLiteralExpression::getChildCount

/** * Gets the number of child nodes. */ 
pub fn getChildCount(self: ObjectLiteralExpression) -> int; 

ObjectLiteralExpression::getAChild

/** * Gets a child node of this node. */ 
pub fn getAChild(self: ObjectLiteralExpression) -> *Node; 

ObjectLiteralExpression::getStartColumnNumber

pub fn getStartColumnNumber(self: ObjectLiteralExpression) -> int; 

ObjectLiteralExpression::getLastChild

/** * Gets the last child of this node parent. */ 
pub fn getLastChild(self: ObjectLiteralExpression) -> Node; 

ObjectLiteralExpression::getEndColumnNumber

pub fn getEndColumnNumber(self: ObjectLiteralExpression) -> int; 

ObjectLiteralExpression::getParent

/** * Gets the parent node of this node. */ 
pub fn getParent(self: ObjectLiteralExpression) -> Node; 

ObjectLiteralExpression::getExpression

pub fn getExpression(self: ObjectLiteralExpression) -> Expression; 

ObjectLiteralExpression::getRelativePath

/** * Gets the relative path of this node. */ 
pub fn getRelativePath(self: ObjectLiteralExpression) -> string;