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