TildeToken

/** * A `~` token. */ 

Inherit from Token

Primary key: id: int

schema TildeToken extends Token { @primary id: int } 

TildeToken::getSymbol

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

TildeToken::getAnAncestorEnclosingFunction

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

TildeToken::getIndex

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

TildeToken::getParentOid

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

TildeToken::getRelativePath

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

TildeToken::getLastChild

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

TildeToken::getEndColumnNumber

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

TildeToken::getParent

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

TildeToken::getChildCount

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

TildeToken::getDecorator

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

TildeToken::getEndLineNumber

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

TildeToken::getATrailingComment

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

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

TildeToken::getChild

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

TildeToken::getRoot

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

TildeToken::getAChild

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

TildeToken::getStartColumnNumber

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

TildeToken::getStartLineNumber

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

TildeToken::__all__

Data constraint method.

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

TildeToken::getLocation

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

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

TildeToken::getKind

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

TildeToken::getAModifier

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

TildeToken::getAnAncestor

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

TildeToken::getEnclosingFunction

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

TildeToken::getADescendant

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

TildeToken::getALeadingComment

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

TildeToken::getFile

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

TildeToken::getModifier

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

TildeToken::getText

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

TildeToken::getAComment

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

TildeToken::getADecorator

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