TypeAliasDeclaration

/**
* A type alias declaration.
*/

Inherit from DeclarationStatement

Primary key: id: int

schema TypeAliasDeclaration extends DeclarationStatement {
  @primary id: int
}

TypeAliasDeclaration::getADecorator

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

TypeAliasDeclaration::getAComment

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

TypeAliasDeclaration::getText

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

TypeAliasDeclaration::getModifier

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

TypeAliasDeclaration::getFile

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

TypeAliasDeclaration::getALeadingComment

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

TypeAliasDeclaration::getADescendant

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

TypeAliasDeclaration::getEnclosingFunction

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

TypeAliasDeclaration::getAnAncestor

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

TypeAliasDeclaration::getDecorator

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

TypeAliasDeclaration::getChildCount

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

TypeAliasDeclaration::getEndColumnNumber

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

TypeAliasDeclaration::getParent

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

TypeAliasDeclaration::getLastChild

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

TypeAliasDeclaration::getIndex

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

TypeAliasDeclaration::__all__

Data constraint method.

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

TypeAliasDeclaration::getLocation

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

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

TypeAliasDeclaration::getRelativePath

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

TypeAliasDeclaration::getAnAncestorEnclosingFunction

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

TypeAliasDeclaration::getSymbol

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

TypeAliasDeclaration::getRoot

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

TypeAliasDeclaration::getParentOid

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

TypeAliasDeclaration::getEndLineNumber

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

TypeAliasDeclaration::getATrailingComment

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

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

TypeAliasDeclaration::getChild

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

TypeAliasDeclaration::getAChild

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

TypeAliasDeclaration::getStartColumnNumber

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

TypeAliasDeclaration::getStartLineNumber

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

TypeAliasDeclaration::getAModifier

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

TypeAliasDeclaration::getKind

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