TemplateTail

/**
* A template tail.
*/

Inherit from TemplateLiteralLikeNode

Primary key: id: int

schema TemplateTail extends TemplateLiteralLikeNode {
  @primary id: int
}

TemplateTail::getIndex

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

TemplateTail::getParentOid

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

TemplateTail::getRelativePath

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

TemplateTail::getLastChild

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

TemplateTail::getEndColumnNumber

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

TemplateTail::getParent

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

TemplateTail::getKind

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

TemplateTail::getAModifier

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

TemplateTail::getStartLineNumber

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

TemplateTail::getDecorator

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

TemplateTail::getRoot

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

TemplateTail::getChildCount

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

TemplateTail::getSymbol

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

TemplateTail::getAnAncestorEnclosingFunction

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

TemplateTail::getAChild

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

TemplateTail::getStartColumnNumber

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

TemplateTail::__all__

Data constraint method.

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

TemplateTail::getLocation

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

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

TemplateTail::getEnclosingFunction

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

TemplateTail::getADescendant

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

TemplateTail::getEndLineNumber

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

TemplateTail::getATrailingComment

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

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

TemplateTail::getChild

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

TemplateTail::getALeadingComment

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

TemplateTail::getFile

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

TemplateTail::getValue

/**
* Gets the value of this literal-like node, as a string.
*/
pub fn getValue(self: TemplateTail) -> string;

TemplateTail::getAnAncestor

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

TemplateTail::getText

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

TemplateTail::getModifier

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

TemplateTail::getAComment

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

TemplateTail::getADecorator

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