TypeReferenceNode

/**
* A type reference node.
*/

Inherit from NodeWithTypeArguments

Primary key: id: int

schema TypeReferenceNode extends NodeWithTypeArguments {
  @primary id: int
}

TypeReferenceNode::getADecorator

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

TypeReferenceNode::getAComment

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

TypeReferenceNode::getText

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

TypeReferenceNode::getModifier

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

TypeReferenceNode::getFile

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

TypeReferenceNode::getALeadingComment

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

TypeReferenceNode::getADescendant

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

TypeReferenceNode::getEnclosingFunction

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

TypeReferenceNode::getAnAncestor

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

TypeReferenceNode::getEndColumnNumber

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

TypeReferenceNode::getParent

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

TypeReferenceNode::getLastChild

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

TypeReferenceNode::getRelativePath

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

TypeReferenceNode::getParentOid

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

TypeReferenceNode::getRoot

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

TypeReferenceNode::getChildCount

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

TypeReferenceNode::getDecorator

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

TypeReferenceNode::__all__

Data constraint method.

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

TypeReferenceNode::getLocation

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

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

TypeReferenceNode::getSymbol

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

TypeReferenceNode::getAnAncestorEnclosingFunction

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

TypeReferenceNode::getIndex

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

TypeReferenceNode::getEndLineNumber

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

TypeReferenceNode::getTypeName

pub fn getTypeName(self: TypeReferenceNode) -> Node;

TypeReferenceNode::getATrailingComment

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

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

TypeReferenceNode::getChild

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

TypeReferenceNode::getAChild

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

TypeReferenceNode::getStartColumnNumber

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

TypeReferenceNode::getStartLineNumber

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

TypeReferenceNode::getAModifier

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

TypeReferenceNode::getKind

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