ImportSpecifier

/**
* An import specifier.
*/

Inherit from Node

Primary key: id: int

schema ImportSpecifier extends Node {
  @primary id: int
}

ImportSpecifier::getEnclosingFunction

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

ImportSpecifier::getADescendant

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

ImportSpecifier::getRoot

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

ImportSpecifier::getAnAncestor

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

ImportSpecifier::getChild

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

ImportSpecifier::getChildCount

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

ImportSpecifier::getAChild

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

ImportSpecifier::getStartColumnNumber

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

ImportSpecifier::getStartLineNumber

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

ImportSpecifier::getEndLineNumber

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

ImportSpecifier::getATrailingComment

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

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

ImportSpecifier::getALeadingComment

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

ImportSpecifier::getFile

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

ImportSpecifier::__all__

Data constraint method.

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

ImportSpecifier::getLocation

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

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

ImportSpecifier::getModifier

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

ImportSpecifier::getText

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

ImportSpecifier::getDecorator

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

ImportSpecifier::getAComment

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

ImportSpecifier::getADecorator

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

ImportSpecifier::getAModifier

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

ImportSpecifier::getKind

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

ImportSpecifier::getParent

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

ImportSpecifier::getEndColumnNumber

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

ImportSpecifier::getLastChild

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

ImportSpecifier::getRelativePath

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

ImportSpecifier::getParentOid

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

ImportSpecifier::getIndex

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

ImportSpecifier::getAnAncestorEnclosingFunction

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

ImportSpecifier::getSymbol

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