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