NamedImports

/**
* A named imports.
*/

Inherit from Node

Primary key: id: int

schema NamedImports extends Node {
  @primary id: int
}

NamedImports::getEnclosingFunction

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

NamedImports::getADescendant

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

NamedImports::getRoot

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

NamedImports::getAnAncestor

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

NamedImports::getChild

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

NamedImports::getChildCount

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

NamedImports::getAChild

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

NamedImports::getStartColumnNumber

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

NamedImports::getStartLineNumber

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

NamedImports::getEndLineNumber

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

NamedImports::getATrailingComment

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

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

NamedImports::getALeadingComment

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

NamedImports::getFile

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

NamedImports::__all__

Data constraint method.

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

NamedImports::getLocation

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

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

NamedImports::getModifier

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

NamedImports::getText

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

NamedImports::getDecorator

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

NamedImports::getAComment

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

NamedImports::getADecorator

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

NamedImports::getAModifier

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

NamedImports::getKind

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

NamedImports::getParent

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

NamedImports::getEndColumnNumber

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

NamedImports::getLastChild

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

NamedImports::getRelativePath

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

NamedImports::getParentOid

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

NamedImports::getIndex

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

NamedImports::getAnAncestorEnclosingFunction

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

NamedImports::getSymbol

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