ArrayBindingPattern

/**
* An array binding pattern.
*/

Inherit from BindingPattern

Primary key: id: int

schema ArrayBindingPattern extends BindingPattern {
  @primary id: int
}

ArrayBindingPattern::getParentOid

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

ArrayBindingPattern::getRelativePath

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

ArrayBindingPattern::getLastChild

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

ArrayBindingPattern::getEndColumnNumber

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

ArrayBindingPattern::getParent

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

ArrayBindingPattern::getKind

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

ArrayBindingPattern::getAModifier

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

ArrayBindingPattern::getStartLineNumber

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

ArrayBindingPattern::getDecorator

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

ArrayBindingPattern::getADecorator

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

ArrayBindingPattern::getAComment

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

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

ArrayBindingPattern::getAnAncestor

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

ArrayBindingPattern::getRoot

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

ArrayBindingPattern::getEnclosingFunction

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

ArrayBindingPattern::getADescendant

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

ArrayBindingPattern::__all__

Data constraint method.

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

ArrayBindingPattern::getLocation

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

ArrayBindingPattern::getSymbol

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

ArrayBindingPattern::getAnAncestorEnclosingFunction

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

ArrayBindingPattern::getIndex

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

ArrayBindingPattern::getChildCount

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

ArrayBindingPattern::getAElement

/**
* @todo: Delete this predicate with typos
*/
pub fn getAElement(self: ArrayBindingPattern) -> *ArrayBindingElement;

ArrayBindingPattern::getChild

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

ArrayBindingPattern::getALeadingComment

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

ArrayBindingPattern::getFile

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

ArrayBindingPattern::getAnElement

pub fn getAnElement(self: ArrayBindingPattern) -> *ArrayBindingElement;

ArrayBindingPattern::getText

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

ArrayBindingPattern::getATrailingComment

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

ArrayBindingPattern::getEndLineNumber

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

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

ArrayBindingPattern::getAChild

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

ArrayBindingPattern::getElement

pub fn getElement(self: ArrayBindingPattern, i: int) -> ArrayBindingElement;

ArrayBindingPattern::getStartColumnNumber

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

ArrayBindingPattern::getModifier

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