BindingPattern

/**
* A binding pattern.
*/

Inherit from Node

Primary key: id: int

schema BindingPattern extends Node {
  @primary id: int
}

BindingPattern::getEnclosingFunction

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

BindingPattern::getADescendant

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

BindingPattern::getRoot

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

BindingPattern::getAnAncestor

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

BindingPattern::getChild

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

BindingPattern::getChildCount

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

BindingPattern::getAnAncestorEnclosingFunction

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

BindingPattern::getSymbol

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

BindingPattern::getIndex

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

BindingPattern::getATrailingComment

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

BindingPattern::getEndLineNumber

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

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

BindingPattern::getALeadingComment

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

BindingPattern::getAChild

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

BindingPattern::getStartColumnNumber

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

BindingPattern::getElement

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

BindingPattern::getFile

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

BindingPattern::getAnElement

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

BindingPattern::getText

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

BindingPattern::getModifier

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

BindingPattern::__all__

Data constraint method.

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

BindingPattern::getLocation

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

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

BindingPattern::getAComment

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

BindingPattern::getADecorator

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

BindingPattern::getDecorator

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

BindingPattern::getStartLineNumber

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

BindingPattern::getAModifier

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

BindingPattern::getKind

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

BindingPattern::getParent

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

BindingPattern::getEndColumnNumber

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

BindingPattern::getLastChild

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

BindingPattern::getRelativePath

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

BindingPattern::getParentOid

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