BarEqualsToken

/**
* A `|=` token.
*/

Inherit from Token

Primary key: id: int

schema BarEqualsToken extends Token {
  @primary id: int
}

BarEqualsToken::getSymbol

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

BarEqualsToken::getAnAncestorEnclosingFunction

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

BarEqualsToken::getIndex

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

BarEqualsToken::getParentOid

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

BarEqualsToken::getRelativePath

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

BarEqualsToken::getLastChild

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

BarEqualsToken::getEndColumnNumber

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

BarEqualsToken::getParent

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

BarEqualsToken::getChildCount

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

BarEqualsToken::getDecorator

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

BarEqualsToken::getEndLineNumber

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

BarEqualsToken::getATrailingComment

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

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

BarEqualsToken::getChild

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

BarEqualsToken::getRoot

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

BarEqualsToken::getAChild

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

BarEqualsToken::getStartColumnNumber

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

BarEqualsToken::getStartLineNumber

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

BarEqualsToken::__all__

Data constraint method.

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

BarEqualsToken::getLocation

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

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

BarEqualsToken::getKind

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

BarEqualsToken::getAModifier

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

BarEqualsToken::getAnAncestor

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

BarEqualsToken::getEnclosingFunction

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

BarEqualsToken::getADescendant

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

BarEqualsToken::getALeadingComment

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

BarEqualsToken::getFile

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

BarEqualsToken::getModifier

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

BarEqualsToken::getText

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

BarEqualsToken::getAComment

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

BarEqualsToken::getADecorator

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