TypeParameter

/**
* A type parameter.
*/

Inherit from Node

Primary key: id: int

schema TypeParameter extends Node {
  @primary id: int
}

TypeParameter::getEnclosingFunction

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

TypeParameter::getADescendant

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

TypeParameter::getRoot

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

TypeParameter::getAnAncestor

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

TypeParameter::getChild

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

TypeParameter::getChildCount

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

TypeParameter::getAChild

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

TypeParameter::getStartColumnNumber

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

TypeParameter::getStartLineNumber

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

TypeParameter::getEndLineNumber

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

TypeParameter::getATrailingComment

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

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

TypeParameter::getALeadingComment

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

TypeParameter::getFile

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

TypeParameter::__all__

Data constraint method.

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

TypeParameter::getLocation

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

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

TypeParameter::getModifier

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

TypeParameter::getText

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

TypeParameter::getDecorator

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

TypeParameter::getAComment

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

TypeParameter::getADecorator

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

TypeParameter::getAModifier

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

TypeParameter::getKind

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

TypeParameter::getParent

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

TypeParameter::getEndColumnNumber

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

TypeParameter::getLastChild

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

TypeParameter::getRelativePath

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

TypeParameter::getParentOid

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

TypeParameter::getIndex

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

TypeParameter::getAnAncestorEnclosingFunction

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

TypeParameter::getSymbol

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