BindingElement

/** * A binding element. */ 

Inherit from Node

Primary key: id: int

schema BindingElement extends Node { @primary id: int } 

BindingElement::getEnclosingFunction

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

BindingElement::getADescendant

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

BindingElement::getRoot

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

BindingElement::getAnAncestor

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

BindingElement::getChild

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

BindingElement::getChildCount

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

BindingElement::getAChild

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

BindingElement::getStartColumnNumber

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

BindingElement::getAnAncestorEnclosingFunction

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

BindingElement::getSymbol

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

BindingElement::getIndex

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

BindingElement::getParentOid

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

BindingElement::getRelativePath

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

BindingElement::getEndColumnNumber

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

BindingElement::getFile

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

BindingElement::hasInitializer

/** * Determines whether this BindingElement has the initializer. */ 
pub fn hasInitializer(self: BindingElement) -> bool; 

BindingElement::getInitializer

/** * Get the initialization expression. */ 
pub fn getInitializer(self: BindingElement) -> Expression; 

BindingElement::getLastChild

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

BindingElement::getNameNode

/** * Get the name node. */ 
pub fn getNameNode(self: BindingElement) -> BindingName; 

BindingElement::getPropertyNameString

pub fn getPropertyNameString(self: BindingElement) -> string; 

BindingElement::hasPropertyName

pub fn hasPropertyName(self: BindingElement) -> bool; 

BindingElement::getParent

pub fn getParent(self: BindingElement) -> BindingPattern; 

BindingElement::__all__

Data constraint method.

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

BindingElement::getKind

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

BindingElement::getAModifier

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

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

BindingElement::isRest

/** * Whether this binding element is a rest element. */ 
pub fn isRest(self: BindingElement) -> bool; 

BindingElement::getStartLineNumber

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

BindingElement::getModifier

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

BindingElement::getPropertyName

/** * Get the bound property name node (only in object binding pattern). */ 
pub fn getPropertyName(self: BindingElement) -> PropertyName; 

BindingElement::getLocation

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

BindingElement::getDotDotDotToken

/** * Gets the `...` token. */ 
pub fn getDotDotDotToken(self: BindingElement) -> DotDotDotToken; 

BindingElement::getDecorator

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

BindingElement::getText

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

BindingElement::getADecorator

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

BindingElement::getAComment

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

BindingElement::getALeadingComment

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

BindingElement::getATrailingComment

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

BindingElement::getEndLineNumber

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

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