InferTypeNode

/**
* A infer type node.
*/

Inherit from TypeNode

Primary key: id: int

schema InferTypeNode extends TypeNode {
  @primary id: int
}

InferTypeNode::getSymbol

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

InferTypeNode::getAnAncestorEnclosingFunction

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

InferTypeNode::getIndex

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

InferTypeNode::getParentOid

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

InferTypeNode::getRelativePath

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

InferTypeNode::getLastChild

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

InferTypeNode::getEndColumnNumber

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

InferTypeNode::getParent

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

InferTypeNode::getChildCount

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

InferTypeNode::getDecorator

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

InferTypeNode::getEndLineNumber

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

InferTypeNode::getATrailingComment

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

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

InferTypeNode::getChild

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

InferTypeNode::getRoot

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

InferTypeNode::getAChild

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

InferTypeNode::getStartColumnNumber

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

InferTypeNode::getStartLineNumber

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

InferTypeNode::__all__

Data constraint method.

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

InferTypeNode::getLocation

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

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

InferTypeNode::getKind

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

InferTypeNode::getAModifier

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

InferTypeNode::getAnAncestor

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

InferTypeNode::getEnclosingFunction

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

InferTypeNode::getADescendant

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

InferTypeNode::getALeadingComment

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

InferTypeNode::getFile

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

InferTypeNode::getModifier

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

InferTypeNode::getText

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

InferTypeNode::getAComment

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

InferTypeNode::getADecorator

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