AmpersandToken

/**
* An `&` token.
*/

Inherit from Token

Primary key: id: int

schema AmpersandToken extends Token {
  @primary id: int
}

AmpersandToken::getSymbol

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

AmpersandToken::getAnAncestorEnclosingFunction

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

AmpersandToken::getIndex

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

AmpersandToken::getParentOid

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

AmpersandToken::getRelativePath

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

AmpersandToken::getLastChild

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

AmpersandToken::getEndColumnNumber

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

AmpersandToken::getParent

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

AmpersandToken::getChildCount

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

AmpersandToken::getDecorator

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

AmpersandToken::getEndLineNumber

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

AmpersandToken::getATrailingComment

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

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

AmpersandToken::getChild

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

AmpersandToken::getRoot

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

AmpersandToken::getAChild

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

AmpersandToken::getStartColumnNumber

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

AmpersandToken::getStartLineNumber

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

AmpersandToken::__all__

Data constraint method.

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

AmpersandToken::getLocation

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

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

AmpersandToken::getKind

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

AmpersandToken::getAModifier

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

AmpersandToken::getAnAncestor

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

AmpersandToken::getEnclosingFunction

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

AmpersandToken::getADescendant

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

AmpersandToken::getALeadingComment

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

AmpersandToken::getFile

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

AmpersandToken::getModifier

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

AmpersandToken::getText

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

AmpersandToken::getAComment

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

AmpersandToken::getADecorator

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