PlusPlusToken

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

Inherit from Token

Primary key: id: int

schema PlusPlusToken extends Token {
  @primary id: int
}

PlusPlusToken::getSymbol

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

PlusPlusToken::getAnAncestorEnclosingFunction

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

PlusPlusToken::getIndex

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

PlusPlusToken::getParentOid

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

PlusPlusToken::getRelativePath

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

PlusPlusToken::getLastChild

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

PlusPlusToken::getEndColumnNumber

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

PlusPlusToken::getParent

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

PlusPlusToken::getChildCount

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

PlusPlusToken::getDecorator

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

PlusPlusToken::getEndLineNumber

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

PlusPlusToken::getATrailingComment

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

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

PlusPlusToken::getChild

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

PlusPlusToken::getRoot

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

PlusPlusToken::getAChild

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

PlusPlusToken::getStartColumnNumber

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

PlusPlusToken::getStartLineNumber

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

PlusPlusToken::__all__

Data constraint method.

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

PlusPlusToken::getLocation

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

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

PlusPlusToken::getKind

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

PlusPlusToken::getAModifier

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

PlusPlusToken::getAnAncestor

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

PlusPlusToken::getEnclosingFunction

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

PlusPlusToken::getADescendant

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

PlusPlusToken::getALeadingComment

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

PlusPlusToken::getFile

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

PlusPlusToken::getModifier

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

PlusPlusToken::getText

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

PlusPlusToken::getAComment

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

PlusPlusToken::getADecorator

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