PropertyAssignment

/** * A property assignment. * * TODO: handle decorators and modifiers */ 

Inherit from ObjectLiteralElement

Primary key: id: int

schema PropertyAssignment extends ObjectLiteralElement { @primary id: int } 

PropertyAssignment::getIndex

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

PropertyAssignment::getParentOid

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

PropertyAssignment::getEndColumnNumber

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

PropertyAssignment::getKind

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

PropertyAssignment::getAModifier

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

PropertyAssignment::getStartLineNumber

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

PropertyAssignment::getText

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

PropertyAssignment::getModifier

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

PropertyAssignment::getRelativePath

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

PropertyAssignment::getDecorator

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

PropertyAssignment::getChildCount

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

PropertyAssignment::getChild

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

PropertyAssignment::getPropertyName

pub fn getPropertyName(self: PropertyAssignment) -> PropertyName; 

PropertyAssignment::getRoot

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

PropertyAssignment::getAnAncestor

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

PropertyAssignment::getInitializer

pub fn getInitializer(self: PropertyAssignment) -> Expression; 

PropertyAssignment::getSymbol

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

PropertyAssignment::getAnAncestorEnclosingFunction

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

PropertyAssignment::getParent

pub fn getParent(self: PropertyAssignment) -> ObjectLiteralExpression; 

PropertyAssignment::__all__

Data constraint method.

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

PropertyAssignment::getLocation

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

PropertyAssignment::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: PropertyAssignment, level: int) -> *Node; 

PropertyAssignment::getLastChild

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

PropertyAssignment::getNameNode

pub fn getNameNode(self: PropertyAssignment) -> PropertyName; 

PropertyAssignment::getADescendant

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

PropertyAssignment::getEnclosingFunction

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

PropertyAssignment::getName

pub fn getName(self: PropertyAssignment) -> string; 

PropertyAssignment::getAChild

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

PropertyAssignment::getStartColumnNumber

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

PropertyAssignment::getEndLineNumber

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

PropertyAssignment::getATrailingComment

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

PropertyAssignment::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: PropertyAssignment, level: int) -> Node; 

PropertyAssignment::getALeadingComment

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

PropertyAssignment::getFile

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

PropertyAssignment::getAComment

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

PropertyAssignment::getADecorator

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