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