ShiftOperator

/**
* A shift operator `<<`, `>>` or `>>>`.
*/

Inherit from Token

Primary key: id: int

schema ShiftOperator extends Token {
  @primary id: int
}

ShiftOperator::getSymbol

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

ShiftOperator::getAnAncestorEnclosingFunction

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

ShiftOperator::getIndex

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

ShiftOperator::getParentOid

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

ShiftOperator::getRelativePath

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

ShiftOperator::getLastChild

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

ShiftOperator::getEndColumnNumber

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

ShiftOperator::getParent

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

ShiftOperator::getChildCount

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

ShiftOperator::getDecorator

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

ShiftOperator::getEndLineNumber

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

ShiftOperator::getATrailingComment

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

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

ShiftOperator::getChild

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

ShiftOperator::getRoot

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

ShiftOperator::getAChild

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

ShiftOperator::getStartColumnNumber

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

ShiftOperator::getStartLineNumber

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

ShiftOperator::__all__

Data constraint method.

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

ShiftOperator::getLocation

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

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

ShiftOperator::getKind

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

ShiftOperator::getAModifier

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

ShiftOperator::getAnAncestor

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

ShiftOperator::getEnclosingFunction

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

ShiftOperator::getADescendant

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

ShiftOperator::getALeadingComment

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

ShiftOperator::getFile

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

ShiftOperator::getModifier

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

ShiftOperator::getText

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

ShiftOperator::getAComment

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

ShiftOperator::getADecorator

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