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