ObjectBindingPattern

/**
* An object binding pattern.
*/

Inherit from BindingPattern

Primary key: id: int

schema ObjectBindingPattern extends BindingPattern {
  @primary id: int
}

ObjectBindingPattern::getParentOid

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

ObjectBindingPattern::getRelativePath

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

ObjectBindingPattern::getLastChild

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

ObjectBindingPattern::getEndColumnNumber

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

ObjectBindingPattern::getParent

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

ObjectBindingPattern::getKind

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

ObjectBindingPattern::getAModifier

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

ObjectBindingPattern::getStartLineNumber

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

ObjectBindingPattern::getADecorator

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

ObjectBindingPattern::getAComment

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

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

ObjectBindingPattern::getLocation

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

ObjectBindingPattern::getAnAncestor

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

ObjectBindingPattern::getDecorator

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

ObjectBindingPattern::getElementByPropertyName

pub fn getElementByPropertyName(self: ObjectBindingPattern, name: string) -> BindingElement;

ObjectBindingPattern::getRoot

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

ObjectBindingPattern::getEnclosingFunction

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

ObjectBindingPattern::getADescendant

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

ObjectBindingPattern::__all__

Data constraint method.

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

ObjectBindingPattern::getAElement

/**
* @todo: Delete this predicates with typos
*/
pub fn getAElement(self: ObjectBindingPattern) -> *BindingElement;

ObjectBindingPattern::getChild

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

ObjectBindingPattern::getALeadingComment

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

ObjectBindingPattern::getFile

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

ObjectBindingPattern::getModifier

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

ObjectBindingPattern::getRestBindingElement

pub fn getRestBindingElement(self: ObjectBindingPattern) -> BindingElement;

ObjectBindingPattern::getAnElement

pub fn getAnElement(self: ObjectBindingPattern) -> *BindingElement;

ObjectBindingPattern::getText

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

ObjectBindingPattern::getChildCount

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

ObjectBindingPattern::getSymbol

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

ObjectBindingPattern::getAnAncestorEnclosingFunction

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

ObjectBindingPattern::getIndex

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

ObjectBindingPattern::getATrailingComment

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

ObjectBindingPattern::getEndLineNumber

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

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

ObjectBindingPattern::getElement

pub fn getElement(self: ObjectBindingPattern, i: int) -> BindingElement;

ObjectBindingPattern::getAChild

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

ObjectBindingPattern::getStartColumnNumber

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