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