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 */
- Parameter
self
:ImportSpecifier
- Return
FunctionLikeDeclaration
pub fn getEnclosingFunction(self: ImportSpecifier) -> FunctionLikeDeclaration;
ImportSpecifier::getADescendant
/** * Gets a descendant of this node. */
- Parameter
self
:ImportSpecifier
- Return
*Node
pub fn getADescendant(self: ImportSpecifier) -> *Node;
ImportSpecifier::getRoot
/** * Gets the root top-level of this node. */
- Parameter
self
:ImportSpecifier
- Return
TopLevelDO
pub fn getRoot(self: ImportSpecifier) -> TopLevelDO;
ImportSpecifier::getAnAncestor
/** * Gets an ancestor of this node. */
- Parameter
self
:ImportSpecifier
- Return
*Node
pub fn getAnAncestor(self: ImportSpecifier) -> *Node;
ImportSpecifier::getChild
/** * Gets the `i`th child of this node. */
- Parameter
self
:ImportSpecifier
- Parameter
i
:int
- Return
Node
pub fn getChild(self: ImportSpecifier, i: int) -> Node;
ImportSpecifier::getChildCount
/** * Gets the number of child nodes. */
- Parameter
self
:ImportSpecifier
- Return
int
pub fn getChildCount(self: ImportSpecifier) -> int;
ImportSpecifier::getAChild
/** * Gets a child node of this node. */
- Parameter
self
:ImportSpecifier
- Return
*Node
pub fn getAChild(self: ImportSpecifier) -> *Node;
ImportSpecifier::getStartColumnNumber
- Parameter
self
:ImportSpecifier
- Return
int
pub fn getStartColumnNumber(self: ImportSpecifier) -> int;
ImportSpecifier::getStartLineNumber
- Parameter
self
:ImportSpecifier
- Return
int
pub fn getStartLineNumber(self: ImportSpecifier) -> int;
ImportSpecifier::getEndLineNumber
- Parameter
self
:ImportSpecifier
- Return
int
pub fn getEndLineNumber(self: ImportSpecifier) -> int;
ImportSpecifier::getATrailingComment
/** * Gets the trailing comments of it */
- Parameter
self
:ImportSpecifier
- Return
*Comment
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. */
- Parameter
self
:ImportSpecifier
- Parameter
level
:int
- Return
Node
pub fn getAnAncestorByLevel(self: ImportSpecifier, level: int) -> Node;
ImportSpecifier::getALeadingComment
/** * Gets the leading comments of it */
- Parameter
self
:ImportSpecifier
- Return
*Comment
pub fn getALeadingComment(self: ImportSpecifier) -> *Comment;
ImportSpecifier::getFile
/** * Gets the file of this node. */
- Parameter
self
:ImportSpecifier
- Return
File
pub fn getFile(self: ImportSpecifier) -> File;
ImportSpecifier::__all__
Data constraint method.
- Parameter
db
:JavascriptDB
- Return
*ImportSpecifier
pub fn __all__(db: JavascriptDB) -> *ImportSpecifier;
ImportSpecifier::getLocation
/** * Gets the location of this node. */
- Parameter
self
:ImportSpecifier
- Return
Location
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. */
- Parameter
self
:ImportSpecifier
- Parameter
level
:int
- Return
*Node
pub fn getADescendantByLevel(self: ImportSpecifier, level: int) -> *Node;
ImportSpecifier::getModifier
/** * Gets the `i`th modifier. */
- Parameter
self
:ImportSpecifier
- Parameter
i
:int
- Return
Modifier
pub fn getModifier(self: ImportSpecifier, i: int) -> Modifier;
ImportSpecifier::getText
/** * Gets the text of this node. */
- Parameter
self
:ImportSpecifier
- Return
string
pub fn getText(self: ImportSpecifier) -> string;
ImportSpecifier::getDecorator
/** * Gets the `i`th decorator. */
- Parameter
self
:ImportSpecifier
- Parameter
i
:int
- Return
Decorator
pub fn getDecorator(self: ImportSpecifier, i: int) -> Decorator;
ImportSpecifier::getAComment
/** * Gets the comments related to it */
- Parameter
self
:ImportSpecifier
- Return
*Comment
pub fn getAComment(self: ImportSpecifier) -> *Comment;
ImportSpecifier::getADecorator
/** * Gets a decorator. */
- Parameter
self
:ImportSpecifier
- Return
*Decorator
pub fn getADecorator(self: ImportSpecifier) -> *Decorator;
ImportSpecifier::getAModifier
/** * Gets a modifier. */
- Parameter
self
:ImportSpecifier
- Return
*Modifier
pub fn getAModifier(self: ImportSpecifier) -> *Modifier;
ImportSpecifier::getKind
/** * Get the syntax kind of this node */
- Parameter
self
:ImportSpecifier
- Return
int
pub fn getKind(self: ImportSpecifier) -> int;
ImportSpecifier::getParent
/** * Gets the parent node of this node. */
- Parameter
self
:ImportSpecifier
- Return
Node
pub fn getParent(self: ImportSpecifier) -> Node;
ImportSpecifier::getEndColumnNumber
- Parameter
self
:ImportSpecifier
- Return
int
pub fn getEndColumnNumber(self: ImportSpecifier) -> int;
ImportSpecifier::getLastChild
/** * Gets the last child of this node parent. */
- Parameter
self
:ImportSpecifier
- Return
Node
pub fn getLastChild(self: ImportSpecifier) -> Node;
ImportSpecifier::getRelativePath
/** * Gets the relative path of this node. */
- Parameter
self
:ImportSpecifier
- Return
string
pub fn getRelativePath(self: ImportSpecifier) -> string;
ImportSpecifier::getParentOid
/** * Gets the parent oid of this node. */
- Parameter
self
:ImportSpecifier
- Return
int
pub fn getParentOid(self: ImportSpecifier) -> int;
ImportSpecifier::getIndex
- Parameter
self
:ImportSpecifier
- Return
int
pub fn getIndex(self: ImportSpecifier) -> int;
ImportSpecifier::getAnAncestorEnclosingFunction
/** * Gets an ancestor enclosing function of it */
- Parameter
self
:ImportSpecifier
- Return
*FunctionLikeDeclaration
pub fn getAnAncestorEnclosingFunction(self: ImportSpecifier) -> *FunctionLikeDeclaration;
ImportSpecifier::getSymbol
/** * Gets the symbol associated with this node. */
- Parameter
self
:ImportSpecifier
- Return
Symbol
pub fn getSymbol(self: ImportSpecifier) -> Symbol;