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.
*/
pub fn getSymbol(self: ConditionalTypeNode) -> Symbol;

ConditionalTypeNode::getAnAncestorEnclosingFunction

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

ConditionalTypeNode::getIndex

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

ConditionalTypeNode::getParentOid

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

ConditionalTypeNode::getRelativePath

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

ConditionalTypeNode::getLastChild

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

ConditionalTypeNode::getEndColumnNumber

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

ConditionalTypeNode::getParent

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

ConditionalTypeNode::getKind

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

ConditionalTypeNode::getAModifier

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

ConditionalTypeNode::getADecorator

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

ConditionalTypeNode::getAComment

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

ConditionalTypeNode::getDecorator

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

ConditionalTypeNode::getChild

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

ConditionalTypeNode::getCheckType

pub fn getCheckType(self: ConditionalTypeNode) -> TypeNode;

ConditionalTypeNode::getRoot

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

ConditionalTypeNode::getEnclosingFunction

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

ConditionalTypeNode::getADescendant

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

ConditionalTypeNode::getAnAncestor

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

ConditionalTypeNode::getThenType

pub fn getThenType(self: ConditionalTypeNode) -> TypeNode;

ConditionalTypeNode::getChildCount

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

ConditionalTypeNode::__all__

Data constraint method.

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

ConditionalTypeNode::getLocation

/**
* Gets the location of this node.
*/
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.
*/
pub fn getADescendantByLevel(self: ConditionalTypeNode, level: int) -> *Node;

ConditionalTypeNode::getExtendsType

pub fn getExtendsType(self: ConditionalTypeNode) -> TypeNode;

ConditionalTypeNode::getModifier

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

ConditionalTypeNode::getElseType

pub fn getElseType(self: ConditionalTypeNode) -> TypeNode;

ConditionalTypeNode::getAChild

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

ConditionalTypeNode::getStartColumnNumber

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

ConditionalTypeNode::getStartLineNumber

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

ConditionalTypeNode::getEndLineNumber

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

ConditionalTypeNode::getATrailingComment

/**
* Gets the trailing comments of it
*/
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.
*/
pub fn getAnAncestorByLevel(self: ConditionalTypeNode, level: int) -> Node;

ConditionalTypeNode::getALeadingComment

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

ConditionalTypeNode::getFile

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

ConditionalTypeNode::getText

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