RestTypeNode

/**
* A rest type node.
*/

Inherit from TypeNode

Primary key: id: int

schema RestTypeNode extends TypeNode {
  @primary id: int
}

RestTypeNode::getSymbol

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

RestTypeNode::getAnAncestorEnclosingFunction

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

RestTypeNode::getIndex

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

RestTypeNode::getParentOid

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

RestTypeNode::getRelativePath

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

RestTypeNode::getLastChild

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

RestTypeNode::getEndColumnNumber

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

RestTypeNode::getParent

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

RestTypeNode::getChildCount

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

RestTypeNode::getDecorator

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

RestTypeNode::getEndLineNumber

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

RestTypeNode::getATrailingComment

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

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

RestTypeNode::getChild

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

RestTypeNode::getRoot

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

RestTypeNode::getAChild

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

RestTypeNode::getStartColumnNumber

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

RestTypeNode::getStartLineNumber

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

RestTypeNode::__all__

Data constraint method.

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

RestTypeNode::getLocation

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

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

RestTypeNode::getKind

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

RestTypeNode::getAModifier

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

RestTypeNode::getAnAncestor

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

RestTypeNode::getEnclosingFunction

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

RestTypeNode::getADescendant

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

RestTypeNode::getALeadingComment

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

RestTypeNode::getFile

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

RestTypeNode::getModifier

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

RestTypeNode::getText

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

RestTypeNode::getAComment

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

RestTypeNode::getADecorator

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