BarBarToken

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

Inherit from Token

Primary key: id: int

schema BarBarToken extends Token {
  @primary id: int
}

BarBarToken::getSymbol

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

BarBarToken::getAnAncestorEnclosingFunction

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

BarBarToken::getIndex

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

BarBarToken::getParentOid

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

BarBarToken::getRelativePath

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

BarBarToken::getLastChild

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

BarBarToken::getEndColumnNumber

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

BarBarToken::getParent

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

BarBarToken::getChildCount

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

BarBarToken::getDecorator

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

BarBarToken::getEndLineNumber

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

BarBarToken::getATrailingComment

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

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

BarBarToken::getChild

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

BarBarToken::getRoot

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

BarBarToken::getAChild

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

BarBarToken::getStartColumnNumber

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

BarBarToken::getStartLineNumber

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

BarBarToken::__all__

Data constraint method.

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

BarBarToken::getLocation

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

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

BarBarToken::getKind

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

BarBarToken::getAModifier

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

BarBarToken::getAnAncestor

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

BarBarToken::getEnclosingFunction

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

BarBarToken::getADescendant

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

BarBarToken::getALeadingComment

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

BarBarToken::getFile

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

BarBarToken::getModifier

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

BarBarToken::getText

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

BarBarToken::getAComment

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

BarBarToken::getADecorator

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