CommaToken

/**
* A `,` token.
*/

Inherit from Token

Primary key: id: int

schema CommaToken extends Token {
  @primary id: int
}

CommaToken::getSymbol

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

CommaToken::getAnAncestorEnclosingFunction

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

CommaToken::getIndex

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

CommaToken::getParentOid

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

CommaToken::getRelativePath

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

CommaToken::getLastChild

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

CommaToken::getEndColumnNumber

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

CommaToken::getParent

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

CommaToken::getChildCount

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

CommaToken::getDecorator

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

CommaToken::getEndLineNumber

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

CommaToken::getATrailingComment

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

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

CommaToken::getChild

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

CommaToken::getRoot

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

CommaToken::getAChild

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

CommaToken::getStartColumnNumber

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

CommaToken::getStartLineNumber

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

CommaToken::__all__

Data constraint method.

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

CommaToken::getLocation

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

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

CommaToken::getKind

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

CommaToken::getAModifier

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

CommaToken::getAnAncestor

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

CommaToken::getEnclosingFunction

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

CommaToken::getADescendant

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

CommaToken::getALeadingComment

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

CommaToken::getFile

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

CommaToken::getModifier

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

CommaToken::getText

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

CommaToken::getAComment

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

CommaToken::getADecorator

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