CaretToken

/** * A `^` token. */ 

Inherit from Token

Primary key: id: int

schema CaretToken extends Token { @primary id: int } 

CaretToken::getSymbol

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

CaretToken::getAnAncestorEnclosingFunction

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

CaretToken::getIndex

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

CaretToken::getParentOid

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

CaretToken::getRelativePath

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

CaretToken::getLastChild

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

CaretToken::getEndColumnNumber

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

CaretToken::getParent

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

CaretToken::getChildCount

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

CaretToken::getDecorator

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

CaretToken::getEndLineNumber

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

CaretToken::getATrailingComment

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

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

CaretToken::getChild

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

CaretToken::getRoot

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

CaretToken::getAChild

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

CaretToken::getStartColumnNumber

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

CaretToken::getStartLineNumber

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

CaretToken::__all__

Data constraint method.

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

CaretToken::getLocation

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

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

CaretToken::getKind

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

CaretToken::getAModifier

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

CaretToken::getAnAncestor

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

CaretToken::getEnclosingFunction

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

CaretToken::getADescendant

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

CaretToken::getALeadingComment

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

CaretToken::getFile

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

CaretToken::getModifier

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

CaretToken::getText

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

CaretToken::getAComment

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

CaretToken::getADecorator

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