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