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