ImportDeclaration

/**
* An import declaration.
*/

Inherit from DeclarationStatement

Primary key: id: int

schema ImportDeclaration extends DeclarationStatement {
  @primary id: int
}

ImportDeclaration::getADecorator

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

ImportDeclaration::getAComment

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

ImportDeclaration::getText

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

ImportDeclaration::getModifier

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

ImportDeclaration::getFile

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

ImportDeclaration::getALeadingComment

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

ImportDeclaration::getADescendant

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

ImportDeclaration::getEnclosingFunction

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

ImportDeclaration::getAnAncestor

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

ImportDeclaration::getDecorator

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

ImportDeclaration::getChildCount

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

ImportDeclaration::getEndColumnNumber

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

ImportDeclaration::getParent

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

ImportDeclaration::getLastChild

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

ImportDeclaration::getIndex

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

ImportDeclaration::__all__

Data constraint method.

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

ImportDeclaration::getLocation

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

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

ImportDeclaration::getRelativePath

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

ImportDeclaration::getAnAncestorEnclosingFunction

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

ImportDeclaration::getSymbol

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

ImportDeclaration::getRoot

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

ImportDeclaration::getParentOid

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

ImportDeclaration::getEndLineNumber

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

ImportDeclaration::getATrailingComment

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

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

ImportDeclaration::getChild

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

ImportDeclaration::getAChild

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

ImportDeclaration::getStartColumnNumber

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

ImportDeclaration::getStartLineNumber

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

ImportDeclaration::getAModifier

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

ImportDeclaration::getKind

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