HeritageClause

/**
* A heritage clause.
*/

Inherit from Node

Primary key: id: int

schema HeritageClause extends Node {
  @primary id: int
}

HeritageClause::getEnclosingFunction

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

HeritageClause::getADescendant

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

HeritageClause::getRoot

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

HeritageClause::getAnAncestor

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

HeritageClause::getChild

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

HeritageClause::getChildCount

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

HeritageClause::getAChild

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

HeritageClause::getStartColumnNumber

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

HeritageClause::getAnAncestorEnclosingFunction

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

HeritageClause::getSymbol

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

HeritageClause::getIndex

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

HeritageClause::getParentOid

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

HeritageClause::getATrailingComment

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

HeritageClause::getEndLineNumber

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

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

HeritageClause::getToken

pub fn getToken(self: HeritageClause) -> HeritageToken;

HeritageClause::getALeadingComment

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

HeritageClause::getFile

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

HeritageClause::getAComment

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

HeritageClause::getADecorator

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

HeritageClause::getDecorator

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

HeritageClause::getType

pub fn getType(self: HeritageClause, i: int) -> ExpressionWithTypeArguments;

HeritageClause::getText

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

HeritageClause::__all__

Data constraint method.

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

HeritageClause::getLocation

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

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

HeritageClause::getAType

pub fn getAType(self: HeritageClause) -> *ExpressionWithTypeArguments;

HeritageClause::getStartLineNumber

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

HeritageClause::getModifier

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

HeritageClause::getAModifier

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

HeritageClause::getKind

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

HeritageClause::getParent

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

HeritageClause::getEndColumnNumber

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

HeritageClause::getLastChild

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

HeritageClause::getRelativePath

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