ImportKeyword

/**
* An `import` keyword.
*/

Inherit from Token

Primary key: id: int

schema ImportKeyword extends Token {
  @primary id: int
}

ImportKeyword::getSymbol

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

ImportKeyword::getAnAncestorEnclosingFunction

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

ImportKeyword::getIndex

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

ImportKeyword::getParentOid

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

ImportKeyword::getRelativePath

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

ImportKeyword::getLastChild

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

ImportKeyword::getEndColumnNumber

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

ImportKeyword::getParent

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

ImportKeyword::getChildCount

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

ImportKeyword::getDecorator

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

ImportKeyword::getEndLineNumber

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

ImportKeyword::getATrailingComment

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

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

ImportKeyword::getChild

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

ImportKeyword::getRoot

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

ImportKeyword::getAChild

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

ImportKeyword::getStartColumnNumber

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

ImportKeyword::getStartLineNumber

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

ImportKeyword::__all__

Data constraint method.

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

ImportKeyword::getLocation

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

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

ImportKeyword::getKind

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

ImportKeyword::getAModifier

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

ImportKeyword::getAnAncestor

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

ImportKeyword::getEnclosingFunction

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

ImportKeyword::getADescendant

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

ImportKeyword::getALeadingComment

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

ImportKeyword::getFile

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

ImportKeyword::getModifier

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

ImportKeyword::getText

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

ImportKeyword::getAComment

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

ImportKeyword::getADecorator

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