ImportClause

/**
* An import clause.
*/

Inherit from Node

Primary key: id: int

schema ImportClause extends Node {
  @primary id: int
}

ImportClause::getEnclosingFunction

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

ImportClause::getADescendant

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

ImportClause::getRoot

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

ImportClause::getAnAncestor

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

ImportClause::getChild

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

ImportClause::getChildCount

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

ImportClause::getAChild

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

ImportClause::getStartColumnNumber

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

ImportClause::getStartLineNumber

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

ImportClause::getEndLineNumber

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

ImportClause::getATrailingComment

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

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

ImportClause::getALeadingComment

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

ImportClause::getFile

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

ImportClause::__all__

Data constraint method.

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

ImportClause::getLocation

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

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

ImportClause::getModifier

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

ImportClause::getText

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

ImportClause::getDecorator

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

ImportClause::getAComment

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

ImportClause::getADecorator

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

ImportClause::getAModifier

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

ImportClause::getKind

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

ImportClause::getParent

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

ImportClause::getEndColumnNumber

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

ImportClause::getLastChild

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

ImportClause::getRelativePath

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

ImportClause::getParentOid

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

ImportClause::getIndex

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

ImportClause::getAnAncestorEnclosingFunction

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

ImportClause::getSymbol

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