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