DataFlowNode

Inherit from Node

Primary key: id: int

schema DataFlowNode extends Node {
  @primary id: int
}

DataFlowNode::getEnclosingFunction

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

DataFlowNode::getADescendant

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

DataFlowNode::getRoot

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

DataFlowNode::getAnAncestor

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

DataFlowNode::getChild

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

DataFlowNode::getChildCount

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

DataFlowNode::getAChild

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

DataFlowNode::getStartColumnNumber

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

DataFlowNode::getAnAncestorEnclosingFunction

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

DataFlowNode::getSymbol

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

DataFlowNode::getIndex

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

DataFlowNode::getEndLineNumber

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

DataFlowNode::getATrailingComment

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

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

DataFlowNode::getAPredecessor

pub fn getAPredecessor(self: DataFlowNode) -> *DataFlowNode;

DataFlowNode::getText

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

DataFlowNode::getModifier

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

DataFlowNode::getALeadingComment

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

DataFlowNode::getFile

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

DataFlowNode::getLocation

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

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

DataFlowNode::__all__

Data constraint method.

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

DataFlowNode::getASuccessor

pub fn getASuccessor(self: DataFlowNode) -> *DataFlowNode;

DataFlowNode::getAModifier

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

DataFlowNode::getKind

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

DataFlowNode::getAComment

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

DataFlowNode::getADecorator

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

DataFlowNode::getDecorator

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

DataFlowNode::getStartLineNumber

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

DataFlowNode::getParent

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

DataFlowNode::getEndColumnNumber

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

DataFlowNode::getLastChild

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

DataFlowNode::getRelativePath

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

DataFlowNode::getParentOid

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