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