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.
*/
- Parameter
self
:CommaToken
- Return
Symbol
pub fn getSymbol(self: CommaToken) -> Symbol;
CommaToken::getAnAncestorEnclosingFunction
/**
* Gets an ancestor enclosing function of it
*/
- Parameter
self
:CommaToken
- Return
*FunctionLikeDeclaration
pub fn getAnAncestorEnclosingFunction(self: CommaToken) -> *FunctionLikeDeclaration;
CommaToken::getIndex
- Parameter
self
:CommaToken
- Return
int
pub fn getIndex(self: CommaToken) -> int;
CommaToken::getParentOid
/**
* Gets the parent oid of this node.
*/
- Parameter
self
:CommaToken
- Return
int
pub fn getParentOid(self: CommaToken) -> int;
CommaToken::getRelativePath
/**
* Gets the relative path of this node.
*/
- Parameter
self
:CommaToken
- Return
string
pub fn getRelativePath(self: CommaToken) -> string;
CommaToken::getLastChild
/**
* Gets the last child of this node parent.
*/
- Parameter
self
:CommaToken
- Return
Node
pub fn getLastChild(self: CommaToken) -> Node;
CommaToken::getEndColumnNumber
- Parameter
self
:CommaToken
- Return
int
pub fn getEndColumnNumber(self: CommaToken) -> int;
CommaToken::getParent
/**
* Gets the parent node of this node.
*/
- Parameter
self
:CommaToken
- Return
Node
pub fn getParent(self: CommaToken) -> Node;
CommaToken::getChildCount
/**
* Gets the number of child nodes.
*/
- Parameter
self
:CommaToken
- Return
int
pub fn getChildCount(self: CommaToken) -> int;
CommaToken::getDecorator
/**
* Gets the `i`th decorator.
*/
- Parameter
self
:CommaToken
- Parameter
i
:int
- Return
Decorator
pub fn getDecorator(self: CommaToken, i: int) -> Decorator;
CommaToken::getEndLineNumber
- Parameter
self
:CommaToken
- Return
int
pub fn getEndLineNumber(self: CommaToken) -> int;
CommaToken::getATrailingComment
/**
* Gets the trailing comments of it
*/
- Parameter
self
:CommaToken
- Return
*Comment
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.
*/
- Parameter
self
:CommaToken
- Parameter
level
:int
- Return
Node
pub fn getAnAncestorByLevel(self: CommaToken, level: int) -> Node;
CommaToken::getChild
/**
* Gets the `i`th child of this node.
*/
- Parameter
self
:CommaToken
- Parameter
i
:int
- Return
Node
pub fn getChild(self: CommaToken, i: int) -> Node;
CommaToken::getRoot
/**
* Gets the root top-level of this node.
*/
- Parameter
self
:CommaToken
- Return
TopLevelDO
pub fn getRoot(self: CommaToken) -> TopLevelDO;
CommaToken::getAChild
/**
* Gets a child node of this node.
*/
- Parameter
self
:CommaToken
- Return
*Node
pub fn getAChild(self: CommaToken) -> *Node;
CommaToken::getStartColumnNumber
- Parameter
self
:CommaToken
- Return
int
pub fn getStartColumnNumber(self: CommaToken) -> int;
CommaToken::getStartLineNumber
- Parameter
self
:CommaToken
- Return
int
pub fn getStartLineNumber(self: CommaToken) -> int;
CommaToken::__all__
Data constraint method.
- Parameter
db
:JavascriptDB
- Return
*CommaToken
pub fn __all__(db: JavascriptDB) -> *CommaToken;
CommaToken::getLocation
/**
* Gets the location of this node.
*/
- Parameter
self
:CommaToken
- Return
Location
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.
*/
- Parameter
self
:CommaToken
- Parameter
level
:int
- Return
*Node
pub fn getADescendantByLevel(self: CommaToken, level: int) -> *Node;
CommaToken::getKind
/**
* Get the syntax kind of this node
*/
- Parameter
self
:CommaToken
- Return
int
pub fn getKind(self: CommaToken) -> int;
CommaToken::getAModifier
/**
* Gets a modifier.
*/
- Parameter
self
:CommaToken
- Return
*Modifier
pub fn getAModifier(self: CommaToken) -> *Modifier;
CommaToken::getAnAncestor
/**
* Gets an ancestor of this node.
*/
- Parameter
self
:CommaToken
- Return
*Node
pub fn getAnAncestor(self: CommaToken) -> *Node;
CommaToken::getEnclosingFunction
/**
* Gets the enclosing function of it
*/
- Parameter
self
:CommaToken
- Return
FunctionLikeDeclaration
pub fn getEnclosingFunction(self: CommaToken) -> FunctionLikeDeclaration;
CommaToken::getADescendant
/**
* Gets a descendant of this node.
*/
- Parameter
self
:CommaToken
- Return
*Node
pub fn getADescendant(self: CommaToken) -> *Node;
CommaToken::getALeadingComment
/**
* Gets the leading comments of it
*/
- Parameter
self
:CommaToken
- Return
*Comment
pub fn getALeadingComment(self: CommaToken) -> *Comment;
CommaToken::getFile
/**
* Gets the file of this node.
*/
- Parameter
self
:CommaToken
- Return
File
pub fn getFile(self: CommaToken) -> File;
CommaToken::getModifier
/**
* Gets the `i`th modifier.
*/
- Parameter
self
:CommaToken
- Parameter
i
:int
- Return
Modifier
pub fn getModifier(self: CommaToken, i: int) -> Modifier;
CommaToken::getText
/**
* Gets the text of this node.
*/
- Parameter
self
:CommaToken
- Return
string
pub fn getText(self: CommaToken) -> string;
CommaToken::getAComment
/**
* Gets the comments related to it
*/
- Parameter
self
:CommaToken
- Return
*Comment
pub fn getAComment(self: CommaToken) -> *Comment;
CommaToken::getADecorator
/**
* Gets a decorator.
*/
- Parameter
self
:CommaToken
- Return
*Decorator
pub fn getADecorator(self: CommaToken) -> *Decorator;