TemplateMiddle

/**
* A template middle.
*/

Inherit from TemplateLiteralLikeNode

Primary key: id: int

schema TemplateMiddle extends TemplateLiteralLikeNode {
  @primary id: int
}

TemplateMiddle::getIndex

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

TemplateMiddle::getParentOid

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

TemplateMiddle::getRelativePath

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

TemplateMiddle::getLastChild

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

TemplateMiddle::getEndColumnNumber

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

TemplateMiddle::getParent

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

TemplateMiddle::getKind

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

TemplateMiddle::getAModifier

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

TemplateMiddle::getStartLineNumber

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

TemplateMiddle::getDecorator

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

TemplateMiddle::getRoot

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

TemplateMiddle::getChildCount

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

TemplateMiddle::getSymbol

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

TemplateMiddle::getAnAncestorEnclosingFunction

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

TemplateMiddle::getAChild

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

TemplateMiddle::getStartColumnNumber

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

TemplateMiddle::__all__

Data constraint method.

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

TemplateMiddle::getLocation

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

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

TemplateMiddle::getEnclosingFunction

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

TemplateMiddle::getADescendant

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

TemplateMiddle::getEndLineNumber

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

TemplateMiddle::getATrailingComment

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

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

TemplateMiddle::getChild

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

TemplateMiddle::getALeadingComment

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

TemplateMiddle::getFile

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

TemplateMiddle::getValue

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

TemplateMiddle::getAnAncestor

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

TemplateMiddle::getText

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

TemplateMiddle::getModifier

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

TemplateMiddle::getAComment

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

TemplateMiddle::getADecorator

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