TypeQueryNode

/**
* A type query node.
*/

Inherit from TypeNode

Primary key: id: int

schema TypeQueryNode extends TypeNode {
  @primary id: int
}

TypeQueryNode::getSymbol

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

TypeQueryNode::getAnAncestorEnclosingFunction

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

TypeQueryNode::getIndex

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

TypeQueryNode::getParentOid

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

TypeQueryNode::getRelativePath

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

TypeQueryNode::getLastChild

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

TypeQueryNode::getEndColumnNumber

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

TypeQueryNode::getParent

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

TypeQueryNode::getChildCount

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

TypeQueryNode::getDecorator

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

TypeQueryNode::getEndLineNumber

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

TypeQueryNode::getATrailingComment

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

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

TypeQueryNode::getChild

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

TypeQueryNode::getRoot

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

TypeQueryNode::getAChild

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

TypeQueryNode::getStartColumnNumber

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

TypeQueryNode::getStartLineNumber

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

TypeQueryNode::__all__

Data constraint method.

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

TypeQueryNode::getLocation

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

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

TypeQueryNode::getKind

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

TypeQueryNode::getAModifier

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

TypeQueryNode::getAnAncestor

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

TypeQueryNode::getEnclosingFunction

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

TypeQueryNode::getADescendant

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

TypeQueryNode::getALeadingComment

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

TypeQueryNode::getFile

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

TypeQueryNode::getModifier

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

TypeQueryNode::getText

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

TypeQueryNode::getAComment

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

TypeQueryNode::getADecorator

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