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