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