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