TypeOperatorNode

/**
* A type operator node.
*/

Inherit from TypeNode

Primary key: id: int

schema TypeOperatorNode extends TypeNode {
  @primary id: int
}

TypeOperatorNode::getSymbol

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

TypeOperatorNode::getAnAncestorEnclosingFunction

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

TypeOperatorNode::getIndex

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

TypeOperatorNode::getParentOid

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

TypeOperatorNode::getRelativePath

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

TypeOperatorNode::getLastChild

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

TypeOperatorNode::getEndColumnNumber

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

TypeOperatorNode::getParent

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

TypeOperatorNode::getKind

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

TypeOperatorNode::getAModifier

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

TypeOperatorNode::getChildCount

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

TypeOperatorNode::getDecorator

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

TypeOperatorNode::getChild

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

TypeOperatorNode::getRoot

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

TypeOperatorNode::getAnAncestor

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

TypeOperatorNode::getOperator

pub fn getOperator(self: TypeOperatorNode) -> KeywordToken;

TypeOperatorNode::getAChild

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

TypeOperatorNode::getStartColumnNumber

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

TypeOperatorNode::getStartLineNumber

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

TypeOperatorNode::__all__

Data constraint method.

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

TypeOperatorNode::getLocation

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

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

TypeOperatorNode::getType

pub fn getType(self: TypeOperatorNode) -> TypeNode;

TypeOperatorNode::getText

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

TypeOperatorNode::getEnclosingFunction

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

TypeOperatorNode::getADescendant

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

TypeOperatorNode::getEndLineNumber

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

TypeOperatorNode::getATrailingComment

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

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

TypeOperatorNode::getALeadingComment

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

TypeOperatorNode::getFile

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

TypeOperatorNode::getADecorator

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

TypeOperatorNode::getAComment

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

TypeOperatorNode::getModifier

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