TypeAssertionExpression

/**
* A type assertion expression.
*/

Inherit from UnaryExpression

Primary key: id: int

schema TypeAssertionExpression extends UnaryExpression {
  @primary id: int
}

TypeAssertionExpression::getADecorator

/**
* Gets a decorator.
*/
pub fn getADecorator(self: TypeAssertionExpression) -> *Decorator;

TypeAssertionExpression::getAComment

/**
* Gets the comments related to it
*/
pub fn getAComment(self: TypeAssertionExpression) -> *Comment;

TypeAssertionExpression::getText

/**
* Gets the text of this node.
*/
pub fn getText(self: TypeAssertionExpression) -> string;

TypeAssertionExpression::getModifier

/**
* Gets the `i`th modifier.
*/
pub fn getModifier(self: TypeAssertionExpression, i: int) -> Modifier;

TypeAssertionExpression::getFile

/**
* Gets the file of this node.
*/
pub fn getFile(self: TypeAssertionExpression) -> File;

TypeAssertionExpression::getALeadingComment

/**
* Gets the leading comments of it
*/
pub fn getALeadingComment(self: TypeAssertionExpression) -> *Comment;

TypeAssertionExpression::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: TypeAssertionExpression, level: int) -> Node;

TypeAssertionExpression::getATrailingComment

/**
* Gets the trailing comments of it
*/
pub fn getATrailingComment(self: TypeAssertionExpression) -> *Comment;

TypeAssertionExpression::getEndLineNumber

pub fn getEndLineNumber(self: TypeAssertionExpression) -> int;

TypeAssertionExpression::getRoot

/**
* Gets the root top-level of this node. 
*/
pub fn getRoot(self: TypeAssertionExpression) -> TopLevelDO;

TypeAssertionExpression::getEndColumnNumber

pub fn getEndColumnNumber(self: TypeAssertionExpression) -> int;

TypeAssertionExpression::getLastChild

/**
* Gets the last child of this node parent.
*/
pub fn getLastChild(self: TypeAssertionExpression) -> Node;

TypeAssertionExpression::getIndex

pub fn getIndex(self: TypeAssertionExpression) -> int;

TypeAssertionExpression::getParent

/**
* Gets the parent node of this node.
*/
pub fn getParent(self: TypeAssertionExpression) -> Node;

TypeAssertionExpression::getExpression

pub fn getExpression(self: TypeAssertionExpression) -> UnaryExpression;

TypeAssertionExpression::getRelativePath

/**
* Gets the relative path of this node.
*/
pub fn getRelativePath(self: TypeAssertionExpression) -> string;

TypeAssertionExpression::getParentOid

/**
* Gets the parent oid of this node.
*/
pub fn getParentOid(self: TypeAssertionExpression) -> int;

TypeAssertionExpression::getAnAncestorEnclosingFunction

/**
* Gets an ancestor enclosing function of it
*/
pub fn getAnAncestorEnclosingFunction(self: TypeAssertionExpression) -> *FunctionLikeDeclaration;

TypeAssertionExpression::getSymbol

/**
* Gets the symbol associated with this node.
*/
pub fn getSymbol(self: TypeAssertionExpression) -> Symbol;

TypeAssertionExpression::getADescendant

/**
* Gets a descendant of this node. 
*/
pub fn getADescendant(self: TypeAssertionExpression) -> *Node;

TypeAssertionExpression::getEnclosingFunction

/**
* Gets the enclosing function of it
*/
pub fn getEnclosingFunction(self: TypeAssertionExpression) -> FunctionLikeDeclaration;

TypeAssertionExpression::getType

pub fn getType(self: TypeAssertionExpression) -> TypeNode;

TypeAssertionExpression::__all__

Data constraint method.

pub fn __all__(db: JavascriptDB) -> *TypeAssertionExpression;

TypeAssertionExpression::getKind

/**
* Get the syntax kind of this node
*/
pub fn getKind(self: TypeAssertionExpression) -> int;

TypeAssertionExpression::getAModifier

/**
* Gets a modifier.
*/
pub fn getAModifier(self: TypeAssertionExpression) -> *Modifier;

TypeAssertionExpression::getLocation

/**
* Gets the location of this node.
*/
pub fn getLocation(self: TypeAssertionExpression) -> Location;

TypeAssertionExpression::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: TypeAssertionExpression, level: int) -> *Node;

TypeAssertionExpression::getChildCount

/**
* Gets the number of child nodes.
*/
pub fn getChildCount(self: TypeAssertionExpression) -> int;

TypeAssertionExpression::getDecorator

/**
* Gets the `i`th decorator.
*/
pub fn getDecorator(self: TypeAssertionExpression, i: int) -> Decorator;

TypeAssertionExpression::getChild

/**
* Gets the `i`th child of this node.
*/
pub fn getChild(self: TypeAssertionExpression, i: int) -> Node;

TypeAssertionExpression::getAnAncestor

/**
* Gets an ancestor of this node. 
*/
pub fn getAnAncestor(self: TypeAssertionExpression) -> *Node;

TypeAssertionExpression::getAChild

/**
* Gets a child node of this node.
*/
pub fn getAChild(self: TypeAssertionExpression) -> *Node;

TypeAssertionExpression::getStartColumnNumber

pub fn getStartColumnNumber(self: TypeAssertionExpression) -> int;

TypeAssertionExpression::getStartLineNumber

pub fn getStartLineNumber(self: TypeAssertionExpression) -> int;