PlusToken

/**
* A `+` token.
*/

Inherit from Token

Primary key: id: int

schema PlusToken extends Token {
  @primary id: int
}

PlusToken::getSymbol

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

PlusToken::getAnAncestorEnclosingFunction

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

PlusToken::getIndex

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

PlusToken::getParentOid

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

PlusToken::getRelativePath

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

PlusToken::getLastChild

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

PlusToken::getEndColumnNumber

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

PlusToken::getParent

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

PlusToken::getChildCount

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

PlusToken::getDecorator

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

PlusToken::getEndLineNumber

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

PlusToken::getATrailingComment

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

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

PlusToken::getChild

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

PlusToken::getRoot

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

PlusToken::getAChild

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

PlusToken::getStartColumnNumber

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

PlusToken::getStartLineNumber

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

PlusToken::__all__

Data constraint method.

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

PlusToken::getLocation

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

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

PlusToken::getKind

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

PlusToken::getAModifier

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

PlusToken::getAnAncestor

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

PlusToken::getEnclosingFunction

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

PlusToken::getADescendant

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

PlusToken::getALeadingComment

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

PlusToken::getFile

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

PlusToken::getModifier

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

PlusToken::getText

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

PlusToken::getAComment

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

PlusToken::getADecorator

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